ASRock E350M1 - Xubuntu
Hardware info on main page.
Internal drives:
sda - 60 GB OCZ Agility 3 SSD - FreeBSD sdb - 60 GB OCZ Agility 3 SSD - Xubuntu sdb1 - 1 MB - bios_grub sdb2 - 30 GB - Xubuntu 14.04 LTS (standard) - default boot sdb3 - 4 GB - swap sdb4 - 12.6 GB - Xubuntu 11.10 sdb5 - 13.4 GB - Xubuntu 12.04 LTS (modified) sdc - 1 TB Samsung HN-M101MBB drive, used for scratch storage (connected via sata-to-usb adapter) Filesystem Size Used Avail Use% Mounted on /dev/sdc1 99G 8.1G 86G 9% /storage
old external hard drive sdc (20 GB, Hitachi IDE, connected via usb-to-IDE adapter)
sdc1 - Xubuntu 11.10
Work log
2018-05-18: sdb2 - lsblk info
tingo@kg-f4:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 55.9G 0 disk ├─sda1 8:1 0 64K 0 part ├─sda2 8:2 0 26G 0 part ├─sda3 8:3 0 4G 0 part └─sda4 8:4 0 25G 0 part sdb 8:16 0 55.9G 0 disk ├─sdb1 8:17 0 1M 0 part ├─sdb2 8:18 0 28G 0 part / ├─sdb3 8:19 0 3.7G 0 part [SWAP] ├─sdb4 8:20 0 11.7G 0 part └─sdb5 8:21 0 12.5G 0 part sdc 8:32 0 931.5G 0 disk ├─sdc1 8:33 0 100G 0 part /storage └─sdc2 8:34 0 150G 0 part
ok
2018-05-18: sdb2 - boot after replacing the PSU:
tingo@kg-core1$ ssh f4 tingo@kg-f4.kg4.no's password: Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-79-generic x86_64) * Documentation: https://help.ubuntu.com/ 371 packages can be updated. 313 updates are security updates. Last login: Fri May 18 22:41:44 2018 from kg-z30b.kg4.no
ok.
2017-03-17: sdb2 - remove some packages that are not needed:
tingo@kg-f4:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: firefox-locale-xh libntdb1 python-ntdb 0 upgraded, 0 newly installed, 3 to remove and 3 not upgraded. After this operation, 850 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 215132 files and directories currently installed.) Removing firefox-locale-xh (52.0+build2-0ubuntu0.14.04.1) ... Removing python-ntdb (1.0-2ubuntu1) ... Removing libntdb1:amd64 (1.0-2ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
ok.
2017-03-17: sdb2 - after the upgrade, the machine runs Xubuntu 14.04.5 LTS.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty tingo@kg-f4:~$ uname -a Linux kg-f4 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ok.
2017-03-17: sdb2 - upgrade packages. First I ran sudo apt-get update, then it is time for sudo apt-get upgrade.
tingo@kg-f4:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages were automatically installed and are no longer required: firefox-locale-xh libntdb1 python-ntdb Use 'apt-get autoremove' to remove them. The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded: accountsservice akonadi-backend-mysql akonadi-server apparmor apport apport-gtk apt apt-transport-https apt-utils avahi-autoipd avahi-daemon avahi-utils base-files bash-completion bind9-host binutils bsdutils coreutils cpp-4.8 cups cups-bsd cups-client cups-common cups-core-drivers cups-daemon cups-ppdc cups-server-common curl dbus dbus-x11 dh-apparmor dnsutils dosfstools dpkg dpkg-dev file-roller firefox firefox-globalmenu firefox-locale-en firefox-locale-es firefox-locale-fr firefox-locale-pt firefox-locale-xh firefox-locale-zh-hans fontconfig fontconfig-config fonts-opensymbol g++-4.8 gcc-4.8 gcc-4.8-base ghostscript ghostscript-x gimp gimp-data gir1.2-gdkpixbuf-2.0 gir1.2-gstreamer-1.0 gir1.2-gudev-1.0 gir1.2-javascriptcoregtk-3.0 gir1.2-soup-2.4 gir1.2-webkit-3.0 git git-man gnome-keyring gnupg gpgv grub-common grub-pc grub-pc-bin grub2-common gstreamer0.10-plugins-good gstreamer0.10-pulseaudio gstreamer1.0-plugins-good gstreamer1.0-pulseaudio gstreamer1.0-tools icoutils init-system-helpers initramfs-tools initramfs-tools-bin isc-dhcp-client isc-dhcp-common kdelibs-bin kdelibs5-data kdelibs5-plugins kdepimlibs-kio-plugins kdoctools klibc-utils kpartx kpartx-boot krb5-locales language-pack-en language-pack-en-base language-pack-es language-pack-es-base language-pack-fr language-pack-fr-base language-pack-gnome-en language-pack-gnome-en-base language-pack-gnome-es language-pack-gnome-es-base language-pack-gnome-fr language-pack-gnome-fr-base language-pack-gnome-pt language-pack-gnome-pt-base language-pack-gnome-xh language-pack-gnome-xh-base language-pack-gnome-zh-hans language-pack-gnome-zh-hans-base language-pack-pt language-pack-pt-base language-pack-xh language-pack-xh-base language-pack-zh-hans language-pack-zh-hans-base libaccountsservice0 libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4 libakonadi-socialutils4 libakonadiprotocolinternals1 libapparmor-perl libapparmor1 libapt-inst1.5 libapt-pkg4.12 libarchive13 libasan0 libatomic1 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-core7 libavahi-glib1 libavcodec54 libavformat54 libavutil52 libbind9-90 libblkid1 libc-bin libc-dev-bin libc6 libc6-dbg libc6-dev libcups2 libcupscgi1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls libdbus-1-3 libdns100 libdpkg-perl libdrm-amdgpu1 libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libebml4 libevent-2.0-5 libexpat1 libfontconfig1 libgc1c2 libgcc-4.8-dev libgcrypt11 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgfortran3 libgimp2.0 libgnutls-openssl27 libgnutls26 libgomp1 libgraphite2-3 libgs9 libgs9-common libgssapi-krb5-2 libgstreamer-plugins-good1.0-0 libgstreamer1.0-0 libgudev-1.0-0 libharfbuzz-icu0 libharfbuzz0b libhogweed2 libicu52 libidn11 libimobiledevice4 libisc95 libisccc90 libisccfg90 libitm1 libjavascriptcoregtk-1.0-0 libjavascriptcoregtk-3.0-0 libk5crypto3 libkabc4 libkalarmcal2 libkcal4 libkcalcore4 libkcalutils4 libkcmutils4 libkde3support4 libkdeclarative5 libkdecore5 libkdesu5 libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkfile4 libkholidays4 libkhtml5 libkidletime4 libkimap4 libkio5 libkjsapi4 libkjsembed4 libkldap4 libklibc libkmbox4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkparts4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkrb5-3 libkrb5support0 libkresources4 libkrosscore4 libktexteditor4 libkxmlrpcclient4 liblcms2-2 libldap-2.4-2 libldb1 liblwres90 libmailtransport4 libmatroska6 libmicroblog4 libmms0 libmount1 libmysqlclient18 libnepomuk4 libnepomukquery4a libnepomukutils4 libnettle4 libnl-3-200 libnl-genl-3-200 libnl-route-3-200 libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libnspr4 libnss3 libnss3-1d libnss3-nssdb libp11-kit-gnome-keyring libpam-gnome-keyring libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libpcre3 libpcrecpp0 libpcsclite1 libplasma3 libpoppler-glib8 libpoppler-qt4-4 libpoppler44 libpurple-bin libpurple0 libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3.4 libpython3.4-minimal libpython3.4-stdlib libquadmath0 libsmbclient libsnmp-base libsnmp30 libsolid4 libsoup-gnome2.4-1 libsoup2.4-1 libspectre1 libspice-server1 libssh2-1 libssl1.0.0 libstdc++-4.8-dev libstdc++6 libswscale2 libsystemd-daemon0 libsystemd-login0 libtalloc2 libtasn1-6 libtdb1 libtevent0 libthreadweaver4 libtiff5 libtsan0 libudev1 libupnp6 libuuid1 libvlc5 libvlccore7 libwbclient0 libwebkit2gtk-3.0-25 libwebkitgtk-1.0-0 libwebkitgtk-1.0-common libwebkitgtk-3.0-0 libwebkitgtk-3.0-common libwhoopsie0 libxerces-c3.1 libxml2 libxml2-utils libxpm4 libxrandr2 linux-firmware linux-libc-dev lsb-base lsb-release mount multiarch-support mysql-client-core-5.5 mysql-common mysql-server-core-5.5 network-manager network-manager-gnome ntpdate nvidia-common openssh-client openssh-server openssh-sftp-server openssl pidgin pidgin-data poppler-utils python-apport python-crypto python-imaging python-ldb python-libxml2 python-pil python-problem-report python-samba python-talloc python-tdb python2.7 python2.7-minimal python3-apport python3-crypto python3-distupgrade python3-problem-report python3-update-manager python3.4 python3.4-minimal samba-common samba-common-bin samba-libs sbsigntool simple-scan smbclient software-center sudo systemd-services tar tcpdump thunderbird thunderbird-globalmenu thunderbird-locale-en thunderbird-locale-en-us tvheadend tzdata ubiquity ubiquity-frontend-gtk ubiquity-frontend-kde ubiquity-ubuntu-artwork ubuntu-drivers-common ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk udev update-manager update-manager-core update-notifier update-notifier-common util-linux uuid-runtime vim-common vim-tiny vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-pulse wget whoopsie xscreensaver xscreensaver-data xscreensaver-gl xserver-xorg-video-intel xserver-xorg-video-openchrome 411 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 350 MB of archives. After this operation, 53.0 MB of additional disk space will be used. Do you want to continue? [Y/n] y [...]
ok.
2017-03-17: sdb2 - current status
tingo@kg-core1$ ssh f4 tingo@kg-f4.kg4.no's password: Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-79-generic x86_64) * Documentation: https://help.ubuntu.com/ 378 packages can be updated. 267 updates are security updates. Last login: Sat Jan 7 13:27:11 2017 from kg-core1.kg4.no
time to update a few things.
2016-08-25: uptime status:
tingo@kg-f4:~$ date;uptime Thu Aug 25 22:53:23 CEST 2016 22:53:23 up 166 days, 8:14, 2 users, load average: 0.31, 0.45, 0.45
ok.
2016-03-12: sdb2 - after a reboot the machine now runs Xubuntu 14.04.4 LTS. dmesg output: normal.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty with kernel 3.13 tingo@kg-f4:~$ uname -a Linux kg-f4 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
ok.
tingo@kg-f4:~$ date;swapon -s;df -h;uptime Sat Mar 12 13:54:47 CET 2016 Filename Type Size Used Priority /dev/sdb3 partition 3906244 0 -1 Filesystem Size Used Avail Use% Mounted on udev 3.7G 4.0K 3.7G 1% /dev tmpfs 761M 1.3M 760M 1% /run /dev/sdb2 28G 6.1G 20G 24% / none 4.0K 0 4.0K 0% /sys/fs/cgroup none 5.0M 0 5.0M 0% /run/lock none 3.8G 152K 3.8G 1% /run/shm none 100M 44K 100M 1% /run/user /dev/sdc1 99G 15G 79G 16% /storage 13:54:47 up 16 min, 4 users, load average: 0.00, 0.03, 0.08
everything looks normal. Now I have to enable third-party repositories.
2016-03-12: sdb2 - upgrade to a new release:
tingo@kg-f4:~$ do-release-upgrade Checking for a new Ubuntu release Get:1 Upgrade tool signature [198 B] Get:2 Upgrade tool [1,156 kB] Fetched 1,156 kB in 0s (0 B/s) authenticate 'trusty.tar.gz' against 'trusty.tar.gz.gpg' extracting 'trusty.tar.gz' [sudo] password for tingo: Reading cache Checking package manager Continue running under SSH? This session appears to be running under ssh. It is not recommended to perform a upgrade over ssh currently because in case of failure it is harder to recover. If you continue, an additional ssh daemon will be started at port '1022'. Do you want to continue? Continue [yN] y Starting additional sshd To make recovery in case of failure easier, an additional sshd will be started on port '1022'. If anything goes wrong with the running ssh you can still connect to the additional one. If you run a firewall, you may need to temporarily open this port. As this is potentially dangerous it's not done automatically. You can open the port with e.g.: 'iptables -I INPUT -p tcp --dport 1022 -j ACCEPT' To continue please press [ENTER] [...] Third party sources disabled Some third party entries in your sources.list were disabled. You can re-enable them after the upgrade with the 'software-properties' tool or your package manager. To continue please press [ENTER] [...] Do you want to start the upgrade? 10 installed packages are no longer supported by Canonical. You can still get support from the community. 26 packages are going to be removed. 480 new packages are going to be installed. 1555 packages are going to be upgraded. You have to download a total of 983 M. This download will take about 3 minutes with your connection. Installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled. Continue [yN] Details [d] Continue [yN] Details [d]y [...] Configuration file '/etc/dhcp/dhclient.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** dhclient.conf (Y/I/N/O/D/Z) [default=N] ? d [...] System upgrade is complete. Restart required To finish the upgrade, a restart is required. If you select 'y' the system will be restarted. Continue [yN] n
ok.
2016-03-12: sdb2 - Xubuntu 14.04.1 LTS is available:
tingo@kg-core1$ ssh f4 tingo@kg-f4.kg4.no's password: Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-70-generic x86_64) * Documentation: https://help.ubuntu.com/ 63 packages can be updated. 58 updates are security updates. New release '14.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Wed Mar 9 21:35:19 2016 from linux.local
ok
2016-01-27: sdb2 - after a reboot, still Xubuntu 12.04 LTS, and still the same kernel:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ok.
2016-01-27: sdb2 - run apt-get upgrade:
tingo@kg-f4:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic python-debian tvheadend The following packages will be upgraded: apport apport-gtk apt apt-transport-https apt-utils aptdaemon aptdaemon-data bind9-host binutils ca-certificates cmake cmake-data coreutils cpio cups cups-bsd cups-client cups-common cups-filters cups-ppdc curl dbus dbus-x11 dkms dnsmasq-base dnsutils dosfstools dpkg dpkg-dev e2fslibs e2fsprogs ecryptfs-utils file firefox firefox-globalmenu firefox-locale-en firefox-locale-es firefox-locale-fr firefox-locale-pt firefox-locale-zh-hans fonts-opensymbol foomatic-filters fuse ghostscript ghostscript-cups ghostscript-x gir1.2-gdkpixbuf-2.0 gir1.2-gtk-2.0 gir1.2-gudev-1.0 git git-man gnupg gparted gpgv grub-common grub-pc grub-pc-bin grub2-common gtk2-engines-pixbuf gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs hplip hplip-data isc-dhcp-client isc-dhcp-common jockey-common jockey-gtk kde-runtime kde-runtime-data krb5-locales libapt-inst1.4 libapt-pkg4.12 libarchive12 libavcodec53 libavformat53 libavutil51 libbind9-80 libbluray1 libc-bin libc-dev-bin libc6 libc6-dev libcomerr2 libcups2 libcupscgi1 libcupsdriver1 libcupsfilters1 libcupsimage2 libcupsmime1 libcupsppdc1 libcurl3 libcurl3-gnutls libdbus-1-3 libdns81 libdpkg-perl libecryptfs0 libelf1 libevent-2.0-5 libexpat1 libflac8 libfreetype6 libfuse2 libgail18 libgcrypt11 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgnutls26 libgs9 libgs9-common libgssapi-krb5-2 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgudev-1.0-0 libhpmud0 libicu48 libisc83 libisccc80 libisccfg82 libjasper1 libk5crypto3 libkrb5-3 libkrb5support0 libldap-2.4-2 liblightdm-gobject-1-0 liblwres80 libmagic1 libminiupnpc8 libmysqlclient18 libnepomukdatamanagement4 libnepomuksync4 libnm-gtk-common libnm-gtk0 libnspr4 libnss3 libnss3-1d libpcre3 libpcrecpp0 libpixman-1-0 libpng12-0 libpostproc52 libpython2.7 libsane-hpaio libsdl1.2debian libslp1 libsmbclient libsndfile1 libsnmp-base libsnmp15 libsqlite3-0 libss2 libssh-4 libssl1.0.0 libswscale2 libtasn1-3 libtidy-0.99-0 libtiff4 libudev0 libvdpau1 libvpx1 libwbclient0 libwmf0.2-7 libx11-data libx11-xcb1 libxfixes3 libxfont1 libxi6 libxml-libxml-perl libxml2 libxml2-utils libxp6 libxrandr2 libxrender1 libxv1 lightdm linux-libc-dev mime-support mountall multiarch-support mysql-client-core-5.5 mysql-common mysql-server-core-5.5 network-manager-gnome ntpdate openssh-client openssh-server openssl patch phonon-backend-gstreamer plasma-scriptengine-javascript ppp printer-driver-hpcups printer-driver-hpijs printer-driver-postscript-hp procps python-apport python-apt python-apt-common python-aptdaemon python-aptdaemon.gtk3widgets python-lazr.restfulclient python-libxml2 python-problem-report python2.7 python2.7-minimal rsync samba-common samba-common-bin smbclient sudo tcpdump thunderbird thunderbird-globalmenu thunderbird-locale-en thunderbird-locale-en-us tzdata udev unattended-upgrades unzip update-manager update-manager-core upstart usb-creator-common usb-creator-gtk wpasupplicant x11-utils xscreensaver xscreensaver-data xscreensaver-gl xserver-common xserver-xorg-core xserver-xorg-video-vmware xul-ext-ubufox 238 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. Need to get 239 MB of archives. After this operation, 34.2 MB of additional disk space will be used. Do you want to continue [Y/n]? [...] Removing 'diversion of /sbin/udevadm to /sbin/udevadm.upgrade by fake-udev' update-initramfs: deferring update (trigger activated) Setting up mountall (2.36.4ubuntu0.1) ... Installing new version of config file /etc/init/mounted-dev.conf ... Setting up xserver-xorg-core (2:1.11.4-0ubuntu10.17) ... Setting up xserver-xorg-video-vmware (1:12.0.1-1ubuntu1.2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-3.2.0-70-generic
only a reboot remains.
2016-01-27: sdb2 - still running Xubuntu 12.04 LTS:
tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
what happens if I update? I ran sudo apt-get update. List available updates:
tingo@kg-f4:~$ /usr/lib/update-notifier/apt-check -p libsmbclient xscreensaver-gl libdpkg-perl libkrb5-3 libk5crypto3 apt-transport-https openssh-server libswscale2 libgtk2.0-common dnsmasq-base libxfixes3 libecryptfs0 libc-bin python-debian libgail18 libavutil51 libldap-2.4-2 unattended-upgrades libcupsppdc1 tvheadend bind9-host libcupsimage2 procps gvfs-fuse libnss3 libsane-hpaio libcupscgi1 libgudev-1.0-0 libcomerr2 libsnmp15 libwmf0.2-7 network-manager-gnome libicu48 smbclient libcupsdriver1 thunderbird-locale-en-us libnepomuksync4 linux-image-3.2.0-97-generic x11-utils libbluray1 libx11-data libxml2-utils dnsutils libnm-gtk0 gvfs-backends fonts-opensymbol linux-headers-3.2.0-97 libdbus-1-3 unzip gparted libcupsfilters1 cmake-data xserver-xorg-core thunderbird libpython2.7 ghostscript-cups git-man xserver-common lightdm linux-generic foomatic-filters cups-client firefox-globalmenu printer-driver-postscript-hp gvfs-libs hplip libdns81 plasma-scriptengine-javascript dosfstools libwbclient0 libpcre3 python-apt xscreensaver-data libslp1 usb-creator-gtk libx11-xcb1 libgs9-common gvfs-bin libgnutls26 python-apt-common libxml-libxml-perl linux-headers-3.2.0-97-generic gvfs-common libapt-inst1.4 apport mysql-server-core-5.5 gir1.2-gtk-2.0 python2.7 libtasn1-3 libfreetype6 firefox-locale-zh-hans e2fsprogs ecryptfs-utils grub-pc libarchive12 liburiparser1 libmysqlclient18 libexpat1 libavcodec53 libisccc80 libfuse2 cups-ppdc apt-utils tcpdump libsnmp-base libpcrecpp0 update-manager update-manager-core libxfont1 samba-common libelf1 coreutils libgdk-pixbuf2.0-0 dbus udev python-aptdaemon apt firefox cmake kde-runtime-data cups-common xserver-xorg-video-vmware libpixman-1-0 libsdl1.2debian libhpmud0 libnm-gtk-common liblwres80 python-six libcups2 libcurl3 git libkrb5support0 openssh-client cpio sudo multiarch-support libnepomukdatamanagement4 mysql-client-core-5.5 dkms libvpx1 python-problem-report libgcrypt11 linux-headers-generic dpkg rsync aptdaemon libxml2 libminiupnpc8 libbind9-80 linux-image-generic cups libpostproc52 curl libapt-pkg4.12 file firefox-locale-en firefox-locale-es isc-dhcp-client libflac8 firefox-locale-fr ghostscript-x ppp libxrender1 libnspr4 firefox-locale-pt dpkg-dev xul-ext-ubufox wpasupplicant e2fslibs grub-pc-bin libgs9 libavformat53 gir1.2-gudev-1.0 cups-bsd libtiff4 mime-support libjasper1 libpng12-0 gir1.2-gdkpixbuf-2.0 phonon-backend-gstreamer libudev0 printer-driver-hpcups gtk2-engines-pixbuf jockey-common libisccfg82 usb-creator-common libc6-dev tzdata libvdpau1 ghostscript gpgv kde-runtime krb5-locales python2.7-minimal thunderbird-globalmenu jockey-gtk fuse ntpdate python-apport aptdaemon-data liblightdm-gobject-1-0 libevent-2.0-5 openssl libcurl3-gnutls libss2 gvfs python-aptdaemon.gtk3widgets linux-libc-dev patch samba-common-bin grub-common grub2-common libgtk2.0-bin upstart libgssapi-krb5-2 isc-dhcp-common dbus-x11 libxi6 libcupsmime1 libc-dev-bin libisc83 mountall libc6 xscreensaver libxp6 libssh-4 binutils libxv1 python-lazr.restfulclient apport-gtk mysql-common libxrandr2 cups-filters libnss3-1d ca-certificates libsndfile1 thunderbird-locale-en libsqlite3-0 libgtk2.0-0 libtidy-0.99-0 python-libxml2 libgdk-pixbuf2.0-common libmagic1 gvfs-daemons libssl1.0.0 printer-driver-hpijs gnupg
quite a long list.
2015-07-08: sdb2 - try to build Heimdall from source - try build - take 2:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ cmake -DCMAKE_BUILD_TYPE=Release .. -- Configuring done -- Generating done -- Build files have been written to: /storage/work2/samsung/Heimdall/build
now, the real build:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ make Scanning dependencies of target pit [ 3%] Building CXX object libpit/CMakeFiles/pit.dir/source/libpit.cpp.o cc1plus: error: unrecognized command line option ‘-std=gnu++11’ make[2]: *** [libpit/CMakeFiles/pit.dir/source/libpit.cpp.o] Error 1 make[1]: *** [libpit/CMakeFiles/pit.dir/all] Error 2 make: *** [all] Error 2
oops, no, too old Ubuntu possibly.
2015-07-08: sdb2 - now see if we can find the qt5-default package:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ apt-cache search qt5 libmgl-qt5 - library for scientific graphs. (Qt runtime library) qt5-qmake - Qt 5 qmake Makefile generator tool libqt5core5 - Qt 5 core module libqt5gui5 - Qt 5 GUI module libqt5network5 - Qt 5 network module libqt5opengl5 - Qt 5 OpenGL module libqt5sql5 - Qt 5 SQL module libqt5sql5-mysql - Qt 5 MySQL database driver libqt5sql5-odbc - Qt 5 ODBC database driver libqt5sql5-psql - Qt 5 PostgreSQL database driver libqt5sql5-sqlite - Qt 5 SQLite 3 database driver libqt5sql5-tds - Qt 5 FreeTDS database driver libqt5xml5 - Qt 5 XML module libqt5dbus5 - Qt 5 D-Bus module libqt5test5 - Qt 5 test module libqt5concurrent5 - Qt 5 concurrent module libqt5widgets5 - Qt 5 widgets module libqt5printsupport5 - Qt 5 print support module libqt5opengl5-dev - Qt 5 OpenGL library development files libqt5v8-5 - Qt 5 JavaScript backend module libqt5v8-5-dev - Qt 5 JavaScript backend development files libqt5v8-5-private-dev - Qt 5 JavaScript backend private development files libqt5xmlpatterns5 - Qt 5 XML patterns module libqt5xmlpatterns5-dev - Qt 5 XML patterns development files libqt5xmlpatterns5-private-dev - Qt 5 XML patterns private development files libqt5script5 - Qt 5 script module libqt5scripttools5 - Qt 5 script tools module qtmultimedia5-examples - Examples for Qt 5 Multimedia module libqt5qml5 - Qt 5 QML module libqt5quick5 - Qt 5 Quick library libqt5quickparticles5 - Qt 5 Quick particules module libqt5quicktest5 - Qt 5 Quick Test library libqt5webkit5-dev - Web content engine library for Qt - development files libqt5webkit5 - Web content engine library for Qt libqt5webkit5-qmlwebkitplugin - Qt WebKit QML plugin libqt5multimedia5 - Qt 5 Multimedia module libqt5multimediawidgets5 - Qt 5 Multimedia Widgets module libqt5svg5-dev - Qt 5 SVG module development files libqt5svg5-private-dev - Qt 5 SVG module private development files libqt5svg5 - Qt 5 SVG module libqt5clucene5 - Qt 5 CLucene module libqt5designer5 - Qt 5 designer module libqt5designercomponents5 - Qt 5 Designer components module libqt5help5 - Qt 5 help module qttools5-dev-tools - Qt 5 development tools qtchooser - Wrapper to select between Qt development binary versions qt5-default - Qt 5 development defaults package libqt5v8-5-dbg - Qt 5 JavaScript backend debugging symbols libqt5webkit5-dbg - Web content engine library for Qt - debugging symbols libqt5sensors5 - Qt Sensors module libqt53d5 - Qt 3D module libqt5contacts5 - Qt PIM module, Contacts library libqt5organizer5 - Qt PIM module, Organizer library libqt5versit5 - Qt PIM module, Versit library libqt5versitorganizer5 - Qt PIM module, Versit Organizer library libqt5graphicaleffects5 - Qt 5 Graphical Effects module - transitional package libqt5location5 - Qt Location module libqt5bluetooth5 - Qt Connectivity Bluetooth module libqt5declarative5 - Qt Quick 1 module for Qt 5 libqt5serviceframework5 - Qt Systems module - libqt5publishsubscribe5 - Qt Systems module - libqt5systeminfo5 - Qt Systems module - libqt5multimediaquick-p5 - Qt 5 Multimedia Quick module qtdeclarative5-qtaudioengine-plugin - Qt 5 AudioEngine QML plugin libqt5feedback5 - Qt Feedback module libu1db-qt5-dev - Qt5 binding and QtQuick2 plugin for U1DB - development files libdbusmenu-qt5 - Qt5 implementation of the DBusMenu protocol libdbusmenu-qt5-dev - Qt5 implementation of the DBusMenu protocol (development) libdbusmenu-qt5-doc - Qt5 implementation of the DBusMenu protocol (documentation) appmenu-qt5 - Application menu for Qt5 libu1db-qt5-examples - Qt5 binding and QtQuick2 plugin for U1DB - examples libu1db-qt5-doc - Qt5 binding and QtQuick2 plugin for U1DB - offline documentation libqt5multimedia5-plugins - Qt 5 Multimedia module plugins qdbus-qt5 - Qt 5 D-Bus tool libqt5qml-graphicaleffects - Qt 5 Graphical Effects module qt5-image-formats-plugins - Qt 5 Image Formats module libu1db-qt5-3 - Qt5 binding for U1DB - shared library qtdeclarative5-u1db1.0 - Qt5 binding for U1DB - QtQuick2 QML plugin libqt5nfc5 - Qt Connectivity NFC module libqt5location5-plugins - Qt Location module - position and geolocation plugins
hmm, ok, it's there, install it:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ sudo apt-get install qt5-default Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libglu1-mesa-dev libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqt5concurrent5 libqt5core5 libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libqtcore4 libqtgui4 libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-sync0 libxcb-xfixes0 qdbus qt5-qmake qtbase5-dev qtbase5-dev-tools qtchooser Suggested packages: libqt4-declarative-folderlistmodel libqt4-declarative-gestures libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer libqt4-dev qt4-qtconfig libmysqlclient-dev libpq-dev libsqlite3-dev unixodbc-dev qt4-default The following NEW packages will be installed: libglu1-mesa-dev libqt5concurrent5 libqt5core5 libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5opengl5-dev libqt5printsupport5 libqt5sql5 libqt5sql5-sqlite libqt5test5 libqt5widgets5 libqt5xml5 libxcb-icccm4 libxcb-image0 libxcb-render-util0 libxcb-sync0 libxcb-xfixes0 qt5-default qt5-qmake qtbase5-dev qtbase5-dev-tools qtchooser The following packages will be upgraded: libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtcore4 libqtgui4 qdbus 19 upgraded, 24 newly installed, 0 to remove and 189 not upgraded. Need to get 26.4 MB of archives. After this operation, 49.0 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-test amd64 4:4.8.1-0ubuntu5~precise1~test1 [60.3 kB] Get:2 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-sql-mysql amd64 4:4.8.1-0ubuntu5~precise1~test1 [29.9 kB] Get:3 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-sql-sqlite amd64 4:4.8.1-0ubuntu5~precise1~test1 [22.5 kB] Get:4 http://no.archive.ubuntu.com/ubuntu/ precise/main libxcb-icccm4 amd64 0.3.8-1build1 [10.5 kB] Get:5 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-qt3support amd64 4:4.8.1-0ubuntu5~precise1~test1 [1,021 kB] Get:6 http://no.archive.ubuntu.com/ubuntu/ precise/universe libxcb-image0 amd64 0.3.8-1build1 [12.1 kB] Get:7 http://no.archive.ubuntu.com/ubuntu/ precise/universe libxcb-render-util0 amd64 0.3.8-1 [9,494 B] Get:8 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-help amd64 4:4.8.1-0ubuntu5~precise1~test1 [200 kB] Get:9 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb-sync0 amd64 1.8.1-1ubuntu0.2 [8,356 B] Get:10 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb-xfixes0 amd64 1.8.1-1ubuntu0.2 [9,524 B] Get:11 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libglu1-mesa-dev amd64 8.0.4-0ubuntu0.7 [197 kB] Get:12 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-scripttools amd64 4:4.8.1-0ubuntu5~precise1~test1 [220 kB] Get:13 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-designer amd64 4:4.8.1-0ubuntu5~precise1~test1 [3,610 kB] Get:14 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-opengl amd64 4:4.8.1-0ubuntu5~precise1~test1 [293 kB] Get:15 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-svg amd64 4:4.8.1-0ubuntu5~precise1~test1 [137 kB] Get:16 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqtgui4 amd64 4:4.8.1-0ubuntu5~precise1~test1 [4,025 kB] Get:17 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-declarative amd64 4:4.8.1-0ubuntu5~precise1~test1 [1,063 kB] Get:18 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-sql amd64 4:4.8.1-0ubuntu5~precise1~test1 [97.0 kB] Get:19 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-xmlpatterns amd64 4:4.8.1-0ubuntu5~precise1~test1 [1,032 kB] Get:20 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qdbus amd64 4:4.8.1-0ubuntu5~precise1~test1 [28.7 kB] Get:21 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-script amd64 4:4.8.1-0ubuntu5~precise1~test1 [757 kB] Get:22 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-network amd64 4:4.8.1-0ubuntu5~precise1~test1 [535 kB] Get:23 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-dbus amd64 4:4.8.1-0ubuntu5~precise1~test1 [180 kB] Get:24 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt4-xml amd64 4:4.8.1-0ubuntu5~precise1~test1 [92.1 kB] Get:25 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqtcore4 amd64 4:4.8.1-0ubuntu5~precise1~test1 [2,026 kB] Get:26 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5core5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [1,575 kB] Get:27 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5concurrent5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [27.4 kB] Get:28 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5dbus5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [171 kB] Get:29 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5gui5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [1,614 kB] Get:30 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5network5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [503 kB] Get:31 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5widgets5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [2,189 kB] Get:32 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5opengl5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [144 kB] Get:33 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5printsupport5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [143 kB] Get:34 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5sql5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [104 kB] Get:35 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5test5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [74.1 kB] Get:36 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5xml5 amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [94.5 kB] Get:37 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qtchooser amd64 26-3ubuntu2~precise1~test2 [19.2 kB] Get:38 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qt5-qmake amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [1,215 kB] Get:39 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qtbase5-dev-tools amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [1,390 kB] Get:40 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qtbase5-dev amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [1,389 kB] Get:41 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5opengl5-dev amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [35.1 kB] Get:42 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main libqt5sql5-sqlite amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [36.1 kB] Get:43 http://ppa.launchpad.net/ubuntu-sdk-team/ppa/ubuntu/ precise/main qt5-default amd64 5.0.2+dfsg1-7ubuntu12~precise1~test4 [20.1 kB] Fetched 26.4 MB in 29s (884 kB/s) Extracting templates from packages: 100% (Reading database ... 311068 files and directories currently installed.) Preparing to replace libqt4-test 4:4.8.1-0ubuntu4.8 (using .../libqt4-test_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-test ... Preparing to replace libqt4-sql-mysql 4:4.8.1-0ubuntu4.8 (using .../libqt4-sql-mysql_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-sql-mysql ... Preparing to replace libqt4-sql-sqlite 4:4.8.1-0ubuntu4.8 (using .../libqt4-sql-sqlite_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-sql-sqlite ... Preparing to replace libqt4-qt3support 4:4.8.1-0ubuntu4.8 (using .../libqt4-qt3support_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-qt3support ... Preparing to replace libqt4-help 4:4.8.1-0ubuntu4.8 (using .../libqt4-help_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-help ... Preparing to replace libqt4-scripttools 4:4.8.1-0ubuntu4.8 (using .../libqt4-scripttools_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-scripttools ... Preparing to replace libqt4-designer 4:4.8.1-0ubuntu4.8 (using .../libqt4-designer_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-designer ... Preparing to replace libqt4-opengl 4:4.8.1-0ubuntu4.8 (using .../libqt4-opengl_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-opengl ... Preparing to replace libqt4-svg 4:4.8.1-0ubuntu4.8 (using .../libqt4-svg_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-svg ... Preparing to replace libqtgui4 4:4.8.1-0ubuntu4.8 (using .../libqtgui4_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqtgui4 ... Preparing to replace libqt4-declarative 4:4.8.1-0ubuntu4.8 (using .../libqt4-declarative_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-declarative ... Preparing to replace libqt4-sql 4:4.8.1-0ubuntu4.8 (using .../libqt4-sql_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-sql ... Preparing to replace libqt4-xmlpatterns 4:4.8.1-0ubuntu4.8 (using .../libqt4-xmlpatterns_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-xmlpatterns ... Preparing to replace qdbus 4:4.8.1-0ubuntu4.8 (using .../qdbus_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement qdbus ... Preparing to replace libqt4-script 4:4.8.1-0ubuntu4.8 (using .../libqt4-script_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-script ... Preparing to replace libqt4-network 4:4.8.1-0ubuntu4.8 (using .../libqt4-network_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-network ... Preparing to replace libqt4-dbus 4:4.8.1-0ubuntu4.8 (using .../libqt4-dbus_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-dbus ... Preparing to replace libqt4-xml 4:4.8.1-0ubuntu4.8 (using .../libqt4-xml_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqt4-xml ... Preparing to replace libqtcore4 4:4.8.1-0ubuntu4.8 (using .../libqtcore4_4%3a4.8.1-0ubuntu5~precise1~test1_amd64.deb) ... Unpacking replacement libqtcore4 ... Selecting previously unselected package libqt5core5. Unpacking libqt5core5 (from .../libqt5core5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5concurrent5. Unpacking libqt5concurrent5 (from .../libqt5concurrent5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5dbus5. Unpacking libqt5dbus5 (from .../libqt5dbus5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libxcb-icccm4. Unpacking libxcb-icccm4 (from .../libxcb-icccm4_0.3.8-1build1_amd64.deb) ... Selecting previously unselected package libxcb-image0. Unpacking libxcb-image0 (from .../libxcb-image0_0.3.8-1build1_amd64.deb) ... Selecting previously unselected package libxcb-render-util0. Unpacking libxcb-render-util0 (from .../libxcb-render-util0_0.3.8-1_amd64.deb) ... Selecting previously unselected package libxcb-sync0. Unpacking libxcb-sync0 (from .../libxcb-sync0_1.8.1-1ubuntu0.2_amd64.deb) ... Selecting previously unselected package libxcb-xfixes0. Unpacking libxcb-xfixes0 (from .../libxcb-xfixes0_1.8.1-1ubuntu0.2_amd64.deb) ... Selecting previously unselected package libqt5gui5. Unpacking libqt5gui5 (from .../libqt5gui5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5network5. Unpacking libqt5network5 (from .../libqt5network5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5widgets5. Unpacking libqt5widgets5 (from .../libqt5widgets5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5opengl5. Unpacking libqt5opengl5 (from .../libqt5opengl5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libglu1-mesa-dev. Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_8.0.4-0ubuntu0.7_amd64.deb) ... Selecting previously unselected package libqt5printsupport5. Unpacking libqt5printsupport5 (from .../libqt5printsupport5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5sql5. Unpacking libqt5sql5 (from .../libqt5sql5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5test5. Unpacking libqt5test5 (from .../libqt5test5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5xml5. Unpacking libqt5xml5 (from .../libqt5xml5_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package qtchooser. Unpacking qtchooser (from .../qtchooser_26-3ubuntu2~precise1~test2_amd64.deb) ... Selecting previously unselected package qt5-qmake. Unpacking qt5-qmake (from .../qt5-qmake_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package qtbase5-dev-tools. Unpacking qtbase5-dev-tools (from .../qtbase5-dev-tools_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package qtbase5-dev. Unpacking qtbase5-dev (from .../qtbase5-dev_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5opengl5-dev. Unpacking libqt5opengl5-dev (from .../libqt5opengl5-dev_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package libqt5sql5-sqlite. Unpacking libqt5sql5-sqlite (from .../libqt5sql5-sqlite_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Selecting previously unselected package qt5-default. Unpacking qt5-default (from .../qt5-default_5.0.2+dfsg1-7ubuntu12~precise1~test4_amd64.deb) ... Processing triggers for man-db ... Setting up libqtcore4 (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-test (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-sql (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-sql-mysql (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-sql-sqlite (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-xml (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-dbus (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-script (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-network (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-xmlpatterns (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up qdbus (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt5core5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5concurrent5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5dbus5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libxcb-icccm4 (0.3.8-1build1) ... Setting up libxcb-image0 (0.3.8-1build1) ... Setting up libxcb-render-util0 (0.3.8-1) ... Setting up libxcb-sync0 (1.8.1-1ubuntu0.2) ... Setting up libxcb-xfixes0 (1.8.1-1ubuntu0.2) ... Setting up libqt5gui5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5network5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5widgets5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5opengl5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libglu1-mesa-dev (8.0.4-0ubuntu0.7) ... Setting up libqt5printsupport5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5sql5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5test5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5xml5 (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up qtchooser (26-3ubuntu2~precise1~test2) ... Setting up qt5-qmake (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up qtbase5-dev-tools (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up qtbase5-dev (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5opengl5-dev (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqt5sql5-sqlite (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up qt5-default (5.0.2+dfsg1-7ubuntu12~precise1~test4) ... Setting up libqtgui4 (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-declarative (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-designer (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-qt3support (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-help (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-scripttools (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-opengl (4:4.8.1-0ubuntu5~precise1~test1) ... Setting up libqt4-svg (4:4.8.1-0ubuntu5~precise1~test1) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
lots of stuff installed.
2015-07-08: sdb2 - add qt5 repository and update:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ sudo apt-add-repository ppa:ubuntu-sdk-team/ppa You are about to add the following PPA to your system: Ubuntu SDK Release PPA for Ubuntu 14.04 LTS. Upgrade with: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt update && sudo apt dist-upgrade && sudo apt install ubuntu-sdk == Ubuntu 14.04 LTS == Ubuntu 14.04 LTS had Qt 5.x, Ubuntu UI Toolkit and SDK updates during its main development cycle. This PPA offers post-release SDK updates, including Qt Creator & Ubuntu plugins updates. The emulator included (or a mobile device attached to the computer) makes it possible to test apps in the very latest Ubuntu phone/tablet environment. == Earlier Ubuntu versions == Ubuntu 13.10 as a non-LTS release reached it's end of support in July 2014. Please upgrade to 14.04 LTS as soon as possible. Ubuntu 12.04 LTS has older versions of packages offered in this PPA, but the SDK support has moved to the new 14.04 LTS release. It's however usable for example for general Qt 5 usage. Upgrades from 12.04 LTS to 14.04 LTS started to be offered via Software Updates in August 2014. GENERAL NOTES ------------- 1. Qt4 and Qt5 developer tools are co-installable thanks to the qtchooser tool. See 'man qtchooser' for more information. 2. The packaging is done at Debian (http://anonscm.debian.org/gitweb/ (pkg-kde/qt)) and https://code.launchpad.net/~kubuntu-packagers (for Ubuntu specific changes). More info: https://launchpad.net/~ubuntu-sdk-team/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpiCozRW/secring.gpg' created gpg: keyring `/tmp/tmpiCozRW/pubring.gpg' created gpg: requesting key C7122F9B from hkp server keyserver.ubuntu.com gpg: /tmp/tmpiCozRW/trustdb.gpg: trustdb created gpg: key C7122F9B: public key "Launchpad PPA for Ubuntu SDK team" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
update:
tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ sudo apt-get update [...] Fetched 1,773 kB in 10s (167 kB/s
ok.
2015-07-08: sdb2 - try to build Heimdall from source - try build:
tingo@kg-f4:/storage/work2/samsung$ cd Heimdall/ tingo@kg-f4:/storage/work2/samsung/Heimdall$ mkdir build tingo@kg-f4:/storage/work2/samsung/Heimdall$ cd build tingo@kg-f4:/storage/work2/samsung/Heimdall/build$ cmake -DCMAKE_BUILD_TYPE=Release .. -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Found libusb: /usr/lib/x86_64-linux-gnu/libusb-1.0.so -- Checking if large (64-bit) file support is available... -- Checking if large (64-bit) file support is available - yes CMake Error at heimdall-frontend/CMakeLists.txt:11 (find_package): Could not find module FindQt5Widgets.cmake or a configuration file for package Qt5Widgets. Adjust CMAKE_MODULE_PATH to find FindQt5Widgets.cmake or set Qt5Widgets_DIR to the directory containing a CMake configuration file for Qt5Widgets. The file will have one of the following names: Qt5WidgetsConfig.cmake qt5widgets-config.cmake -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.3.4") CMake Error at heimdall-frontend/CMakeLists.txt:31 (qt5_wrap_ui): Unknown CMake command "qt5_wrap_ui". -- Configuring incomplete, errors occurred!
Ok, I really need that qt5-default package.
2015-07-08: sdb2 - try to build Heimdall from source - get source: make a place
tingo@kg-f4:~$ cd /storage/work2 tingo@kg-f4:/storage/work2$ mkdir samsung tingo@kg-f4:/storage/work2$ cd samsung tingo@kg-f4:/storage/work2/samsung$
get the source
tingo@kg-f4:/storage/work2/samsung$ git clone https://github.com/Benjamin-Dobell/Heimdall.git Cloning into 'Heimdall'... remote: Counting objects: 1818, done. remote: Total 1818 (delta 0), reused 0 (delta 0), pack-reused 1818 Receiving objects: 100% (1818/1818), 13.42 MiB | 542 KiB/s, done. Resolving deltas: 100% (1114/1114), done.
ok
2015-07-08: sdb2 - try to build Heimdall from source - get prerequsites: prereqs - check:
tingo@kg-f4:~$ dpkg-query -l 'build*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii build-essential 11.5ubuntu2.1 Informational list of build-essential packages tingo@kg-f4:~$ dpkg-query -l 'cmake*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== un cmake <none> (no description available) tingo@kg-f4:~$ dpkg-query -l 'zlib1g*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii zlib1g 1:1.2.3.4.dfsg-3ubuntu4 compression library - runtime tingo@kg-f4:~$ dpkg-query -l 'zlib1g-dev*' No packages found matching zlib1g-dev*. tingo@kg-f4:~$ dpkg-query -l 'qt5-default*' No packages found matching qt5-default*. tingo@kg-f4:~$ dpkg-query -l 'libusb-1.0*dev*' No packages found matching libusb-1.0*dev*. tingo@kg-f4:~$ dpkg-query -l 'libusb-1.0-0-dev*' No packages found matching libusb-1.0-0-dev*. tingo@kg-f4:~$ dpkg-query -l 'libgl1-mesa*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Description +++-=======================-=======================-============================================================== ii libgl1-mesa-dri 8.0.4-0ubuntu0.7 free implementation of the OpenGL API -- DRI modules un libgl1-mesa-dri-experim <none> (no description available) ii libgl1-mesa-glx 8.0.4-0ubuntu0.7 free implementation of the OpenGL API -- GLX runtime un libgl1-mesa-glx-no-mult <none> (no description available) tingo@kg-f4:~$ dpkg-query -l 'libgl1-mesa-dev*' No packages found matching libgl1-mesa-dev*.
prereqs - install missing cmake
tingo@kg-f4:~$ sudo apt-get install cmake [sudo] password for tingo: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: cmake-data emacsen-common libxmlrpc-core-c3 The following NEW packages will be installed: cmake cmake-data emacsen-common libxmlrpc-core-c3 0 upgraded, 4 newly installed, 0 to remove and 205 not upgraded. Need to get 5,304 kB of archives. After this operation, 13.9 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxmlrpc-core-c3 amd64 1.16.33-3.1ubuntu5.1 [181 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ precise/main emacsen-common all 1.4.22ubuntu1 [16.9 kB] Get:3 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main cmake-data all 2.8.7-0ubuntu5 [754 kB] Get:4 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main cmake amd64 2.8.7-0ubuntu5 [4,353 kB] Fetched 5,304 kB in 1s (4,033 kB/s) Selecting previously unselected package libxmlrpc-core-c3. (Reading database ... 308235 files and directories currently installed.) Unpacking libxmlrpc-core-c3 (from .../libxmlrpc-core-c3_1.16.33-3.1ubuntu5.1_amd64.deb) ... Selecting previously unselected package emacsen-common. Unpacking emacsen-common (from .../emacsen-common_1.4.22ubuntu1_all.deb) ... Selecting previously unselected package cmake-data. Unpacking cmake-data (from .../cmake-data_2.8.7-0ubuntu5_all.deb) ... Selecting previously unselected package cmake. Unpacking cmake (from .../cmake_2.8.7-0ubuntu5_amd64.deb) ... Processing triggers for man-db ... Setting up libxmlrpc-core-c3 (1.16.33-3.1ubuntu5.1) ... Setting up emacsen-common (1.4.22ubuntu1) ... emacsen-common: Handling install of emacsen flavor emacs Setting up cmake-data (2.8.7-0ubuntu5) ... emacsen-common: Handling install of emacsen flavor emacs Setting up cmake (2.8.7-0ubuntu5) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
zlib1g-dev
tingo@kg-f4:~$ sudo apt-get install zlib1g-dev Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: zlib1g-dev 0 upgraded, 1 newly installed, 0 to remove and 205 not upgraded. Need to get 165 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB] Fetched 165 kB in 0s (1,207 kB/s) Selecting previously unselected package zlib1g-dev. (Reading database ... 308896 files and directories currently installed.) Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu4) ...
qt5-default
tingo@kg-f4:~$ sudo apt-get install qt5-default Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package qt5-default
hmm, do a sudo apt-get update, then retry
tingo@kg-f4:~$ sudo apt-get install qt5-default Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package qt5-default
nope.
tingo@kg-f4:~$ dpkg-query -l 'qt5*' No packages found matching qt5*. tingo@kg-f4:~$ apt-cache search qt5 libmgl-qt5 - library for scientific graphs. (Qt runtime library)
still nothing. Ok, skip that for now. libusb-1.0-0-dev
tingo@kg-f4:~$ sudo apt-get install libusb-1.0-0-dev Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: libusb-1.0-0-dev 0 upgraded, 1 newly installed, 0 to remove and 210 not upgraded. Need to get 158 kB of archives. After this operation, 920 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/main libusb-1.0-0-dev amd64 2:1.0.9~rc3-2ubuntu1 [158 kB] Fetched 158 kB in 0s (790 kB/s) Selecting previously unselected package libusb-1.0-0-dev. (Reading database ... 308924 files and directories currently installed.) Unpacking libusb-1.0-0-dev (from .../libusb-1.0-0-dev_2%3a1.0.9~rc3-2ubuntu1_amd64.deb) ... Processing triggers for doc-base ... Processing 1 added doc-base file... Registering documents with scrollkeeper... Setting up libusb-1.0-0-dev (2:1.0.9~rc3-2ubuntu1) ...
libgl1-mesa-dev
tingo@kg-f4:~$ sudo apt-get install libgl1-mesa-dev Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: libdrm-dev libdrm-intel1 libdrm-nouveau1a libdrm-nouveau2 libdrm-radeon1 libdrm2 libpthread-stubs0 libpthread-stubs0-dev libx11-6 libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxext6 mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev Suggested packages: libxcb-doc The following NEW packages will be installed: libdrm-dev libdrm-nouveau2 libgl1-mesa-dev libpthread-stubs0 libpthread-stubs0-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev mesa-common-dev x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev The following packages will be upgraded: libdrm-intel1 libdrm-nouveau1a libdrm-radeon1 libdrm2 libx11-6 libxext6 6 upgraded, 18 newly installed, 0 to remove and 204 not upgraded. Need to get 5,875 kB of archives. After this operation, 19.6 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm2 amd64 2.4.52-1~precise2 [26.1 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm-intel1 amd64 2.4.52-1~precise2 [65.6 kB] Get:3 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm-nouveau1a amd64 2.4.52-1~precise2 [14.0 kB] Get:4 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm-radeon1 amd64 2.4.52-1~precise2 [27.8 kB] Get:5 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libx11-6 amd64 2:1.4.99.1-0ubuntu2.3 [764 kB] Get:6 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxext6 amd64 2:1.3.0-3ubuntu0.2 [33.8 kB] Get:7 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm-nouveau2 amd64 2.4.52-1~precise2 [15.3 kB] Get:8 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libdrm-dev amd64 2.4.52-1~precise2 [211 kB] Get:9 http://no.archive.ubuntu.com/ubuntu/ precise/main libpthread-stubs0 amd64 0.3-3 [3,258 B] Get:10 http://no.archive.ubuntu.com/ubuntu/ precise/main libpthread-stubs0-dev amd64 0.3-3 [2,866 B] Get:11 http://no.archive.ubuntu.com/ubuntu/ precise/main xorg-sgml-doctools all 1:1.10-1 [12.0 kB] Get:12 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main x11proto-core-dev all 7.0.22-1ubuntu0.2 [301 kB] Get:13 http://no.archive.ubuntu.com/ubuntu/ precise/main libxau-dev amd64 1:1.0.6-4 [10.5 kB] Get:14 http://no.archive.ubuntu.com/ubuntu/ precise/main libxdmcp-dev amd64 1:1.1.0-4 [26.9 kB] Get:15 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main x11proto-input-dev all 2.3-1~precise2 [137 kB] Get:16 http://no.archive.ubuntu.com/ubuntu/ precise/main x11proto-kb-dev all 1.0.5-2 [27.6 kB] Get:17 http://no.archive.ubuntu.com/ubuntu/ precise/main xtrans-dev all 1.2.6-2 [82.9 kB] Get:18 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxcb1-dev amd64 1.8.1-1ubuntu0.2 [82.5 kB] Get:19 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libx11-dev amd64 2:1.4.99.1-0ubuntu2.3 [910 kB] Get:20 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libx11-doc all 2:1.4.99.1-0ubuntu2.3 [2,433 kB] Get:21 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main x11proto-xext-dev all 7.3.0-1~precise2 [277 kB] Get:22 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libxext-dev amd64 2:1.3.0-3ubuntu0.2 [156 kB] Get:23 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main mesa-common-dev amd64 8.0.4-0ubuntu0.7 [249 kB] Get:24 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libgl1-mesa-dev amd64 8.0.4-0ubuntu0.7 [5,028 B] Fetched 5,875 kB in 4s (1,251 kB/s) (Reading database ... 308980 files and directories currently installed.) Preparing to replace libdrm2 2.4.52-1~precise1 (using .../libdrm2_2.4.52-1~precise2_amd64.deb) ... Unpacking replacement libdrm2 ... Preparing to replace libdrm-intel1 2.4.52-1~precise1 (using .../libdrm-intel1_2.4.52-1~precise2_amd64.deb) ... Unpacking replacement libdrm-intel1 ... Preparing to replace libdrm-nouveau1a 2.4.52-1~precise1 (using .../libdrm-nouveau1a_2.4.52-1~precise2_amd64.deb) ... Unpacking replacement libdrm-nouveau1a ... Preparing to replace libdrm-radeon1 2.4.52-1~precise1 (using .../libdrm-radeon1_2.4.52-1~precise2_amd64.deb) ... Unpacking replacement libdrm-radeon1 ... Preparing to replace libx11-6 2:1.4.99.1-0ubuntu2.2 (using .../libx11-6_2%3a1.4.99.1-0ubuntu2.3_amd64.deb) ... Unpacking replacement libx11-6 ... Preparing to replace libxext6 2:1.3.0-3ubuntu0.1 (using .../libxext6_2%3a1.3.0-3ubuntu0.2_amd64.deb) ... Unpacking replacement libxext6 ... Selecting previously unselected package libdrm-nouveau2. Unpacking libdrm-nouveau2 (from .../libdrm-nouveau2_2.4.52-1~precise2_amd64.deb) ... Selecting previously unselected package libdrm-dev. Unpacking libdrm-dev (from .../libdrm-dev_2.4.52-1~precise2_amd64.deb) ... Selecting previously unselected package libpthread-stubs0. Unpacking libpthread-stubs0 (from .../libpthread-stubs0_0.3-3_amd64.deb) ... Selecting previously unselected package libpthread-stubs0-dev. Unpacking libpthread-stubs0-dev (from .../libpthread-stubs0-dev_0.3-3_amd64.deb) ... Selecting previously unselected package xorg-sgml-doctools. Unpacking xorg-sgml-doctools (from .../xorg-sgml-doctools_1%3a1.10-1_all.deb) ... Selecting previously unselected package x11proto-core-dev. Unpacking x11proto-core-dev (from .../x11proto-core-dev_7.0.22-1ubuntu0.2_all.deb) ... Selecting previously unselected package libxau-dev. Unpacking libxau-dev (from .../libxau-dev_1%3a1.0.6-4_amd64.deb) ... Selecting previously unselected package libxdmcp-dev. Unpacking libxdmcp-dev (from .../libxdmcp-dev_1%3a1.1.0-4_amd64.deb) ... Selecting previously unselected package x11proto-input-dev. Unpacking x11proto-input-dev (from .../x11proto-input-dev_2.3-1~precise2_all.deb) ... Selecting previously unselected package x11proto-kb-dev. Unpacking x11proto-kb-dev (from .../x11proto-kb-dev_1.0.5-2_all.deb) ... Selecting previously unselected package xtrans-dev. Unpacking xtrans-dev (from .../xtrans-dev_1.2.6-2_all.deb) ... Selecting previously unselected package libxcb1-dev. Unpacking libxcb1-dev (from .../libxcb1-dev_1.8.1-1ubuntu0.2_amd64.deb) ... Selecting previously unselected package libx11-dev. Unpacking libx11-dev (from .../libx11-dev_2%3a1.4.99.1-0ubuntu2.3_amd64.deb) ... Selecting previously unselected package libx11-doc. Unpacking libx11-doc (from .../libx11-doc_2%3a1.4.99.1-0ubuntu2.3_all.deb) ... Selecting previously unselected package x11proto-xext-dev. Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.3.0-1~precise2_all.deb) ... Selecting previously unselected package libxext-dev. Unpacking libxext-dev (from .../libxext-dev_2%3a1.3.0-3ubuntu0.2_amd64.deb) ... Selecting previously unselected package mesa-common-dev. Unpacking mesa-common-dev (from .../mesa-common-dev_8.0.4-0ubuntu0.7_amd64.deb) ... Selecting previously unselected package libgl1-mesa-dev. Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_8.0.4-0ubuntu0.7_amd64.deb) ... Processing triggers for man-db ... Setting up libdrm2 (2.4.52-1~precise2) ... Setting up libdrm-intel1 (2.4.52-1~precise2) ... Setting up libdrm-nouveau1a (2.4.52-1~precise2) ... Setting up libdrm-radeon1 (2.4.52-1~precise2) ... Setting up libx11-6 (2:1.4.99.1-0ubuntu2.3) ... Setting up libxext6 (2:1.3.0-3ubuntu0.2) ... Setting up libdrm-nouveau2 (2.4.52-1~precise2) ... Setting up libdrm-dev (2.4.52-1~precise2) ... Setting up libpthread-stubs0 (0.3-3) ... Setting up libpthread-stubs0-dev (0.3-3) ... Setting up xorg-sgml-doctools (1:1.10-1) ... Setting up x11proto-core-dev (7.0.22-1ubuntu0.2) ... Setting up libxau-dev (1:1.0.6-4) ... Setting up libxdmcp-dev (1:1.1.0-4) ... Setting up x11proto-input-dev (2.3-1~precise2) ... Setting up x11proto-kb-dev (1.0.5-2) ... Setting up xtrans-dev (1.2.6-2) ... Setting up libxcb1-dev (1.8.1-1ubuntu0.2) ... Setting up libx11-dev (2:1.4.99.1-0ubuntu2.3) ... Setting up libx11-doc (2:1.4.99.1-0ubuntu2.3) ... Setting up x11proto-xext-dev (7.3.0-1~precise2) ... Setting up libxext-dev (2:1.3.0-3ubuntu0.2) ... Setting up mesa-common-dev (8.0.4-0ubuntu0.7) ... Setting up libgl1-mesa-dev (8.0.4-0ubuntu0.7) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
that was a lot.
2015-07-08: sdb2 - still running Xubuntu 12.04 LTS:
tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
ok.
2015-05-23: sdb2 - install kodi-pvr-tvheadend-hts:
tingo@kg-f4:~$ sudo apt-get install kodi-pvr-tvheadend-hts [sudo] password for tingo: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: kodi-pvr-tvheadend-hts 0 upgraded, 1 newly installed, 0 to remove and 174 not upgraded. Need to get 195 kB of archives. After this operation, 834 kB of additional disk space will be used. Get:1 http://ppa.launchpad.net/team-xbmc/ppa/ubuntu/ precise/main kodi-pvr-tvheadend-hts amd64 1.9.40-6precise [195 kB] Fetched 195 kB in 0s (562 kB/s) Selecting previously unselected package kodi-pvr-tvheadend-hts. (Reading database ... 308071 files and directories currently installed.) Unpacking kodi-pvr-tvheadend-hts (from .../kodi-pvr-tvheadend-hts_1.9.40-6precise_amd64.deb) ... Setting up kodi-pvr-tvheadend-hts (1.9.40-6precise) ...
done.
2015-05-23: sdb2 - install kodi. add the repository:
tingo@kg-f4:~$ sudo add-apt-repository ppa:team-xbmc/ppa [sudo] password for tingo: You are about to add the following PPA to your system: More info: https://launchpad.net/~team-xbmc/+archive/ubuntu/ppa Press [ENTER] to continue or ctrl-c to cancel adding it gpg: keyring `/tmp/tmpbjARJf/secring.gpg' created gpg: keyring `/tmp/tmpbjARJf/pubring.gpg' created gpg: requesting key 91E7EE5E from hkp server keyserver.ubuntu.com gpg: /tmp/tmpbjARJf/trustdb.gpg: trustdb created gpg: key 91E7EE5E: public key "Launchpad PPA for XBMC for Linux" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK
update repositories:
tingo@kg-f4:~$ sudo apt-get update Get:1 http://ppa.launchpad.net precise Release.gpg [316 B] Hit http://ppa.launchpad.net precise Release.gpg Hit http://extras.ubuntu.com precise Release.gpg Hit http://no.archive.ubuntu.com precise Release.gpg Get:2 http://no.archive.ubuntu.com precise-updates Release.gpg [198 B] Hit http://no.archive.ubuntu.com precise-backports Release.gpg Hit http://no.archive.ubuntu.com precise Release Get:3 http://no.archive.ubuntu.com precise-updates Release [196 kB] Hit http://extras.ubuntu.com precise Release Hit http://apt.tvheadend.org precise Release.gpg Get:4 http://ppa.launchpad.net precise Release [12.9 kB] Hit http://apt.tvheadend.org precise Release Hit http://ppa.launchpad.net precise Release Hit http://extras.ubuntu.com precise/main Sources Get:5 http://security.ubuntu.com precise-security Release.gpg [198 B] Hit http://no.archive.ubuntu.com precise-backports Release Get:6 http://ppa.launchpad.net precise/main Sources [7,988 B] Hit http://apt.tvheadend.org precise/main Sources Hit http://no.archive.ubuntu.com precise/main Sources Hit http://no.archive.ubuntu.com precise/restricted Sources Hit http://no.archive.ubuntu.com precise/universe Sources Hit http://no.archive.ubuntu.com precise/multiverse Sources Hit http://no.archive.ubuntu.com precise/main amd64 Packages Hit http://no.archive.ubuntu.com precise/restricted amd64 Packages Hit http://no.archive.ubuntu.com precise/universe amd64 Packages Hit http://no.archive.ubuntu.com precise/multiverse amd64 Packages Hit http://no.archive.ubuntu.com precise/main i386 Packages Hit http://no.archive.ubuntu.com precise/restricted i386 Packages Hit http://extras.ubuntu.com precise/main amd64 Packages Hit http://extras.ubuntu.com precise/main i386 Packages Ign http://extras.ubuntu.com precise/main TranslationIndex Hit http://no.archive.ubuntu.com precise/universe i386 Packages Hit http://no.archive.ubuntu.com precise/multiverse i386 Packages Hit http://no.archive.ubuntu.com precise/main TranslationIndex Hit http://no.archive.ubuntu.com precise/multiverse TranslationIndex Hit http://no.archive.ubuntu.com precise/restricted TranslationIndex Hit http://apt.tvheadend.org precise/main amd64 Packages Hit http://apt.tvheadend.org precise/main i386 Packages Ign http://apt.tvheadend.org precise/main TranslationIndex Hit http://no.archive.ubuntu.com precise/universe TranslationIndex Get:7 http://security.ubuntu.com precise-security Release [54.3 kB] Get:8 http://no.archive.ubuntu.com precise-updates/main Sources [489 kB] Get:9 http://ppa.launchpad.net precise/main amd64 Packages [14.3 kB] Get:10 http://ppa.launchpad.net precise/main i386 Packages [14.4 kB] Get:11 http://ppa.launchpad.net precise/main TranslationIndex [202 B] Hit http://ppa.launchpad.net precise/main Sources Hit http://ppa.launchpad.net precise/main amd64 Packages Hit http://ppa.launchpad.net precise/main i386 Packages Ign http://ppa.launchpad.net precise/main TranslationIndex Get:12 http://ppa.launchpad.net precise/main Translation-en [6,634 B] Get:13 http://no.archive.ubuntu.com precise-updates/restricted Sources [7,981 B] Get:14 http://no.archive.ubuntu.com precise-updates/universe Sources [119 kB] Get:15 http://no.archive.ubuntu.com precise-updates/multiverse Sources [9,726 B] Get:16 http://no.archive.ubuntu.com precise-updates/main amd64 Packages [897 kB] Ign http://extras.ubuntu.com precise/main Translation-en_US Get:17 http://security.ubuntu.com precise-security/main Sources [129 kB] Ign http://apt.tvheadend.org precise/main Translation-en_US Ign http://extras.ubuntu.com precise/main Translation-en Get:18 http://no.archive.ubuntu.com precise-updates/restricted amd64 Packages [13.6 kB] Get:19 http://no.archive.ubuntu.com precise-updates/universe amd64 Packages [265 kB] Ign http://apt.tvheadend.org precise/main Translation-en Get:20 http://no.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.5 kB] Get:21 http://no.archive.ubuntu.com precise-updates/main i386 Packages [950 kB] Ign http://ppa.launchpad.net precise/main Translation-en_US Ign http://ppa.launchpad.net precise/main Translation-en Get:22 http://no.archive.ubuntu.com precise-updates/restricted i386 Packages [13.6 kB] Get:23 http://no.archive.ubuntu.com precise-updates/universe i386 Packages [275 kB] Get:24 http://no.archive.ubuntu.com precise-updates/multiverse i386 Packages [16.7 kB] Hit http://no.archive.ubuntu.com precise-updates/main TranslationIndex Hit http://no.archive.ubuntu.com precise-updates/multiverse TranslationIndex Hit http://no.archive.ubuntu.com precise-updates/restricted TranslationIndex Hit http://no.archive.ubuntu.com precise-updates/universe TranslationIndex Get:25 http://security.ubuntu.com precise-security/restricted Sources [3,759 B] Get:26 http://security.ubuntu.com precise-security/universe Sources [41.8 kB] Hit http://no.archive.ubuntu.com precise/main Translation-en Hit http://no.archive.ubuntu.com precise/multiverse Translation-en Hit http://no.archive.ubuntu.com precise/restricted Translation-en Hit http://no.archive.ubuntu.com precise-backports/main Sources Hit http://no.archive.ubuntu.com precise-backports/restricted Sources Hit http://no.archive.ubuntu.com precise-backports/universe Sources Hit http://no.archive.ubuntu.com precise-backports/multiverse Sources Hit http://no.archive.ubuntu.com precise-backports/main amd64 Packages Hit http://no.archive.ubuntu.com precise-backports/restricted amd64 Packages Hit http://no.archive.ubuntu.com precise-backports/universe amd64 Packages Hit http://no.archive.ubuntu.com precise-backports/multiverse amd64 Packages Hit http://no.archive.ubuntu.com precise-backports/main i386 Packages Hit http://no.archive.ubuntu.com precise-backports/restricted i386 Packages Hit http://no.archive.ubuntu.com precise-backports/universe i386 Packages Hit http://no.archive.ubuntu.com precise-backports/multiverse i386 Packages Hit http://no.archive.ubuntu.com precise-backports/main TranslationIndex Hit http://no.archive.ubuntu.com precise-backports/multiverse TranslationIndex Hit http://no.archive.ubuntu.com precise-backports/restricted TranslationIndex Hit http://no.archive.ubuntu.com precise-backports/universe TranslationIndex Hit http://no.archive.ubuntu.com precise/universe Translation-en Hit http://no.archive.ubuntu.com precise-updates/main Translation-en Hit http://no.archive.ubuntu.com precise-updates/multiverse Translation-en Hit http://no.archive.ubuntu.com precise-updates/restricted Translation-en Hit http://no.archive.ubuntu.com precise-updates/universe Translation-en Hit http://no.archive.ubuntu.com precise-backports/main Translation-en Hit http://no.archive.ubuntu.com precise-backports/multiverse Translation-en Hit http://no.archive.ubuntu.com precise-backports/restricted Translation-en Hit http://no.archive.ubuntu.com precise-backports/universe Translation-en Get:27 http://security.ubuntu.com precise-security/multiverse Sources [2,198 B] Get:28 http://security.ubuntu.com precise-security/main amd64 Packages [514 kB] Get:29 http://security.ubuntu.com precise-security/restricted amd64 Packages [8,943 B] Get:30 http://security.ubuntu.com precise-security/universe amd64 Packages [121 kB] Get:31 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,699 B] Get:32 http://security.ubuntu.com precise-security/main i386 Packages [554 kB] Get:33 http://security.ubuntu.com precise-security/restricted i386 Packages [8,939 B] Get:34 http://security.ubuntu.com precise-security/universe i386 Packages [129 kB] Get:35 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,865 B] Hit http://security.ubuntu.com precise-security/main TranslationIndex Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex Hit http://security.ubuntu.com precise-security/restricted TranslationIndex Hit http://security.ubuntu.com precise-security/universe TranslationIndex Hit http://security.ubuntu.com precise-security/main Translation-en Hit http://security.ubuntu.com precise-security/multiverse Translation-en Hit http://security.ubuntu.com precise-security/restricted Translation-en Hit http://security.ubuntu.com precise-security/universe Translation-en Fetched 4,899 kB in 10s (449 kB/s) Reading package lists... Done
install kodi:
tingo@kg-f4:~$ sudo apt-get install kodi Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-kde4 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: curl kodi-bin libafpclient0 libcec2 libcurl3 libglew1.6 libhogweed2 liblockdev1 liblzo2-2 libmicrohttpd5 libmp3lame0 libnfs1 libpcrecpp0 libsdl2 libshairplay0 libshairport1 libva-intel-vaapi-driver libvdpau1 libyajl2 mesa-utils python-bluez python-central python-support Suggested packages: xbmc-pvr-mythtv-cmyth xbmc-pvr-vuplus xbmc-pvr-vdr-vnsi xbmc-pvr-njoy xbmc-pvr-nextpvr xbmc-pvr-mediaportal-tvserver xbmc-pvr-tvheadend-hts xbmc-pvr-dvbviewer xbmc-pvr-argustv xbmc-pvr-iptvsimple xbmc-audioencoder-vorbis xbmc-audioencoder-flac xbmc-audioencoder-lame glew-utils nvidia-vdpau-driver nvidia-vdpau-driver-ia32 vdpau-driver The following NEW packages will be installed: curl kodi kodi-bin libafpclient0 libcec2 libcurl3 libglew1.6 libhogweed2 liblockdev1 liblzo2-2 libmicrohttpd5 libmp3lame0 libnfs1 libpcrecpp0 libsdl2 libshairplay0 libshairport1 libva-intel-vaapi-driver libvdpau1 libyajl2 mesa-utils python-bluez python-central python-support 0 upgraded, 24 newly installed, 0 to remove and 174 not upgraded. Need to get 40.1 MB of archives. After this operation, 91.1 MB of additional disk space will be used. Do you want to continue [Y/n]? y [...] Processing triggers for man-db ... Processing triggers for hicolor-icon-theme ... Processing triggers for desktop-file-utils ... Setting up libafpclient0 (0.8.1-2) ... Setting up libcurl3 (7.22.0-3ubuntu4.14) ... Setting up libglew1.6 (1.6.0-4) ... Setting up libhogweed2 (2.4-1) ... Setting up liblzo2-2 (2.06-1ubuntu0.1) ... Setting up libmp3lame0 (3.99.3+repack1-1) ... Setting up libnfs1 (1.6.0-0~ppa1~precise) ... Setting up libpcrecpp0 (8.12-4) ... Setting up libsdl2 (2.0.3+z4~20140315-8621-1ppa1precise1) ... Setting up libshairport1 (1:1.2.1~git20121216.16395d8-0~ppa1~precise) ... Setting up libvdpau1 (0.4.1-3ubuntu1.1) ... Setting up libshairplay0 (0.9.0-6~precise) ... Setting up libyajl2 (2.0.4-4.1) ... Setting up curl (7.22.0-3ubuntu4.14) ... Setting up libmicrohttpd5 (0.4.6-1) ... Setting up kodi-bin (2:14.2~git20150327.1058-final-0precise) ... Setting up mesa-utils (8.0.1+git20110129+d8f7d6b-0ubuntu2) ... Setting up python-central (0.6.17ubuntu2) ... Setting up python-bluez (0.18-1build2) ... Setting up liblockdev1 (1.0.3-1.4build2) ... Setting up libcec2 (2.2.0-2~precise) ... Setting up python-support (1.0.14ubuntu2) ... Setting up libva-intel-vaapi-driver (1.0.15-1ubuntu2) ... Processing triggers for python-central ... Setting up kodi (2:14.2~git20150327.1058-final-0precise) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for python-support ...
done.
2015-05-23: sdb2 - logged into the machine to check a few things. Info from login:
tingo@kg-core1$ ssh f4 tingo@f4's password: Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-70-generic x86_64) * Documentation: https://help.ubuntu.com/ 176 packages can be updated. 143 updates are security updates. New release '14.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. Last login: Wed Mar 18 07:18:06 2015 from kg-u35jc.kg4.no
Well, at least I know.
2014-11-16: sdb2 - I ran update-manager, which had 265 updates, including Firefox 33.0 and a new kernel. After the update, the machine now runs:
tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-70-generic #105-Ubuntu SMP Wed Sep 24 19:49:16 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
that's all.
2014-03-30: sdb2 - I need more disk space. Add the sdc1 partition as mountpoint /storage. create mountpoint
tingo@kg-f4:~$ sudo mkdir /storage
change owner and group:
tingo@kg-f4:~$ sudo chown -R tingo:tingo /storage add line to /etc/fstab: # a storage partition /dev/sdc1 /storage ext2 defaults 0 2
mount it:
tingo@kg-f4:~$ sudo mount /storage
check that it works:
tingo@kg-f4:~$ ls -la /storage total 32 drwxr-xr-x 5 tingo tingo 4096 Jan 31 2013 . drwxr-xr-x 25 root root 4096 Mar 30 00:51 .. drwxrwxr-x 3 tingo tingo 4096 Sep 3 2012 kernel drwx------ 2 tingo tingo 16384 Sep 4 2012 lost+found drwxrwxr-x 3 tingo tingo 4096 Jan 31 2013 work2
done.
2014-03-26: sdb2 - I ran update-manager, which had 51 updates, among them a new kernel. After the update, the machine now runs:
tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-60-generic #91-Ubuntu SMP Wed Feb 19 03:54:44 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise
nothing more.
2014-02-16: sdb5 - I booted Xubuntu 12.04 (modified) to check on stuff. OS info:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.24 #2 SMP Wed Sep 5 01:14:55 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux
disk info
tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb5 13G 5.6G 6.3G 48% / udev 3.7G 4.0K 3.7G 1% /dev tmpfs 1.5G 924K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 96K 3.8G 1% /run/shm /dev/sdc1 99G 8.9G 85G 10% /storage
dvb info from dmesg
tingo@kg-f4:~$ dmesg | grep -i dvb [ 8.984050] usb 2-1: dvb_usb_v2: found a 'Terratec H7' in warm state [ 8.992380] usbcore: registered new interface driver dvb_usb_az6007 [ 10.172574] usb 2-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer [ 10.172617] DVB: registering new adapter (Terratec H7) [ 10.175470] usb 2-1: dvb_usb_v2: MAC address: c2:cd:0c:a3:10:00 [ 10.201130] usb 2-1: DVB: registering adapter 0 frontend 0 (DRXK)... [ 10.241189] usb 2-1: dvb_usb_v2: schedule remote query interval to 400 msecs [ 10.241197] usb 2-1: dvb_usb_v2: 'Terratec H7' successfully initialized and connected
more info
tingo@kg-f4:~$ dmesg | grep -i drx [ 10.197334] drxk: frontend initialized. [ 10.201130] usb 2-1: DVB: registering adapter 0 frontend 0 (DRXK)... [ 10.258320] drxk: status = 0x439130d9 [ 10.258330] drxk: detected a drx-3913k, spin A2, xtal 27.000 MHz [ 12.512289] DRXK driver version 0.9.4300
so the PCTV nanoStick T2 isn't detected.
2014-02-16: sdb4 - I booted Xubuntu 11.10 just to see how it detects stuff. Version info:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
disk info
tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb4 12G 5.0G 6.1G 45% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.5G 884K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 160K 3.8G 1% /run/shm
dvb info from dmesg:
tingo@kg-f4:~$ dmesg | grep -i dvb [ 10.097817] em28xx: DVB interface 0 found [ 10.122567] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in cold state, will try to load a firmware [ 10.354369] dvb-usb: downloading firmware from file 'dvb-usb-terratec-h7-az6007.fw' [ 10.526395] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 10.866204] DVB: registering new adapter (em28xx #0) [ 10.866214] DVB: registering adapter 0 frontend 0 (Sony CXD2820R)... [ 10.866903] em28xx #0: Successfully loaded em28xx-dvb [ 10.866910] Em28xx: Initialized (Em28xx dvb Extension) extension [ 11.776591] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 11.777467] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 11.780724] dvb-usb: MAC address reading failed. [ 14.192576] DVB: registering adapter 1 frontend 0 (DRXK DVB-C DVB-T)... [ 14.268345] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-1/rc/rc1/input8 [ 14.268475] rc1: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-1/rc/rc1 [ 14.268481] dvb-usb: schedule remote query interval to 400 msecs. [ 14.268488] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. [ 14.268540] usbcore: registered new interface driver dvb_usb_az6007
interesting, both adapters are detected. Files:
tingo@kg-f4:~$ ls -l /dev/dvb/*/* crw-rw----+ 1 root video 212, 1 2014-02-16 20:00 /dev/dvb/adapter0/demux0 crw-rw----+ 1 root video 212, 2 2014-02-16 20:00 /dev/dvb/adapter0/dvr0 crw-rw----+ 1 root video 212, 0 2014-02-16 20:00 /dev/dvb/adapter0/frontend0 crw-rw----+ 1 root video 212, 3 2014-02-16 20:00 /dev/dvb/adapter0/net0 crw-rw----+ 1 root video 212, 7 2014-02-16 20:00 /dev/dvb/adapter1/ca0 crw-rw----+ 1 root video 212, 4 2014-02-16 20:00 /dev/dvb/adapter1/demux0 crw-rw----+ 1 root video 212, 5 2014-02-16 20:00 /dev/dvb/adapter1/dvr0 crw-rw----+ 1 root video 212, 8 2014-02-16 20:00 /dev/dvb/adapter1/frontend0 crw-rw----+ 1 root video 212, 6 2014-02-16 20:00 /dev/dvb/adapter1/net0
Good.
2014-02-15: sdb2 - I ran update-manager, it returned 449 updates which I installed. after installing, the system runs:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
other info
tingo@kg-f4:~$ date;swapon -s;tvls;df -h;uptime Sun Feb 16 00:40:06 CET 2014 Filename Type Size Used Priority /dev/zram0 partition 3894532 0 100 /dev/sdb3 partition 3906244 0 -1 Feb 16 00:36:53 kg-f4 dbus[559]: [system] Successfully activated service 'org.blueman.Mechanism' Feb 16 00:36:53 kg-f4 blueman-mechanism: loading Network Feb 16 00:36:53 kg-f4 blueman-mechanism: loading Ppp Feb 16 00:36:53 kg-f4 blueman-mechanism: loading RfKill Feb 16 00:36:53 kg-f4 blueman-mechanism: loading Config Feb 16 00:37:01 kg-f4 NetworkManager[1008]: <info> (eth0): IP6 addrconf timed out or failed. Feb 16 00:37:01 kg-f4 NetworkManager[1008]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled... Feb 16 00:37:01 kg-f4 NetworkManager[1008]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) started... Feb 16 00:37:01 kg-f4 NetworkManager[1008]: <info> Activation (eth0) Stage 4 of 5 (IPv6 Configure Timeout) complete. Feb 16 00:37:23 kg-f4 blueman-mechanism: Exiting Filesystem Size Used Avail Use% Mounted on /dev/sdb2 28G 4.4G 22G 17% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.5G 932K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 96K 3.8G 1% /run/shm 00:40:06 up 3 min, 2 users, load average: 0.13, 0.39, 0.20 tingo@kg-f4:~$ free -m total used free shared buffers cached Mem: 7606 569 7036 0 27 193 -/+ buffers/cache: 348 7258 Swap: 7617 0 7617
2014-02-15: sdb2 - I booted Xubuntu 12.04 LTS again:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Good.
2013-01-31: sdb5 - I connected the scratch drive (sdc) and booted the "modified" Xubuntu 12.04 to see what kernel, etc it runs. Details:
tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.24 #2 SMP Wed Sep 5 01:14:55 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux
That's it. To prepare for install of a media_build tree, install git:
tingo@kg-f4:~$ sudo apt-get install git Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libgmtk0-data libdiscid0 libgpod-common libgmtk0 libgpod4 libneon27-gnutls libmusicbrainz3-6 libgmlib0 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: git-man liberror-perl Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs git-svn git-email git-gui gitk gitweb The following NEW packages will be installed: git git-man liberror-perl 0 upgraded, 3 newly installed, 0 to remove and 364 not upgraded. Need to get 6,741 kB of archives. After this operation, 15.2 MB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://ubuntu.mirror.su.se/ubuntu/ precise/main liberror-perl all 0.17-1 [23.8 kB] Get:2 http://ubuntu.mirror.su.se/ubuntu/ precise/main git-man all 1:1.7.9.5-1 [630 kB] Get:3 http://ubuntu.mirror.su.se/ubuntu/ precise/main git amd64 1:1.7.9.5-1 [6,087 kB] Fetched 6,741 kB in 2s (2,881 kB/s) Selecting previously unselected package liberror-perl. (Reading database ... 183368 files and directories currently installed.) Unpacking liberror-perl (from .../liberror-perl_0.17-1_all.deb) ... Selecting previously unselected package git-man. Unpacking git-man (from .../git-man_1%3a1.7.9.5-1_all.deb) ... Selecting previously unselected package git. Unpacking git (from .../git_1%3a1.7.9.5-1_amd64.deb) ... Processing triggers for man-db ... Setting up liberror-perl (0.17-1) ... Setting up git-man (1:1.7.9.5-1) ... Setting up git (1:1.7.9.5-1) ...
that's all for now.
2013-01-31: sdb2 - I ran a check with update-manager, which gave me 355 updates available. After installing all of them, a reboot was required. Now the system runs:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
That's it.
2012-09-05: sdb5 - install dvb-apps:
tingo@kg-f4:~$ sudo apt-get install dvb-apps
which gives me czap, femon and others.
2012-09-05: sdb5 - booted with kernel 3.2.24 now. dmesg output: normal.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.24 #2 SMP Wed Sep 5 01:14:55 CEST 2012 x86_64 x86_64 x86_64 GNU/Linux
Good.
2012-09-05: sdb5 - install the new kernel (3.2.24):
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ sudo make modules_install install (output skipped) INSTALL /lib/firmware/yam/1200.bin INSTALL /lib/firmware/yam/9600.bin DEPMOD 3.2.24 sh /storage/kernel/linux-source-3.2.0/arch/x86/boot/install.sh 3.2.24 arch/x86/boot/bzImage \ System.map "/boot" run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.24 /boot/vmlinuz-3.2.24 update-initramfs: Generating /boot/initrd.img-3.2.24 run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.24 /boot/vmlinuz-3.2.24 run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.24 /boot/vmlinuz-3.2.24 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.24 /boot/vmlinuz-3.2.24 Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.24 Found initrd image: /boot/initrd.img-3.2.24 Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found Found unknown Linux distribution on /dev/sda2 Found Ubuntu 12.04.1 LTS (12.04) on /dev/sdb2 Found Ubuntu 11.10 (11.10) on /dev/sdb4 done
OK, so I get to fix the grub again. Boot from sdb2, run sudo update-grub, and we're done.
2012-09-04: sdb5 - see if I can resume the kernel compile, now that I have more space:
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb5 13G 4.1G 7.9G 35% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.5G 928K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 96K 3.8G 1% /run/shm /dev/sdc1 99G 8.0G 86G 9% /storage
86 GB free should be enough, eh? try the compile again:
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ make -j3
(again, it takes some time) Well, it didn't look like it resumed, but it built the new kernel anyway, taking a looong time. Finishing output:
IHEX firmware/mts_edge.fw H16TOFW firmware/edgeport/boot.fw H16TOFW firmware/edgeport/boot2.fw H16TOFW firmware/edgeport/down.fw H16TOFW firmware/edgeport/down2.fw IHEX firmware/edgeport/down3.bin IHEX2FW firmware/whiteheat_loader.fw IHEX2FW firmware/whiteheat.fw IHEX2FW firmware/keyspan_pda/keyspan_pda.fw IHEX2FW firmware/keyspan_pda/xircom_pgs.fw IHEX firmware/cpia2/stv0672_vp4.bin IHEX firmware/yam/1200.bin IHEX firmware/yam/9600.bin tingo@kg-f4:~/work/kernel/linux-source-3.2.0$
Now I need to install it.
2012-09-04: sdb5 - I added a scratch drive (inserted it into the sata docking adapter) to get space for compiles etc. Funnily enough, parted claims that the partition is freebsd-ufs:
Model: Generic External (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 107GB 107GB freebsd-ufs
Ok, let's just use Gparted and redo it. Hmm, it says that the file system is "unknown". Let's just try to create a filesystem on it: I chose ext2 this time, in case I need to mount it under FreeBSD:
tingo@kg-f4:~$ sudo mkfs.ext2 /dev/sdc1 mke2fs 1.42 (29-Nov-2011) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 6553600 inodes, 26214400 blocks 1310720 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=4294967296 800 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872 Allocating group tables: done Writing inode tables: done Writing superblocks and filesystem accounting information: done and now parted is happy: Model: Generic External (scsi) Disk /dev/sdc: 1000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 107GB 107GB ext2
Good. Now we need a mount point:
tingo@kg-f4:~$ sudo mkdir /storage
then I added this to /etc/fstab:
# a storage partition /dev/sdc1 /storage ext2 defaults 0 2
and mount
tingo@kg-f4:~$ sudo mount /storage
change owner of mountpoint:
tingo@kg-f4:~$ sudo chown -R tingo:tingo /storage
looks good:
tingo@kg-f4:~$ ll /storage total 24 drwxr-xr-x 3 tingo tingo 4096 Sep 4 22:41 ./ drwxr-xr-x 25 root root 4096 Sep 4 22:45 ../ drwx------ 2 tingo tingo 16384 Sep 4 22:41 lost+found/
Where do I need it? In work:
tingo@kg-f4:~/work$ cp -a kernel /storage tingo@kg-f4:~/work$ rm -rf kernel tingo@kg-f4:~/work$ ln -s /storage/kernel
Ok, it is moved.
2012-09-03: sdb5 - install a new kernel:
tingo@kg-f4:/usr/src$ sudo apt-get install linux-headers-`uname -r` Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-3.2.0-29-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
not needed, next
tingo@kg-f4:/usr/src$ sudo apt-get source kernel-image-`uname -r` Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for kernel-image-3.2.0-29-generic
Hmm... I do this instead:
tingo@kg-f4:~/dl$ sudo apt-get install linux-source-3.2.0 Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: libqt3-dev The following NEW packages will be installed: linux-source-3.2.0 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 81.9 MB of archives. After this operation, 89.1 MB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main linux-source-3.2.0 all 3.2.0-29.46 [81.9 MB] Fetched 81.9 MB in 22s (3,674 kB/s) Selecting previously unselected package linux-source-3.2.0. (Reading database ... 179973 files and directories currently installed.) Unpacking linux-source-3.2.0 (from .../linux-source-3.2.0_3.2.0-29.46_all.deb) ... Setting up linux-source-3.2.0 (3.2.0-29.46) ...
and have kernel source in /usr/src/linux-source-3.2.0. Good. prepare
tingo@kg-f4:~/work$ mkdir kernel tingo@kg-f4:~/work$ cd kernel
unpack source
tingo@kg-f4:~/work/kernel$ tar xvf /usr/src/linux-source-3.2.0/linux-source-3.2.0.tar.bz2
patch it:
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ patch -p1 < ~/dl/linux-2.6.38-dvb-mutex.patch patching file drivers/media/dvb/dvb-core/dvbdev.c
start with the standard config
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ cp -vi /boot/config-`uname -r` .config `/boot/config-3.2.0-29-generic' -> `.config' do necessary step tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ yes “” | make oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config #
compile the kernel (this machine has a dual core processor, hence '-j3')
tingo@kg-f4:~/work/kernel/linux-source-3.2.0$ make -j3 (this takes some time) LD [M] sound/pci/au88x0/snd-au8820.ko sound/pci/au88x0/snd-au8810.kold: final link failed: No space left on device make[1]: *** [sound/pci/au88x0/snd-au8820.ko] Error 1 make[1]: *** Waiting for unfinished jobs.... : final close failed: No space left on device make[1]: *** [sound/pci/au88x0/snd-au8810.ko] Error 1 ld: final link failed: No space left on device make[1]: *** [sound/pci/asihpi/snd-asihpi.ko] Error 1 make: *** [modules] Error 2
Hmm, I don't have enough space to build a new kernel? Crap.
2012-09-02: sdb5 - prepare to install sasc-ng. First, install mercurial (hg):
tingo@kg-f4:~/dl$ sudo apt-get install mercurial Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: kde-l10n-es kde-l10n-fr kde-l10n-pt language-pack-kde-zh-hans-base language-pack-kde-fr-base language-pack-kde-es-base kde-l10n-ptbr language-pack-kde-xh-base language-pack-kde-en language-pack-kde-es language-pack-kde-fr kde-l10n-engb language-pack-kde-pt language-pack-kde-xh language-pack-kde-pt-base kde-l10n-zhcn language-pack-kde-zh-hans language-pack-kde-en-base Use 'apt-get autoremove' to remove them. The following extra packages will be installed: mercurial-common Suggested packages: qct wish vim emacs kdiff3 tkdiff meld xxdiff python-mysqldb python-pygments The following NEW packages will be installed: mercurial mercurial-common 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1,983 kB of archives. After this operation, 6,701 kB of additional disk space will be used. Do you want to continue [Y/n]? Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/universe mercurial-common all 2.0.2-1ubuntu1 [1,945 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ precise/universe mercurial amd64 2.0.2-1ubuntu1 [38.0 kB] Fetched 1,983 kB in 0s (1,989 kB/s) Selecting previously unselected package mercurial-common. (Reading database ... 188691 files and directories currently installed.) Unpacking mercurial-common (from .../mercurial-common_2.0.2-1ubuntu1_all.deb) ... Selecting previously unselected package mercurial. Unpacking mercurial (from .../mercurial_2.0.2-1ubuntu1_amd64.deb) ... Processing triggers for man-db ... Setting up mercurial-common (2.0.2-1ubuntu1) ... Setting up mercurial (2.0.2-1ubuntu1) ... Creating config file /etc/mercurial/hgrc.d/hgext.rc with new version
for good measure, run apt-get autoremove as suggested:
tingo@kg-f4:~/dl$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: kde-l10n-engb kde-l10n-es kde-l10n-fr kde-l10n-pt kde-l10n-ptbr kde-l10n-zhcn language-pack-kde-en language-pack-kde-en-base language-pack-kde-es language-pack-kde-es-base language-pack-kde-fr language-pack-kde-fr-base language-pack-kde-pt language-pack-kde-pt-base language-pack-kde-xh language-pack-kde-xh-base language-pack-kde-zh-hans language-pack-kde-zh-hans-base 0 upgraded, 0 newly installed, 18 to remove and 0 not upgraded. After this operation, 187 MB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 189301 files and directories currently installed.) Removing kde-l10n-engb ... Removing kde-l10n-es ... Removing kde-l10n-fr ... Removing kde-l10n-pt ... Removing kde-l10n-ptbr ... Removing kde-l10n-zhcn ... Removing language-pack-kde-pt-base ... Removing language-pack-kde-xh-base ... Removing language-pack-kde-zh-hans-base ... Removing language-pack-kde-en-base ... Removing language-pack-kde-es-base ... Removing language-pack-kde-fr-base ... Removing language-pack-kde-pt ... Removing language-pack-kde-xh ... Removing language-pack-kde-zh-hans ... Removing language-pack-kde-en ... Removing language-pack-kde-es ... Removing language-pack-kde-fr ... Processing triggers for man-db ... Processing triggers for software-center ... INFO:softwarecenter.db.update:no translation information in database needed
Ok, back to our regular program. Install a few more things needed:
tingo@kg-f4:~/work/sasc/sc/contrib/sasc-ng$ sudo apt-get install build-essential bin86 fakeroot kernel-package libncurses5-dev [sudo] password for tingo: Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: dpkg-dev g++ g++-4.6 gettext intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libgettextpo0 libmail-sendmail-perl libstdc++6-4.6-dev libsys-hostname-long-perl libtinfo-dev libunistring0 po-debconf Suggested packages: debian-keyring g++-multilib g++-4.6-multilib gcc-4.6-doc libstdc++6-4.6-dbg gettext-doc linux-source kernel-source libncurses-dev docbook-utils xmlto grub grub2 mcelog oprofile squashfs-tools quota ncurses-doc libstdc++6-4.6-doc libmail-box-perl The following NEW packages will be installed: bin86 build-essential dpkg-dev fakeroot g++ g++-4.6 gettext intltool-debian kernel-package libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libgettextpo0 libmail-sendmail-perl libncurses5-dev libstdc++6-4.6-dev libsys-hostname-long-perl libtinfo-dev libunistring0 po-debconf 0 upgraded, 21 newly installed, 0 to remove and 0 not upgraded. Need to get 12.3 MB of archives. After this operation, 38.8 MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/main libunistring0 amd64 0.9.3-5 [427 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ precise/main libgettextpo0 amd64 0.18.1.1-5ubuntu3 [120 kB] Get:3 http://no.archive.ubuntu.com/ubuntu/ precise/main bin86 amd64 0.16.17-3.1ubuntu2 [90.5 kB] Get:4 http://no.archive.ubuntu.com/ubuntu/ precise/main libstdc++6-4.6-dev amd64 4.6.3-1ubuntu5 [1,660 kB] Get:5 http://no.archive.ubuntu.com/ubuntu/ precise/main g++-4.6 amd64 4.6.3-1ubuntu5 [6,954 kB] Get:6 http://no.archive.ubuntu.com/ubuntu/ precise/main g++ amd64 4:4.6.3-1ubuntu5 [1,442 B] Get:7 http://no.archive.ubuntu.com/ubuntu/ precise/main libdpkg-perl all 1.16.1.2ubuntu7 [181 kB] Get:8 http://no.archive.ubuntu.com/ubuntu/ precise/main dpkg-dev all 1.16.1.2ubuntu7 [468 kB] Get:9 http://no.archive.ubuntu.com/ubuntu/ precise/main build-essential amd64 11.5ubuntu2 [5,978 B] Get:10 http://no.archive.ubuntu.com/ubuntu/ precise/main fakeroot amd64 1.18.2-1 [87.2 kB] Get:11 http://no.archive.ubuntu.com/ubuntu/ precise/main gettext amd64 0.18.1.1-5ubuntu3 [1,188 kB] Get:12 http://no.archive.ubuntu.com/ubuntu/ precise/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:13 http://no.archive.ubuntu.com/ubuntu/ precise/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:14 http://no.archive.ubuntu.com/ubuntu/ precise/universe kernel-package all 12.036+nmu2 [400 kB] Get:15 http://no.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-perl all 1.19.02-2 [50.7 kB] Get:16 http://no.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-diff-xs-perl amd64 0.04-2build2 [12.4 kB] Get:17 http://no.archive.ubuntu.com/ubuntu/ precise/main libalgorithm-merge-perl all 0.08-2 [12.7 kB] Get:18 http://no.archive.ubuntu.com/ubuntu/ precise/main libsys-hostname-long-perl all 1.4-2 [11.4 kB] Get:19 http://no.archive.ubuntu.com/ubuntu/ precise/main libmail-sendmail-perl all 0.79.16-1 [26.5 kB] Get:20 http://no.archive.ubuntu.com/ubuntu/ precise/main libtinfo-dev amd64 5.9-4 [103 kB] Get:21 http://no.archive.ubuntu.com/ubuntu/ precise/main libncurses5-dev amd64 5.9-4 [222 kB] Fetched 12.3 MB in 3s (3,500 kB/s) Selecting previously unselected package libunistring0. (Reading database ... 176787 files and directories currently installed.) Unpacking libunistring0 (from .../libunistring0_0.9.3-5_amd64.deb) ... Selecting previously unselected package libgettextpo0. Unpacking libgettextpo0 (from .../libgettextpo0_0.18.1.1-5ubuntu3_amd64.deb) ... Selecting previously unselected package bin86. Unpacking bin86 (from .../bin86_0.16.17-3.1ubuntu2_amd64.deb) ... Selecting previously unselected package libstdc++6-4.6-dev. Unpacking libstdc++6-4.6-dev (from .../libstdc++6-4.6-dev_4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package g++-4.6. Unpacking g++-4.6 (from .../g++-4.6_4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package g++. Unpacking g++ (from .../g++_4%3a4.6.3-1ubuntu5_amd64.deb) ... Selecting previously unselected package libdpkg-perl. Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.1.2ubuntu7_all.deb) ... Selecting previously unselected package dpkg-dev. Unpacking dpkg-dev (from .../dpkg-dev_1.16.1.2ubuntu7_all.deb) ... Selecting previously unselected package build-essential. Unpacking build-essential (from .../build-essential_11.5ubuntu2_amd64.deb) ... Selecting previously unselected package fakeroot. Unpacking fakeroot (from .../fakeroot_1.18.2-1_amd64.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.1.1-5ubuntu3_amd64.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2ubuntu1_all.deb) ... Selecting previously unselected package kernel-package. Unpacking kernel-package (from .../kernel-package_12.036+nmu2_all.deb) ... Selecting previously unselected package libalgorithm-diff-perl. Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2build2_amd64.deb) ... Selecting previously unselected package libalgorithm-merge-perl. Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ... Selecting previously unselected package libsys-hostname-long-perl. Unpacking libsys-hostname-long-perl (from .../libsys-hostname-long-perl_1.4-2_all.deb) ... Selecting previously unselected package libmail-sendmail-perl. Unpacking libmail-sendmail-perl (from .../libmail-sendmail-perl_0.79.16-1_all.deb) ... Selecting previously unselected package libtinfo-dev. Unpacking libtinfo-dev (from .../libtinfo-dev_5.9-4_amd64.deb) ... Selecting previously unselected package libncurses5-dev. Unpacking libncurses5-dev (from .../libncurses5-dev_5.9-4_amd64.deb) ... Processing triggers for man-db ... Processing triggers for install-info ... Processing triggers for doc-base ... Processing 32 changed doc-base files, 1 added doc-base file... Registering documents with scrollkeeper... Setting up libunistring0 (0.9.3-5) ... Setting up libgettextpo0 (0.18.1.1-5ubuntu3) ... Setting up bin86 (0.16.17-3.1ubuntu2) ... Setting up libdpkg-perl (1.16.1.2ubuntu7) ... Setting up dpkg-dev (1.16.1.2ubuntu7) ... Setting up fakeroot (1.18.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode. Setting up gettext (0.18.1.1-5ubuntu3) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up libalgorithm-diff-perl (1.19.02-2) ... Setting up libalgorithm-diff-xs-perl (0.04-2build2) ... Setting up libalgorithm-merge-perl (0.08-2) ... Setting up libsys-hostname-long-perl (1.4-2) ... Setting up libmail-sendmail-perl (0.79.16-1) ... Setting up libtinfo-dev (5.9-4) ... Setting up libncurses5-dev (5.9-4) ... Setting up libstdc++6-4.6-dev (4.6.3-1ubuntu5) ... Setting up g++-4.6 (4.6.3-1ubuntu5) ... Setting up g++ (4:4.6.3-1ubuntu5) ... update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode. Setting up build-essential (11.5ubuntu2) ... Setting up kernel-package (12.036+nmu2) ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
Install even more:
tingo@kg-f4:~/work/sasc/sc/contrib/sasc-ng$ sudo apt-get install g++ libssl-dev gettext Reading package lists... Done Building dependency tree Reading state information... Done g++ is already the newest version. g++ set to manually installed. gettext is already the newest version. gettext set to manually installed. The following NEW packages will be installed: libssl-dev libssl-doc zlib1g-dev 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 2,724 kB of archives. After this operation, 8,035 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/main zlib1g-dev amd64 1:1.2.3.4.dfsg-3ubuntu4 [165 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libssl-dev amd64 1.0.1-4ubuntu5.5 [1,525 kB] Get:3 http://no.archive.ubuntu.com/ubuntu/ precise-updates/main libssl-doc all 1.0.1-4ubuntu5.5 [1,034 kB] Fetched 2,724 kB in 1s (2,609 kB/s) Selecting previously unselected package zlib1g-dev. (Reading database ... 178541 files and directories currently installed.) Unpacking zlib1g-dev (from .../zlib1g-dev_1%3a1.2.3.4.dfsg-3ubuntu4_amd64.deb) ... Selecting previously unselected package libssl-dev. Unpacking libssl-dev (from .../libssl-dev_1.0.1-4ubuntu5.5_amd64.deb) ... Selecting previously unselected package libssl-doc. Unpacking libssl-doc (from .../libssl-doc_1.0.1-4ubuntu5.5_all.deb) ... Processing triggers for man-db ... Setting up zlib1g-dev (1:1.2.3.4.dfsg-3ubuntu4) ... Setting up libssl-dev (1.0.1-4ubuntu5.5) ... Setting up libssl-doc (1.0.1-4ubuntu5.5) ...
Ok.
2012-09-02: sdb5 - Xubuntu 12.04 LTS (modified). This will be the one I modify for media experiments.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
So let me fix /etc/motd. by adding a /etc/motd.tail file:
tingo@kg-f4:~$ sudo vi /etc/motd.tail
contents of /etc/motd.tail:
tingo@kg-f4:~$ more /etc/motd.tail MODIFIED - for media experiments - MODIFIED
That's it.
2012-09-02: sdb4 - I used GParted to create a 13.4 GB partition on sdb, sdb5, and made a new filesystem on it:
tingo@kg-f4:~$ sudo mkfs.ext4 /dev/sdb5 mke2fs 1.41.14 (22-Dec-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 819200 inodes, 3275264 blocks 163763 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=3355443200 100 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 24 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override.
Prepare to copy from sdb2 to sdb5. mount
tingo@kg-f4:~$ sudo mount /dev/sdb2 /media tingo@kg-f4:~$ sudo mount /dev/sdb5 /mnt
copy
tingo@kg-f4:~$ cd /mnt tingo@kg-f4:/mnt$ sudo cp -a /media/* .
find blkid
tingo@kg-f4:/mnt/boot/grub$ sudo blkid /dev/sda2: TYPE="ufs" /dev/sda4: TYPE="ufs" /dev/sdb2: UUID="9da4cdfd-4304-48d5-9348-a6bed474a8e4" TYPE="ext4" /dev/sdb3: UUID="5d2bd508-904a-42e7-b7a8-f322dd36fae0" TYPE="swap" /dev/sdb4: UUID="b09fa2f2-3009-4979-af36-da655cedd276" TYPE="ext4" /dev/sdb5: UUID="b5b06778-d44d-42eb-b0dd-4ef5c46a7c80" TYPE="ext4"
fix blkid for the root partition in fstab: fix fstab:
tingo@kg-f4:/mnt$ sudo vi etc/fstab
updated fstab
tingo@kg-f4:/mnt$ more etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sdb2 during installation #UUID=9da4cdfd-4304-48d5-9348-a6bed474a8e4 / ext4 errors=remount-ro 0 1 # new root is on sdb5 UUID=b5b06778-d44d-42eb-b0dd-4ef5c46a7c80 / ext4 errors=remount-ro 0 1 # swap was on /dev/sdb3 during installation UUID=5d2bd508-904a-42e7-b7a8-f322dd36fae0 none swap sw 0 0
fix grub
on sdb5 (the copy) rename /boot/grub/grub.cfg to old_grub.cfg:
tingo@kg-f4:/mnt$ cd boot/grub tingo@kg-f4:/mnt/boot/grub$ sudo mv grub.cfg old_grub.cfg
unmount
tingo@kg-f4:/mnt$ cd tingo@kg-f4:~$ sudo umount /media tingo@kg-f4:~$ sudo umount /mnt
then boot from sdb2 and run update-grub
tingo@kg-f4:~$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found Found unknown Linux distribution on /dev/sda2 Found Ubuntu 11.10 (11.10) on /dev/sdb4 Found Ubuntu 12.04.1 LTS (12.04) on /dev/sdb5 done
Does the generated grub.cfg look ok? Well, sort of. There are still many entries with the same name on other partitions (sdb4 and sdb5). Not elegant. Finally, verify if it boots from sdb5. It does - great.
2012-09-01: sdb4 - Xubuntu 11.10 copied ok. dmesg output: normal.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ swapon -s Filename Type Size Used Priority /dev/sdb3 partition 3906244 0 -1 tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb4 12G 4.9G 6.2G 45% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.5G 868K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 160K 3.8G 1% /run/shm
That's it.
2012-09-01: sdb2 - I used GParted to create a 12.6 GB partition on sdb, sdb4. Then I make a new filesystem on it:
tingo@kg-f4:~$ sudo mkfs.ext4 /dev/sdb4 mke2fs 1.42 (29-Nov-2011) Discarding device blocks: done Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 768544 inodes, 3072000 blocks 153600 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=3145728000 94 block groups 32768 blocks per group, 32768 fragments per group 8176 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208 Allocating group tables: done Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
That's it. Prepare to copy from sdc1 to sdb4: mount
tingo@kg-f4:~$ sudo mount /dev/sdc1 /media tingo@kg-f4:~$ sudo mount /dev/sdb4 /mnt
does it look right?
tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb2 28G 4.2G 23G 16% / udev 3.8G 8.0K 3.8G 1% /dev tmpfs 1.5G 936K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 96K 3.8G 1% /run/shm /dev/sdc1 11G 5.0G 5.5G 48% /media /dev/sdb4 12G 305M 11G 3% /mnt
Yes, it's ok. copy:
tingo@kg-f4:~$ cd /mnt tingo@kg-f4:/mnt$ sudo cp -a /media/* .
run blkid to find ut the new root file system (sdb4) and swap (sdb3):
tingo@kg-f4:/mnt$ sudo blkid /dev/sda2: TYPE="ufs" /dev/sda4: TYPE="ufs" /dev/sdb2: UUID="9da4cdfd-4304-48d5-9348-a6bed474a8e4" TYPE="ext4" /dev/sdb3: UUID="5d2bd508-904a-42e7-b7a8-f322dd36fae0" TYPE="swap" /dev/sdb4: UUID="b09fa2f2-3009-4979-af36-da655cedd276" TYPE="ext4" /dev/sdc1: UUID="8aa18434-4342-47b6-b8a0-77c385a3e9f7" TYPE="ext4" /dev/sdc5: UUID="e2b62ea3-5487-44a8-ab46-dc615945a594" TYPE="swap"
then fix the fstab:
tingo@kg-f4:/mnt$ sudo vi etc/fstab
updated fstab:
tingo@kg-f4:/mnt$ more etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sdb1 during installation #UUID=8aa18434-4342-47b6-b8a0-77c385a3e9f7 / ext4 errors=remount-ro 0 1 UUID=b09fa2f2-3009-4979-af36-da655cedd276 / ext4 errors=remount-ro 0 1 # swap was on /dev/sdb5 during installation #UUID=e2b62ea3-5487-44a8-ab46-dc615945a594 none swap sw 0 0 UUID=5d2bd508-904a-42e7-b7a8-f322dd36fae0 none swap sw 0 0
then I need to fix grub. unmount:
tingo@kg-f4:~$ sudo umount /media tingo@kg-f4:~$ sudo umount /mnt
then disconnect the usb drive, and run update-grub:
tingo@kg-f4:~$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found Found unknown Linux distribution on /dev/sda2 Found Ubuntu 11.10 (11.10) on /dev/sdb4 done
Looks ok. Now, will it boot? No, it doesn't. Something else is required. On sdb4, I renamed /boot/grub/grub,cfg to /boot/grub/old_grub.cfg and re-ran update-grub:
tingo@kg-f4:~$ sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.2.0-29-generic Found initrd image: /boot/initrd.img-3.2.0-29-generic Found linux image: /boot/vmlinuz-3.2.0-23-generic Found initrd image: /boot/initrd.img-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found Found unknown Linux distribution on /dev/sda2 Found Ubuntu 11.10 (11.10) on /dev/sdb4 done
This time, grub.cfg looks correct: no more different UUIDs for the sdb4 entries. Ok, it boots.
2012-08-31: sdb2 - running w_scan:
tingo@kg-f4:~$ w_scan -fc -c NO w_scan version 20111203 (compiled for DVB API 5.4) using settings for NORWAY DVB cable DVB-C frontend_type DVB-C, channellist 7 output format vdr-1.6 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override Info: using DVB adapter auto detection. /dev/dvb/adapter0/frontend0 -> DVB-T "Sony CXD2820R (DVB-T/T2)": specified was DVB-C -> SEARCH NEXT ONE. /dev/dvb/adapter0/frontend1 -> DVB-C "Sony CXD2820R (DVB-C)": good :-) Using DVB-C frontend (adapter /dev/dvb/adapter0/frontend1) -_-_-_-_ Getting frontend capabilities-_-_-_-_ Using DVB API 5.4 frontend 'Sony CXD2820R (DVB-C)' supports INVERSION_AUTO QAM_AUTO not supported, trying QAM_64 QAM_256. FEC_AUTO FREQ (45.00MHz ... 864.00MHz) This dvb driver is *buggy*: the symbol rate limits are undefined - please report to linuxtv.org -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ (output skipped) 842000: sr6900 (time: 13:23) sr6875 (time: 13:26) 850000: sr6900 (time: 13:28) sr6875 (time: 13:31) 858000: sr6900 (time: 13:33) sr6875 (time: 13:36) ERROR: Sorry - i couldn't get any working frequency/transponder Nothing to scan!!
OK, so it doesn't work with Xubuntu 12.04 out of the box.
2012-08-31: sdb2 - adding my user to the video group:
tingo@kg-f4:~$ sudo usermod -a -G video tingo
check: (after logout / login)
tingo@kg-f4:~$ id uid=1000(tingo) gid=1000(tingo) groups=1000(tingo),4(adm),24(cdrom),27(sudo),30(dip),44(video),46(plugdev),110(lpadmin),123(sambashare)
Ok.
2012-08-31: sdb2 - installing w_scan:
tingo@kg-f4:~$ apt-cache search w_scan w-scan - Channel scanning tool for DVB and ATSC channels tingo@kg-f4:~$ sudo apt-get install w-scan Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: kde-l10n-es kde-l10n-fr kde-l10n-pt language-pack-kde-zh-hans-base language-pack-kde-fr-base language-pack-kde-es-base kde-l10n-ptbr language-pack-kde-xh-base language-pack-kde-en language-pack-kde-es language-pack-kde-fr kde-l10n-engb language-pack-kde-pt language-pack-kde-xh language-pack-kde-pt-base kde-l10n-zhcn language-pack-kde-zh-hans language-pack-kde-en-base Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: w-scan 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 98.1 kB of archives. After this operation, 314 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ precise/universe w-scan amd64 20111203-1 [98.1 kB] Fetched 98.1 kB in 0s (322 kB/s) Selecting previously unselected package w-scan. (Reading database ... 188680 files and directories currently installed.) Unpacking w-scan (from .../w-scan_20111203-1_amd64.deb) ... Processing triggers for man-db ... Setting up w-scan (20111203-1) ...
Hmm...
tingo@kg-f4:~$ which w-scan tingo@kg-f4:~$ which w_scan /usr/bin/w_scan
Ok, good.
2012-08-31: sdb2 - update-manager indicated 303 updates, which I installed. Among them Firefox 15.0, a newer version of dhcpclient, some Xorg related updates an update to grub and a new kernel. I had to run grub-install manually, because the automatic part failed to run it:
tingo@kg-f4:~/work/1_dmesg$ sudo grub-install /dev/sdb Installation finished. No error reported.
After a reboot, the system now looks like this (dmesg output: normal):
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
that is all.
2012-08-31: sdb2 - Finally, Xubuntu 12.04 installed. dmesg output: normal.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04 LTS Release: 12.04 Codename: precise tingo@kg-f4:~$ uname -a Linux kg-f4 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb2 28G 2.8G 24G 11% / devtmpfs 3.8G 4.0K 3.8G 1% /dev none 761M 912K 760M 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 96K 3.8G 1% /run/shm
Good.
2012-08-31: installing Xubuntu 12.04. I disconnected the external usb drive, booted from a usb memory stick and used GParted to created a 1MB partition with the bios_grub flag set on sdb. This is what parted (sudo parted -l) says:
Model: ATA OCZ-AGILITY3 (scsi) Disk /dev/sdb: 60.0GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 1049kB 2097kB 1049kB bios_grub
Now I am ready to install Xubuntu. I selected "do something else" from the installer menu, set up at 30 GB ext4 partition fro / (root) on sdb, added a 4 GB swap partiton. The installer had automatically selected sdb for bootloader installation. Now it appears hung on the "Calculating files to skip copying" step. A few hours later (I just left it) when I came back, the installtion was at the "choose picture" stage, and nearly finished. It did complain about "migrating data" failing, but since I hadn't asked it to migrate any data, I didn't care about that. I selected "continue to explore..." so that I could finish a few crucial steps before rebooting. First I fixed /etc/dhcp/dhclient.conf (actually /target/etc/dhcp/dhclient.conf) by adding the line:
send dhcp-client-identifier "kg-f4.kg4.no";
next up, copying ssh keys from the one of the FreeBSD partitions. mount the FreeBSD partition:
xubuntu@xubuntu:~$ sudo mount -r -t ufs -o ufstype=ufs2 /dev/sda2 /mnt
check keys:
xubuntu@xubuntu:~$ ls /mnt/etc/ssh/*key* /mnt/etc/ssh/ssh_host_dsa_key /mnt/etc/ssh/ssh_host_ecdsa_key.pub /mnt/etc/ssh/ssh_host_rsa_key /mnt/etc/ssh/ssh_host_dsa_key.pub /mnt/etc/ssh/ssh_host_key /mnt/etc/ssh/ssh_host_rsa_key.pub /mnt/etc/ssh/ssh_host_ecdsa_key /mnt/etc/ssh/ssh_host_key.pub
check that the target is ready:
xubuntu@xubuntu:~$ ls /target/etc/ssh moduli ssh_config
copy them:
xubuntu@xubuntu:~$ sudo cp -v /mnt/etc/ssh/*key* /target/etc/ssh/ `/mnt/etc/ssh/ssh_host_dsa_key' -> `/target/etc/ssh/ssh_host_dsa_key' `/mnt/etc/ssh/ssh_host_dsa_key.pub' -> `/target/etc/ssh/ssh_host_dsa_key.pub' `/mnt/etc/ssh/ssh_host_ecdsa_key' -> `/target/etc/ssh/ssh_host_ecdsa_key' `/mnt/etc/ssh/ssh_host_ecdsa_key.pub' -> `/target/etc/ssh/ssh_host_ecdsa_key.pub' `/mnt/etc/ssh/ssh_host_key' -> `/target/etc/ssh/ssh_host_key' `/mnt/etc/ssh/ssh_host_key.pub' -> `/target/etc/ssh/ssh_host_key.pub' `/mnt/etc/ssh/ssh_host_rsa_key' -> `/target/etc/ssh/ssh_host_rsa_key' `/mnt/etc/ssh/ssh_host_rsa_key.pub' -> `/target/etc/ssh/ssh_host_rsa_key.pub'
Done. all that remains is to install openssh-server after booting the installation. Well, I tried to boot it, but that didn't work - it always booted the FreeBSD installation on sda instead. Darn! So now I rebooted from the usb memory stick again, selected "try Xubuntu" and installed openssh-server again. Mount the root partition:
xubuntu@xubuntu:~$ sudo mount /dev/sdb2 /mnt check my suspicion: xubuntu@xubuntu:~$ ls /mnt/boot/grub gfxblacklist.txt
Aha, no grub.cfg. Let's see if we can correct that:
xubuntu@xubuntu:~$ sudo su - root@xubuntu:~# mount -o bind /dev /mnt/dev root@xubuntu:~# chroot /mnt /bin/bash root@xubuntu:/# mount /sys
then try to configure grub again
root@xubuntu:/# grub-mkconfig -o /boot/grub/grub.cfg Generating grub.cfg ... cat: /boot/grub/video.lst: No such file or directory Found linux image: /boot/vmlinuz-3.2.0-23-generic Found memtest86+ image: /boot/memtest86+.bin grep: /proc/mounts: No such file or directory grep: /proc/swaps: No such file or directory /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found /usr/lib/os-probes/mounted/90bsd-distro: 17: /usr/lib/os-probes/mounted/90bsd-distro: gawk: not found Found unknown Linux distribution on /dev/sda2 Found Ubuntu 12.04 LTS (12.04) on /dev/sdb2 done
Hmm, I'm not entirely happy with that. And the Boot Info Script confirms that sdb has issues. From the RESULTS.txt file:
=> No boot loader is installed in the MBR of /dev/sdb. sdb1: __________________________________________________________________________ File system: BIOS Boot partition Boot sector type: - Boot sector info: sdb2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 12.04 LTS Boot files: /boot/grub/grub.cfg /etc/fstab sdb3: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info:
So let's try to re-run grub-install:
root@xubuntu:/# grub-install /dev/sdb
Installation finished. No error reported. and try the boot info script again. From RESULTS1.txt:
=> Grub2 (v1.99) is installed in the MBR of /dev/sdb and looks at sector 2048 of the same hard drive for core.img. core.img is at this location and looks for (,gpt2)/boot/grub on this drive. sdb1: __________________________________________________________________________ File system: BIOS Boot partition Boot sector type: Grub2's core.img Boot sector info: sdb2: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Ubuntu 12.04 LTS Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sdb3: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info:
OK, it looks better now. Let's see if it boots. Yes, it does.
2012-08-31: sdc1 - after having installed another intern sata drive (another 60 GB OCZ Agility 3 ssd), the external usb drive is now sdc. Here is what parted says:
tingo@kg-f4:~$ sudo parted -l Model: ATA OCZ-AGILITY3 (scsi) Disk /dev/sda: 60.0GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 82.9kB 65.5kB 2 82.9kB 27.9GB 27.9GB freebsd-ufs 3 27.9GB 32.2GB 4295MB 4 32.2GB 59.1GB 26.8GB freebsd-ufs Model: ATA OCZ-AGILITY3 (scsi) Disk /dev/sdb: 60.0GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags Model: HITACHI_ DK23EB-20 (scsi) Disk /dev/sdc: 20.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 11.8GB 11.8GB primary ext4 boot 2 11.8GB 20.0GB 8183MB extended 5 11.8GB 20.0GB 8183MB logical linux-swap(v1)
The new SSD shows up as sdb.
2012-08-30: sdb1 - did a reboot to get the usb devices in "correct order". Now lsusb says:
tingo@kg-f4:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 0ccd:10a3 TerraTec Electronic GmbH Bus 001 Device 004: ID 2013:024f Unknown (Pinnacle?) Bus 001 Device 005: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge Bus 004 Device 002: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter
From dmesg:
[ 23.817514] em28xx: New device PCTV Systems PCTV 290e @ 480 Mbps (2013:024f, interface 0, class 0) [ 23.817521] em28xx: DVB interface 0 found [ 23.817704] em28xx #0: chip ID is em28174 [ 23.965591] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 24.125655] em28xx #0: Identified as PCTV nanoStick T2 290e (card=78) [ 24.152027] Registered IR keymap rc-pinnacle-pctv-hd [ 24.152993] input: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:12.2/usb1/1-3/rc/rc0/input7 [ 24.153901] rc0: em28xx IR (em28xx #0) as /devices/pci0000:00/0000:00:12.2/usb1/1-3/rc/rc0 [ 24.155727] em28xx #0: v4l2 driver version 0.1.3 [ 24.161030] em28xx #0: V4L2 video device registered as video0 [ 24.161738] usbcore: registered new interface driver em28xx [ 24.358111] tda18271 9-0060: creating new instance [ 24.362881] TDA18271HD/C2 detected @ 9-0060 [ 24.618086] DVB: registering new adapter (em28xx #0) [ 24.618097] DVB: registering adapter 0 frontend 0 (Sony CXD2820R)... [ 24.618753] em28xx #0: Successfully loaded em28xx-dvb [ 24.618760] Em28xx: Initialized (Em28xx dvb Extension) extension [ 25.152566] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 25.152934] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 25.155776] dvb-usb: MAC address reading failed. [ 25.382630] drxk: status = 0x439130d9 [ 25.382641] drxk: detected a drx-3913k, spin A2, xtal 27.000 MHz [ 27.797552] DRXK driver version 0.9.4300 [ 27.891659] drxk: frontend initialized. [ 27.893134] DVB: registering adapter 1 frontend 0 (DRXK DVB-C DVB-T)... [ 27.951114] mt2063_attach: Attaching MT2063 [ 28.080063] Registered IR keymap rc-nec-terratec-cinergy-xs [ 28.080323] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc1/input8 [ 28.080448] rc1: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc1 [ 28.080454] dvb-usb: schedule remote query interval to 400 msecs. [ 28.080461] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. [ 28.080506] usbcore: registered new interface driver dvb_usb_az6007 [ 551.864437] tda18271: performing RF tracking filter calibration [ 555.181616] tda18271: RF tracking filter calibration complete
Ok, so the PCTV nanoStick T2 is found first, and the TerraTerc H7 second.
2012-08-30: sdb1 - after connecting power to the TerraTec H7 (duh!), here is what lsusb shows:
tingo@kg-f4:~$ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 003: ID 2013:024f Unknown (Pinnacle?) Bus 001 Device 004: ID 152d:2338 JMicron Technology Corp. / JMicron USA Technology Corp. JM20337 Hi-Speed USB to SATA & PATA Combo Bridge Bus 004 Device 002: ID 0a81:0205 Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter Bus 001 Device 005: ID 0ccd:10a3 TerraTec Electronic GmbH
I think that 001 003 is the PCTV nanoStick T2. Yes, the output from dmesg confirms it:
[ 15.232135] em28xx: New device PCTV Systems PCTV 290e @ 480 Mbps (2013:024f, interface 0, class 0) [ 15.232142] em28xx: DVB interface 0 found [ 15.232345] em28xx #0: chip ID is em28174 [ 15.541798] em28xx #0: Identified as PCTV nanoStick T2 290e (card=78)
Good. Here is what dmesg says about the H7:
[ 1406.060167] usb 1-2: new high speed USB device number 5 using ehci_hcd [ 1407.193825] az6007: usb read operation failed. (-32) [ 1407.196958] az6007: usb write operation failed. (-32) [ 1407.197179] az6007: usb write operation failed. (-32) [ 1407.197189] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in cold state, will try to load a firmware [ 1407.244755] dvb-usb: downloading firmware from file 'dvb-usb-terratec-h7-az6007.fw' [ 1407.263303] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 1408.504124] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 1408.505095] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 1408.508184] dvb-usb: MAC address reading failed. [ 1408.615006] drxk: status = 0x439130d9 [ 1408.615025] drxk: detected a drx-3913k, spin A2, xtal 27.000 MHz [ 1410.885587] DRXK driver version 0.9.4300 [ 1410.980129] drxk: frontend initialized. [ 1410.980585] DVB: registering adapter 1 frontend 0 (DRXK DVB-C DVB-T)... [ 1411.038524] mt2063_attach: Attaching MT2063 [ 1411.100078] Registered IR keymap rc-nec-terratec-cinergy-xs [ 1411.100416] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc1/input8 [ 1411.100625] rc1: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc1 [ 1411.100636] dvb-usb: schedule remote query interval to 400 msecs. [ 1411.100648] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. [ 1411.100707] usbcore: registered new interface driver dvb_usb_az6007
Interesting.
2012-08-30: sdb1 - after having installed a intern sata drive (60 GB OCZ Agility 3 ssd), the external usb drive is now sdb.
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sdb1 11G 5.0G 5.4G 49% / udev 3.8G 4.0K 3.8G 1% /dev tmpfs 1.5G 836K 1.5G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.8G 160K 3.8G 1% /run/shm
Here is what parted thinks:
tingo@kg-f4:~$ sudo parted -l Model: ATA OCZ-AGILITY3 (scsi) Disk /dev/sda: 60.0GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 82.9kB 65.5kB 2 82.9kB 27.9GB 27.9GB freebsd-ufs 3 27.9GB 32.2GB 4295MB 4 32.2GB 59.1GB 26.8GB freebsd-ufs Model: HITACHI_ DK23EB-20 (scsi) Disk /dev/sdb: 20.0GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 11.8GB 11.8GB primary ext4 boot 2 11.8GB 20.0GB 8183MB extended 5 11.8GB 20.0GB 8183MB logical linux-swap(v1)
First, fix a few things. Or not. /etc/dhcp/dhclient.conf already contains the line
send dchp-client-identifier "kg-f4.kg4.no";
but it doesn't work. Oh well.
2012-03-21: sda1 - testing, w_scan again:
tingo@kg-f4:~$ w_scan -fc -c NO w_scan version 20120128 (compiled for DVB API 5.3) using settings for NORWAY DVB cable DVB-C scan type CABLE, channellist 7 output format vdr-1.6 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override Info: using DVB adapter auto detection. /dev/dvb/adapter0/frontend0 -> CABLE "Sony CXD2820R": very good :-)) Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0) -_-_-_-_ Getting frontend capabilities-_-_-_-_ Using DVB API 5.5 frontend 'Sony CXD2820R' supports INVERSION_AUTO QAM_AUTO FEC_AUTO FREQ (45.00MHz ... 864.00MHz) This dvb driver is *buggy*: the symbol rate limits are undefined - please report to linuxtv.org -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
it didn't find anything in 15 minutes, so I killed it. Testing with Kaffeine: yes, now it works, including encrypted channels.
2012-03-21: sda1 - patching and rebuilding media_build drivers:
tingo@kg-f4:~$ cd ~/work/media_build/linux tingo@kg-f4:~/work/media_build/linux$ patch -p1 < ~/work/kernel/linux-2.6.38-dvb-mutex.patch patching file drivers/media/dvb/dvb-core/dvbdev.c tingo@kg-f4:~/work/media_build$ make tingo@kg-f4:~/work/media_build$ sudo make install
Next, reboot and so on. After reboot, load the dvbloopback module:
tingo@kg-f4:~$ sudo modprobe dvbloopback num_adapters=2
Done.
2012-03-21: sda1 - testing with Kaffeine: it hangs when starting. Perhaps the dvb-mutex patch is still needed?
2012-03-21: sda1 - testing with w_scan:
tingo@kg-f4:~$ w_scan -fc -c NO
Output is:
tingo@kg-f4:~$ w_scan -fc -c NO w_scan version 20120128 (compiled for DVB API 5.3) using settings for NORWAY DVB cable DVB-C scan type CABLE, channellist 7 output format vdr-1.6 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override Info: using DVB adapter auto detection. /dev/dvb/adapter0/frontend0 -> CABLE "Sony CXD2820R": very good :-)) Using CABLE frontend (adapter /dev/dvb/adapter0/frontend0) -_-_-_-_ Getting frontend capabilities-_-_-_-_ Using DVB API 5.5 frontend 'Sony CXD2820R' supports INVERSION_AUTO QAM_AUTO FEC_AUTO FREQ (45.00MHz ... 864.00MHz) This dvb driver is *buggy*: the symbol rate limits are undefined - please report to linuxtv.org -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ 73000: sr6900 (time: 00:00) sr6875 (time: 00:05) 81000: sr6900 (time: 00:10) sr6875 (time: 00:15) 113000: sr6900 (time: 00:20) sr6875 (time: 00:25) 121000: sr6900 (time: 00:29) sr6875 (time: 00:34) 129000: sr6900 (time: 00:39) sr6875 (time: 00:44) 137000: sr6900 (time: 00:49) sr6875 (time: 00:54) 145000: sr6900 (time: 00:59) sr6875 (time: 01:04) 153000: sr6900 (time: 01:09) sr6875 (time: 01:14) 161000: sr6900 (time: 01:18) sr6875 (time: 01:23) 169000: sr6900 (time: 01:28) sr6875 (time: 01:33) 314000: sr6900 (time: 01:38) sr6875 (time: 01:41) 322000: sr6900 (time: 01:43) sr6875 (time: 01:46) 330000: sr6900 (time: 01:48) sr6875 (time: 01:51) 338000: sr6900 (time: 01:53) sr6875 (time: 01:56) 346000: sr6900 (time: 01:58) sr6875 (time: 02:01) 354000: sr6900 (time: 02:03) sr6875 (time: 02:06) 362000: sr6900 (time: 02:08) sr6875 (time: 02:11) 370000: sr6900 (time: 02:13) sr6875 (time: 02:16) 378000: sr6900 (time: 02:18) sr6875 (time: 02:21) 386000: sr6900 (time: 02:23) sr6875 (time: 02:26) 394000: sr6900 (time: 02:28) sr6875 (time: 02:31) 402000: sr6900 (time: 02:33) ^C ERROR: interrupted by SIGINT, dumping partial result... dumping lists (0 services) Done.
I stopped it there. Time to patch and rebuild media_build drivers.
2012-03-21: sda1 - building sasc-ng:
tingo@kg-f4:~/work/media_build$ cd ~/work/sasc/sc_603/contrib/sasc-ng configure against the media_build drivers: tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ ./configure --dvb-dir=~/work/media_build Using C++ compiler: g++ Using compile type debug Processor capabilities: native ( mmx sse sse2 ) Trying various FFdecsa optimizations... PARALLEL_32_INT: 102 PARALLEL_64_2INT: 101 PARALLEL_64_LONG: 161 PARALLEL_64_MMX: 136 PARALLEL_128_2LONG: 138 PARALLEL_128_2MMX: 123 PARALLEL_128_SSE: 157 PARALLEL_128_SSE2: 157 Choosing PARALLEL_MODE = PARALLEL_64_LONG Using DVB_DIR: /home/tingo/work/media_build/linux
build it:
tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ make clean tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ make tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ make module
install it:
tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo rm /lib/modules/`uname -r`/misc/dvbloopback.ko tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo cp sasc-ng /usr/bin tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo cp ./sc/PLUGINS/lib/* /usr/lib/ tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo mkdir /lib/modules/`uname -r`/misc mkdir: cannot create directory `/lib/modules/3.0.0-16-generic/misc': File exists tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo /usr/bin/install dvbloopback.ko /lib/modules/`uname -r`/misc/
Try to load the modules:
tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo depmod tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo modprobe dvbloopback num_adapters=2 FATAL: Error inserting dvbloopback (/lib/modules/3.0.0-16-generic/misc/dvbloopback.ko): Invalid argument
Still doesn't work - crap!. Let's try a reboot, and retry. After reboot, the following drivers are loaded:
tingo@kg-f4:~$ lsmod | grep dvb em28xx_dvb 22850 0 dvb_usb_az6007 22754 0 em28xx 113298 1 em28xx_dvb dvb_usb 32387 1 dvb_usb_az6007 dvb_core 109744 4 cxd2820r,em28xx_dvb,dvb_usb_az6007,dvb_usb rc_core 26372 7 rc_nec_terratec_cinergy_xs,rc_pinnacle_pctv_hd,dvb_usb_az6007,em28xx,dvb_usb
Nice. Retry the dvbloopback.ko module:
tingo@kg-f4:~$ sudo depmod tingo@kg-f4:~$ sudo modprobe dvbloopback num_adapters=2
Did it work?
tingo@kg-f4:~$ lsmod | grep dvb dvbloopback 23934 0 em28xx_dvb 22850 0 dvb_usb_az6007 22754 0 em28xx 113298 1 em28xx_dvb dvb_usb 32387 1 dvb_usb_az6007 dvb_core 109744 5 dvbloopback,cxd2820r,em28xx_dvb,dvb_usb_az6007,dvb_usb rc_core 26372 7 rc_nec_terratec_cinergy_xs,rc_pinnacle_pctv_hd,dvb_usb_az6007,em28xx,dvb_usb
Yes, finally it did. I probably should automate loading of the dvbloopback module.
2012-03-21: sda1 - building updated media_build drivers (via http://git.linuxtv.org/media_build.git):
tingo@kg-f4:~/work$ rm -rf media_build tingo@kg-f4:~/work$ git clone git://linuxtv.org/media_build.git tingo@kg-f4:~/work$ cd media_build tingo@kg-f4:~/work$ ./build
which took some time. Time to install:
tingo@kg-f4:~/work/media_build$ sudo make install
That's it for the media_build drivers. Now I need to rebuild sasc-ng.
2012-03-21: sda1 - I ran update-manager, which brought a lot of updates, including a kernel update. After the reboot, I now have:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-16-generic #29-Ubuntu SMP Tue Feb 14 12:48:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
It doesn't look like dvbloopback.ko is loaded:
tingo@kg-f4:~$ sudo lsmod | grep dvb em28xx_dvb 18304 0 cxd2820r 29389 3 em28xx_dvb dvb_core 110616 2 em28xx_dvb,cxd2820r em28xx 108731 1 em28xx_dvb
Probably because it is from an old kernel:
tingo@kg-f4:~$ locate dvbloopback.ko /home/tingo/work/sasc/sc_603/contrib/sasc-ng/dvbloopback.ko /home/tingo/work/sasc/sc_603/contrib/sasc-ng/dvbloopback/module/.dvbloopback.ko.cmd /home/tingo/work/sasc/sc_603/contrib/sasc-ng/dvbloopback/module/dvbloopback.ko /lib/modules/3.0.0-15-generic/misc/dvbloopback.ko
Ok, must be fixed. Let's just try to install the old dvbloopback.ko:
tingo@kg-f4:~$ cd ~/work/sasc/sc_603/contrib/sasc-ng tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo mkdir /lib/modules/`uname -r`/misc tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo /usr/bin/install dvbloopback.ko /lib/modules/`uname -r`/misc/
Install good. Now try to start it:
tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo depmod tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ sudo modprobe dvbloopback num_adapters=2 FATAL: Error inserting dvbloopback (/lib/modules/3.0.0-16-generic/misc/dvbloopback.ko): Invalid argument
Ok, so just using an old kernel module isn't working. From /var/log/messages:
tingo@kg-f4:~/work/sasc/sc_603/contrib/sasc-ng$ tvlm Mar 21 20:49:17 kg-f4 kernel: [ 1080.051855] dvbloopback: disagrees about version of symbol dvb_generic_open Mar 21 20:49:17 kg-f4 kernel: [ 1080.051864] dvbloopback: Unknown symbol dvb_generic_open (err -22) Mar 21 20:49:17 kg-f4 kernel: [ 1080.051890] dvbloopback: disagrees about version of symbol dvb_unregister_device Mar 21 20:49:17 kg-f4 kernel: [ 1080.051898] dvbloopback: Unknown symbol dvb_unregister_device (err -22) Mar 21 20:49:17 kg-f4 kernel: [ 1080.051922] dvbloopback: disagrees about version of symbol dvb_generic_release Mar 21 20:49:17 kg-f4 kernel: [ 1080.051930] dvbloopback: Unknown symbol dvb_generic_release (err -22) Mar 21 20:49:17 kg-f4 kernel: [ 1080.052049] dvbloopback: disagrees about version of symbol dvb_register_device Mar 21 20:49:17 kg-f4 kernel: [ 1080.052059] dvbloopback: Unknown symbol dvb_register_device (err -22) Mar 21 20:49:17 kg-f4 kernel: [ 1080.052077] dvbloopback: disagrees about version of symbol dvb_unregister_adapter Mar 21 20:49:17 kg-f4 kernel: [ 1080.052085] dvbloopback: Unknown symbol dvb_unregister_adapter (err -22)
Ok, so it is back to recompile the media_build drivers and sasc-ng then.
2012-03-21: sda1 - info:
tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
That's it.
2012-02-10: patching dvb-core and rebuilding media drivers:
tingo@kg-f4:~/work/media_build$ cd linux tingo@kg-f4:~/work/media_build/linux$ tingo@kg-f4:~/work/media_build/linux$ patch -p1 < ~/work/kernel/linux-2.6.38-dvb-mutex.patch patching file drivers/media/dvb/dvb-core/dvbdev.c
Done, now rebuild:
make sudo make install
then reboot.
2012-02-10: patching the dvb-core kernel module for dvbloopback. I followed the guide here (see section for Ubuntu 11.10):
cd ~/work/kernel cd linux-3.0.0 patch -p1 < ../linux-2.6.38-dvb-mutex.patch cp /boot/config-3.0.0-15-generic .config cp /usr/src/linux-headers-3.0.0-15-generic/Module.symvers . make oldconfig make prepare make scripts make modules SUBDIRS=drivers/media/dvb/
then install them - or not. I need to patch the media drivers instead.
2012-02-09: installed hg (mercurial) via synaptic.
2012-02-09: tried to use Kaffeine to view DVB, got the error message "kaffeine cannot find demux plugin for MRL..." and found out via google that I needed to install the package libxine1-all-plugins. after that, Kaffeine works with the PCTV nanoStick T2. I can scan channels, and view unencrypted channels (no indication for the encrypted channels, just no picture or sound). w_scan also works with the nanoStick T2.
2012-02-08: add myself to the video group (for access to the devices):
tingo@kg-f4:~/work/w_scan-20120128$ sudo usermod -G video -a tingo
2012-02-08: w_scan - I downloaded the source:
tingo@kg-f4:~/dl$ wget http://wirbel.htpc-forum.de/w_scan/w_scan-20120128.tar.bz2
unpacked it and tried to build it:
tingo@kg-f4:~/work$ cd w_scan-20120128 ./configure make
Then it is testing w_scan:
2012-02-08: TerraTec H7: I found this patch, and then did
tingo@kg-f4:~/work/media_build$ make tingo@kg-f4:~/work/media_build$ sudo make install
Will it work now? Yes, it seems so. Various from dmesg output, after a reboot:
[ 19.755806] dvb-usb: found a 'TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)' in warm state. [ 19.802268] IR RC5(x) protocol handler initialized [ 19.832401] IR RC6 protocol handler initialized [ 19.879815] IR JVC protocol handler initialized [ 19.927666] IR Sony protocol handler initialized [ 20.013525] IR SANYO protocol handler initialized [ 20.065038] IR MCE Keyboard/mouse protocol handler initialized [ 20.082834] lirc_dev: IR Remote Control driver registered, major 250 [ 20.095951] IR LIRC bridge handler initialized [ 20.948632] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer. [ 20.949045] DVB: registering new adapter (TerraTec DTV StarBox DVB-T/C USB2.0 (az6007)) [ 20.951906] dvb-usb: MAC address reading failed. [ 21.064158] drxk: status = 0x439130d9 [ 21.064168] drxk: detected a drx-3913k, spin A2, xtal 27.000 MHz [ 23.357962] DRXK driver version 0.9.4300 [ 23.451794] drxk: frontend initialized. [ 23.451808] DVB: registering adapter 0 frontend 0 (DRXK DVB-C DVB-T)... [ 23.657912] mt2063_attach: Attaching MT2063 [ 23.732039] Registered IR keymap rc-nec-terratec-cinergy-xs [ 23.732293] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc0/input6 [ 23.732427] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:12.2/usb1/1-2/rc/rc0 [ 23.732433] dvb-usb: schedule remote query interval to 400 msecs. [ 23.732442] dvb-usb: TerraTec DTV StarBox DVB-T/C USB2.0 (az6007) successfully initialized and connected. [ 23.732482] usbcore: registered new interface driver dvb_usb_az6007
Cool.
2012-02-08: testing the TerraTec H7 - after trying to unplug and replug the H7, nothing happened. So reboot the machine and see what happens. Ok, nothing happens after a reboot. But a
tingo@kg-f4:~/work/media_build$ sudo modprobe dvb-usb-az6007
finally makes things happen. In /var/log/messages, I see this
Feb 8 22:01:02 kg-f4 kernel: [ 1049.857524] IR NEC protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.892787] usbcore: registered new interface driver dvb_usb_az6007 Feb 8 22:01:02 kg-f4 kernel: [ 1049.905264] IR RC5(x) protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.919476] IR RC6 protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.929152] IR JVC protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.943103] IR Sony protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.956308] IR SANYO protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.966667] IR MCE Keyboard/mouse protocol handler initialized Feb 8 22:01:02 kg-f4 kernel: [ 1049.989256] lirc_dev: IR Remote Control driver registered, major 250 Feb 8 22:01:02 kg-f4 kernel: [ 1050.003618] IR LIRC bridge handler initialized
A lot less than I though should happen.
2012-02-08: Updated media drivers. I followed the instruction at http://git.linuxtv.org/media_build.git like this:
tingo@kg-f4:~$ cd work tingo@kg-f4:~/work$ git clone git://linuxtv.org/media_build.git Cloning into media_build... remote: Counting objects: 1265, done. remote: Compressing objects: 100% (420/420), done. remote: Total 1265 (delta 806), reused 1265 (delta 806) Receiving objects: 100% (1265/1265), 316.08 KiB, done. Resolving deltas: 100% (806/806), done.
Then build it:
tingo@kg-f4:~/work$ cd media_build tingo@kg-f4:~/work/media_build$ ./build Checking if the needed tools for Ubuntu 11.10 are available ERROR: please install "lsdiff", otherwise, build won't work. ERROR: please install "Proc::ProcessTable", otherwise, build won't work. You should run: sudo apt-get install patchutils libproc-processtable-perl Build can't procceed as 2 dependencies are missing at ./build line 203.
Ok, install dependencies
tingo@kg-f4:~/work/media_build$ sudo apt-get install patchutils libproc-processtable-perl [sudo] password for tingo: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libproc-processtable-perl patchutils 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 133 kB of archives. After this operation, 483 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu/ oneiric/universe libproc-processtable-perl amd64 0.45-2build1 [42.6 kB] Get:2 http://no.archive.ubuntu.com/ubuntu/ oneiric/main patchutils amd64 0.3.2-1 [90.0 kB] Fetched 133 kB in 0s (904 kB/s) Selecting previously deselected package libproc-processtable-perl. (Reading database ... 158997 files and directories currently installed.) Unpacking libproc-processtable-perl (from .../libproc-processtable-perl_0.45-2build1_amd64.deb) ... Selecting previously deselected package patchutils. Unpacking patchutils (from .../patchutils_0.3.2-1_amd64.deb) ... Processing triggers for man-db ... Setting up libproc-processtable-perl (0.45-2build1) ... Setting up patchutils (0.3.2-1) ...
Try the build again
tingo@kg-f4:~/work/media_build$ ./build
after a while, the build finishes:
make[2]: Leaving directory `/usr/src/linux-headers-3.0.0-15-generic' ./scripts/rmmod.pl check found 485 modules make[1]: Leaving directory `/home/tingo/work/media_build/v4l' ********************************************************** * Compilation finished. Use 'make install' to install them **********************************************************
Now install it
tingo@kg-f4:~/work/media_build$ sudo make install
That's it.
2012-02-08: I used Synaptic to install git.
2012-02-08: I tried plugging in a TerraTec H7, and got this in /var/log/messages:
Feb 8 00:48:00 kg-f4 kernel: [ 768.812066] usb 1-2: new high speed USB device number 4 using ehci_hcd
That's all.
2012-02-08: I ran update-manager, it brought in a lot of updates and a new kernel (dmesg output):
tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 17:23:00 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
That's all.
2012-02-07: fixed /var/log/messages by editing /etc/rsyslog.d/50-default.conf and uncommenting the following lines:
*.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages
followed by
tingo@kg-home:~$ sudo restart rsyslog
Good.
2012-02-07: added the following line to /etc/dhcp/dhclient.conf:
send dchp-client-identifier "kg-f4.kg4.no";
which will give me static ip address.
2012-02-07: installation - connected a ps/2-to-usb adapter, and connected mouse connector from KVM to it. Connected an external hard drive, created a USB memory stick with Xubuntu 11.10 on it, and installed on the external hard drive. dmesg output.
tingo@kg-f4:~$ uname -a Linux kg-f4 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux tingo@kg-f4:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.10 Release: 11.10 Codename: oneiric
That's it.