HP EliteBook Folio 9470m - Debian - 2017 archive
back to main Debian page for this machine.
2017 archive.
2017-05-09: sdb4 - apt - install chromium
tingo@kg-elitebook:~$ sudo apt -o Acquire::ForceIPv4=true install chromium Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libjim0.75 Use 'apt-get autoremove' to remove it. Suggested packages: chromium-l10n chromium-inspector The following NEW packages will be installed: chromium 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 46.0 MB of archives. After this operation, 181 MB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian/ jessie/main chromium amd64 57.0.2987.98-1~deb8u1 [46.0 MB] Fetched 46.0 MB in 9s (4,846 kB/s) Selecting previously unselected package chromium. (Reading database ... 87150 files and directories currently installed.) Preparing to unpack .../chromium_57.0.2987.98-1~deb8u1_amd64.deb ... Unpacking chromium (57.0.2987.98-1~deb8u1) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for desktop-file-utils (0.22-1) ... Processing triggers for mime-support (3.58) ... Processing triggers for hicolor-icon-theme (0.13-1) ... Setting up chromium (57.0.2987.98-1~deb8u1) ... ok. Do autoremove tingo@kg-elitebook:~$ sudo apt-get autoremove Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: libjim0.75 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 322 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 87194 files and directories currently installed.) Removing libjim0.75:amd64 (0.75-1) ...
ok.
2017-05-09: sdb4 - Xorg - after a reboot I had to issue
tingo@kg-elitebook:~$ xrandr --output LVDS-1 --right-of DP-1
and now things looks better. No overlapping of screens, and xscreensaver blanks both screens. xrandr says
tingo@kg-elitebook:~$ xrandr Screen 0: minimum 320 x 200, current 3520 x 1080, maximum 8192 x 8192 LVDS-1 connected primary 1600x900+1920+0 (normal left inverted right x axis y axis) 310mm x 174mm 1600x900 60.04*+ 40.02 1440x900 59.89 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.04 60.00 960x720 60.00 928x696 60.05 896x672 60.01 960x600 60.00 960x540 59.99 800x600 60.00 60.32 56.25 840x525 60.01 59.88 800x512 60.17 700x525 59.98 640x512 60.02 720x450 59.89 640x480 60.00 59.94 680x384 59.80 59.96 576x432 60.06 512x384 60.00 400x300 60.32 56.34 320x240 60.05 VGA-1 disconnected (normal left inverted right x axis y axis) HDMI-1 disconnected (normal left inverted right x axis y axis) DP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.88 1600x900 59.98 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1280x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 HDMI-2 disconnected (normal left inverted right x axis y axis) HDMI-3 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis)
nice. The intel driver is newer now:
tingo@kg-elitebook:~$ sudo apt list --installed *intel* Listing... Done libdrm-intel1/stable,now 2.4.58-2 amd64 [installed,automatic] xserver-xorg-video-intel/testing,now 2:2.99.917+git20161206-1 amd64 [installed]
ok.
2017-05-09: sdb4 - I follow this blog post to upgrade the graphics driver. After setting up the required APT files, I test
tingo@kg-elitebook:~$ sudo apt-get upgrade --dry-run [sudo] password for tingo: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
good. Now upgrade the driver:
tingo@kg-elitebook:~$ sudo apt-get install -t testing xserver-xorg-video-intel Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: libjim0.75 Use 'apt-get autoremove' to remove it. The following extra packages will be installed: bash-completion console-setup console-setup-linux dbus dmsetup ifupdown init-system-helpers kbd keyboard-configuration keyutils libapparmor1 libc-bin libc-l10n libc6 libdbus-1-3 libdevmapper1.02.1 libdrm2 libfdisk1 libgcrypt20 libgssapi-krb5-2 libinput-bin libinput10 libip4tc0 libjim0.76 libk5crypto3 libkrb5-3 libkrb5support0 liblvm2app2.2 liblz4-1 libmount1 libncurses5 libncursesw5 libpam-systemd libseccomp2 libselinux1 libsmartcols1 libsystemd0 libtinfo5 libtirpc1 libudev1 libwacom-common libwacom2 libxfont2 locales lvm2 mount nfs-common rpcbind systemd systemd-sysv sysvinit-utils udev usb-modeswitch util-linux x11-common xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-libinput xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-legacy xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa xserver-xorg-video-vmware Suggested packages: rdnssd glibc-doc rng-tools krb5-doc krb5-user thin-provisioning-tools open-iscsi watchdog systemd-ui systemd-container comgt wvdial gpointing-device-settings touchfreeze xinput firmware-linux firmware-amd-graphics Recommended packages: libwacom-bin The following packages will be REMOVED: xserver-xorg-input-vmmouse xserver-xorg-video-modesetting The following NEW packages will be installed: keyutils libapparmor1 libc-l10n libfdisk1 libinput-bin libinput10 libip4tc0 libjim0.76 liblvm2app2.2 liblz4-1 libseccomp2 libwacom-common libwacom2 libxfont2 xserver-xorg-input-libinput xserver-xorg-legacy The following packages will be upgraded: bash-completion console-setup console-setup-linux dbus dmsetup ifupdown init-system-helpers kbd keyboard-configuration libc-bin libc6 libdbus-1-3 libdevmapper1.02.1 libdrm2 libgcrypt20 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 libmount1 libncurses5 libncursesw5 libpam-systemd libselinux1 libsmartcols1 libsystemd0 libtinfo5 libtirpc1 libudev1 locales lvm2 mount nfs-common rpcbind systemd systemd-sysv sysvinit-utils udev usb-modeswitch util-linux x11-common xserver-common xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-ati xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa xserver-xorg-video-vmware 68 upgraded, 16 newly installed, 2 to remove and 1105 not upgraded. Need to get 33.6 MB of archives. After this operation, 6,967 kB of additional disk space will be used. Do you want to continue? [Y/n] y [...] 0% [Connecting to cdn-fastly.deb.debian.org (2a04:4e42:600::204)] (hangs here for a looong time) setting xserver-xorg-legacy/xwrapper/allowed_users from configuration file Processing triggers for libc-bin (2.24-10) ... Processing triggers for systemd (232-22) ... Processing triggers for initramfs-tools (0.120+deb8u3) ... update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
ok
2017-05-09: sdb4 - the Xorg graphics driver is
tingo@kg-elitebook:~$ sudo apt list --installed *intel* Listing... Done libdrm-intel1/stable,now 2.4.58-2 amd64 [installed,automatic] xserver-xorg-video-intel/stable,now 2:2.21.15-2+b2 amd64 [installed,automatic]
upgrade?
2017-05-09: sdb4 - the video controller is
tingo@kg-elitebook:~$ sudo lshw -c video *-display description: VGA compatible controller product: 3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list rom configuration: driver=i915 latency=0 resources: irq:51 memory:d0000000-d03fffff memory:c0000000-cfffffff ioport:2000(size=64)
ok.
2017-05-09: sdb4 - apt - install lshw
tingo@kg-elitebook:~$ sudo apt install lshw Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: lshw 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 234 kB of archives. After this operation, 814 kB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian/ jessie/main lshw amd64 02.17-1.1 [234 kB] Fetched 234 kB in 4min 0s (973 B/s) Selecting previously unselected package lshw. (Reading database ... 86749 files and directories currently installed.) Preparing to unpack .../lshw_02.17-1.1_amd64.deb ... Unpacking lshw (02.17-1.1) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up lshw (02.17-1.1) ...
ok.
2017-05-09: sdb4 - and the screensaver still only blanks the right display (LVDS1). This screensaver
tingo@kg-elitebook:~$ sudo apt list --installed *screensaver* Listing... Done xscreensaver/stable,stable-updates,now 5.30-1+deb8u2 amd64 [installed,automatic] xscreensaver-data/stable,stable-updates,now 5.30-1+deb8u2 amd64 [installed,automatic]
ok.
2017-05-09: sdb4 - screen / display: the right part of the left screen still shows on the right screen:
tingo@kg-elitebook:~$ xrandr Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192 LVDS1 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 310mm x 174mm 1600x900 60.04*+ 40.02 1440x900 59.89 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.88 1600x900 59.98 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1280x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis)
DP1 is the left screen, and LVDS1 the right one.
2017-05-09: sdb4 - after the update (and a reboot) the machine runs Debian 8.8:
tingo@kg-elitebook:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.8 (jessie) Release: 8.8 Codename: jessie tingo@kg-elitebook:~$ uname -a Linux kg-elitebook 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
the kernel was upgraded too.
2017-05-09: sdb4 - apt-get - upgrade the packages:
tingo@kg-elitebook:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: base-files ca-certificates firefox-esr fonts-opensymbol ghostscript hunspell-en-us iceweasel initramfs-tools libavcodec56 libavformat56 libavresample2 libavutil54 libc-bin libc6 libfreetype6 libgnutls-deb0-28 libgnutls-openssl27 libgs9 libgs9-common libgudev-1.0-0 libicu52 libjasper1 libpam-systemd libreoffice libreoffice-avmedia-backend-gstreamer libreoffice-base libreoffice-base-core libreoffice-base-drivers libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-gtk libreoffice-help-en-us libreoffice-impress libreoffice-java-common libreoffice-math libreoffice-report-builder-bin libreoffice-sdbc-firebird libreoffice-sdbc-hsqldb libreoffice-style-galaxy libreoffice-style-tango libreoffice-writer libsane libsane-common libswscale3 libsystemd0 libtiff5 libtirpc1 libudev1 libvlc5 libvlccore8 libxslt1.1 linux-image-3.16.0-4-amd64 locales multiarch-support mythes-en-us python3-uno rpcbind sane-utils systemd systemd-sysv tzdata tzdata-java udev uno-libs3 unzip ure vim-common vim-tiny vlc vlc-data vlc-nox vlc-plugin-notify vlc-plugin-samba wget 76 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 214 MB of archives. After this operation, 616 kB disk space will be freed. Do you want to continue? [Y/n] y [...] Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d.... done. done.
ok.
2017-05-09: sdb4 - and the screensaver only blanks the right display (LVDS1).
2017-04-27: sdb4 - the right part of the left screen shows on the right screen:
tingo@kg-elitebook:~$ xrandr Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 8192 x 8192 LVDS1 connected 1600x900+1600+0 (normal left inverted right x axis y axis) 310mm x 174mm 1600x900 60.04*+ 40.02 1440x900 59.89 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) DP1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.88 1600x900 59.98 1280x1024 75.02 60.02 1280x800 59.91 1152x864 75.00 1280x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) LVDS1 is --right-of DP1.
2017-04-21: sdb4 - IPv6 now works on Bitraf's network:
tingo@kg-elitebook:~$ sudo ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr c4:d9:87:a4:03:30 inet addr:10.13.37.180 Bcast:10.13.37.255 Mask:255.255.255.0 inet6 addr: 2001:840:4b0b:1337:491:e82f:cccd:c311/128 Scope:Global inet6 addr: fe80::c6d9:87ff:fea4:330/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:21746 errors:0 dropped:0 overruns:0 frame:0 TX packets:7716 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:11007107 (10.4 MiB) TX bytes:2541307 (2.4 MiB)
ok
2017-04-21: sdb4 - a new USB to PS/2 adapter, named "USB to PS/2 convertor" from Goobay (www.googbay.de) shows up as lsusb
tingo@kg-elitebook:~$ lsusb -d 13ba:0018 Bus 003 Device 003: ID 13ba:0018 PCPlay Barcode PCP-BCG4209 tingo@kg-elitebook:~$ lsusb -v -d 13ba:0018 Bus 003 Device 003: ID 13ba:0018 PCPlay Barcode PCP-BCG4209 Couldn't open device, some information will be missing Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x13ba PCPlay idProduct 0x0018 Barcode PCP-BCG4209 bcdDevice 0.01 iManufacturer 0 iProduct 1 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 59 bNumInterfaces 2 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xa0 (Bus Powered) Remote Wakeup MaxPower 400mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 1 Keyboard iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 62 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 8 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 3 Human Interface Device bInterfaceSubClass 1 Boot Interface Subclass bInterfaceProtocol 2 Mouse iInterface 0 HID Device Descriptor: bLength 9 bDescriptorType 33 bcdHID 1.10 bCountryCode 0 Not supported bNumDescriptors 1 bDescriptorType 34 Report wDescriptorLength 130 Report Descriptors: ** UNAVAILABLE ** Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0005 1x 5 bytes bInterval 8
lsusb -t output
tingo@kg-elitebook:~$ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 1: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M |__ Port 6: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 6: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M |__ Port 3: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 3: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
in /var/log/messages
Apr 21 14:53:05 kg-elitebook kernel: [ 4.501698] usb 3-1.1: New USB device found, idVendor=13ba, idProduct=0018 Apr 21 14:53:05 kg-elitebook kernel: [ 4.501701] usb 3-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 Apr 21 14:53:05 kg-elitebook kernel: [ 4.501703] usb 3-1.1: Product: Barcode Reader Apr 21 14:53:05 kg-elitebook kernel: [ 4.726047] input: Barcode Reader as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1:1.0/0003:13BA:0018.0001/input/input23 Apr 21 14:53:05 kg-elitebook kernel: [ 4.726137] hid-generic 0003:13BA:0018.0001: input,hidraw0: USB HID v1.10 Keyboard [Barcode Reader ] on usb-0000:00:14.0-1.1/input0 Apr 21 14:53:05 kg-elitebook kernel: [ 4.726294] input: Barcode Reader as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.1/3-1.1:1.1/0003:13BA:0018.0002/input/input24 Apr 21 14:53:05 kg-elitebook kernel: [ 4.726392] hid-generic 0003:13BA:0018.0002: input,hidraw1: USB HID v1.10 Mouse [Barcode Reader ] on usb-0000:00:14.0-1.1/input1
ok.
2017-04-20: sdb4 - as my user, create links in home directory
tingo@kg-elitebook:~$ ls -l ~/ total 36 lrwxrwxrwx 1 tingo tingo 17 Apr 20 15:50 bin -> /zs/tingo/bin_lin lrwxrwxrwx 1 tingo tingo 14 Apr 20 15:46 data -> /zs/tingo/data drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Desktop lrwxrwxrwx 1 tingo tingo 12 Apr 20 15:48 dl -> /zs/tingo/dl lrwxrwxrwx 1 tingo tingo 13 Apr 20 15:48 doc -> /zs/tingo/doc drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Documents drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Downloads lrwxrwxrwx 1 tingo tingo 15 Apr 20 15:48 media -> /zs/tingo/media drwxr-xr-x 2 tingo tingo 4096 Apr 8 18:46 mpoint drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Music lrwxrwxrwx 1 tingo tingo 18 Apr 20 15:48 personal -> /zs/tingo/personal drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Pictures lrwxrwxrwx 1 tingo tingo 19 Apr 20 15:51 progs -> /zs/tingo/progs_lin drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Public drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Templates drwxr-xr-x 2 tingo tingo 4096 Apr 3 00:28 Videos lrwxrwxrwx 1 tingo tingo 14 Apr 20 15:48 work -> /zs/tingo/work
ok. From /etc/fstab:
tingo@kg-elitebook:~$ egrep "file|zs" /etc/fstab # /etc/fstab: static file system information. # <file system> <mount point> <type> <options> <dump> <pass> /dev/sda1 /zs ext2 rw 0 0
ok.
2017-04-20: sdb4 - mount the internal drive to /zs
tingo@kg-elitebook:~$ sudo mount /dev/sda1 /zs tingo@kg-elitebook:~$ df -h /zs Filesystem Size Used Avail Use% Mounted on /dev/sda1 917G 25G 846G 3% /zs
and fix /etc/fstab.
2017-04-20: sdb4 - new day, new external drive to test. This time a Samsung M3 portable.
tingo@kg-elitebook:~$ lsusb -d 04e8:61b6 Bus 002 Device 003: ID 04e8:61b6 Samsung Electronics Co., Ltd
connects at 5 Gbps speed.
tingo@kg-elitebook:~$ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M |__ Port 6: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 6: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M |__ Port 3: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 3: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 19, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 19, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
gdisk shows that it currently has a FreeBSD UFS partition:
tingo@kg-elitebook:~$ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 1953525168 sectors, 931.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 813FB7B0-B712-11E5-8975-F80F413C9557 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1953525134 Partitions will be aligned on 8-sector boundaries Total free space is 13 sectors (6.5 KiB) Number Start (sector) End (sector) Size Code Name 1 40 1953525127 931.5 GiB A503 let me change that tingo@kg-elitebook:~$ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 1953525168 sectors, 931.5 GiB Logical sector size: 512 bytes Disk identifier (GUID): 813FB7B0-B712-11E5-8975-F80F413C9557 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 1953525134 Partitions will be aligned on 8-sector boundaries Total free space is 6 sectors (3.0 KiB) Number Start (sector) End (sector) Size Code Name 1 40 1953525134 931.5 GiB 8300 Linux filesystem
and put a ext2 filesystem on it.
tingo@kg-elitebook:~$ sudo mkfs.ext2 /dev/sdc1 mke2fs 1.42.12 (29-Aug-2014) /dev/sdc1 contains a ufs file system Proceed anyway? (y,n) y Creating filesystem with 244190636 4k blocks and 61054976 inodes Filesystem UUID: 8ef3086b-a7af-491d-a2ae-cbff5d6ce8c1 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848 Allocating group tables: done Writing inode tables: done Writing superblocks and filesystem accounting information: done
done. Test mount
tingo@kg-elitebook:~$ sudo mount /dev/sdc1 /media tingo@kg-elitebook:~$ df -h /media Filesystem Size Used Avail Use% Mounted on /dev/sdc1 917G 72M 871G 1% /media
ok.
2017-04-19: sdb4 - back to my external drive, I used gdisk to delete current partitions, and create a new one, for a linux filesystem. Result:
tingo@kg-elitebook:~$ sudo gdisk -l /dev/sdc GPT fdisk (gdisk) version 0.8.10 Partition table scan: MBR: protective BSD: not present APM: not present GPT: present Found valid GPT with protective MBR; using GPT. Disk /dev/sdc: 7814037167 sectors, 3.6 TiB Logical sector size: 512 bytes Disk identifier (GUID): 5A26A6F2-851D-45C2-ABD1-156582990B3B Partition table holds up to 128 entries First usable sector is 34, last usable sector is 7814037133 Partitions will be aligned on 2048-sector boundaries Total free space is 2014 sectors (1007.0 KiB) Number Start (sector) End (sector) Size Code Name 1 2048 7814037133 3.6 TiB 8300 Linux filesystem
and
tingo@kg-elitebook:~$ ls -l /dev/sdc* brw-rw---- 1 root disk 8, 32 Apr 19 10:32 /dev/sdc brw-rw---- 1 root disk 8, 33 Apr 19 10:32 /dev/sdc1 create an ext2 filesystem on it: ```sh tingo@kg-elitebook:~$ sudo mkfs.ext2 /dev/sdc1 mke2fs 1.42.12 (29-Aug-2014) Creating filesystem with 976754385 4k blocks and 244195328 inodes Filesystem UUID: 9af8470c-e5a7-4752-a493-d8c48b409048 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848, 512000000, 550731776, 644972544 Allocating group tables: done Writing inode tables: done Writing superblocks and filesystem accounting information: done
this took a very long time, even if the external drive is running at 5Gbps:
tingo@kg-elitebook:~$ sudo lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M |__ Port 3: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M |__ Port 4: Dev 5, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M |__ Port 6: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M |__ Port 6: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/6p, 480M |__ Port 1: Dev 3, If 0, Class=Vendor Specific Class, Driver=, 12M |__ Port 3: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 3: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
ok.
2017-04-19: sdb4 - heh, ntp isn't installed by default. Do it:
tingo@kg-elitebook:~$ sudo apt-get install ntp Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libopts25 Suggested packages: ntp-doc The following NEW packages will be installed: libopts25 ntp 0 upgraded, 2 newly installed, 0 to remove and 4 not upgraded. Need to get 464 kB of archives. After this operation, 1,463 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ftp.no.debian.org/debian/ jessie/main libopts25 amd64 1:5.18.4-3 [69.6 kB] Get:2 http://ftp.no.debian.org/debian/ jessie/main ntp amd64 1:4.2.6.p5+dfsg-7+deb8u2 [394 kB] Fetched 464 kB in 0s (1,558 kB/s) Selecting previously unselected package libopts25:amd64. (Reading database ... 86710 files and directories currently installed.) Preparing to unpack .../libopts25_1%3a5.18.4-3_amd64.deb ... Unpacking libopts25:amd64 (1:5.18.4-3) ... Selecting previously unselected package ntp. Preparing to unpack .../ntp_1%3a4.2.6.p5+dfsg-7+deb8u2_amd64.deb ... Unpacking ntp (1:4.2.6.p5+dfsg-7+deb8u2) ... Processing triggers for man-db (2.7.0.2-5) ... Processing triggers for systemd (215-17+deb8u6) ... Setting up libopts25:amd64 (1:5.18.4-3) ... Setting up ntp (1:4.2.6.p5+dfsg-7+deb8u2) ... update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults Processing triggers for libc-bin (2.19-18+deb8u7) ... Processing triggers for systemd (215-17+deb8u6) ...
check
tingo@kg-elitebook:~$ ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== 92.62.34.78 .STEP. 16 u - 64 0 0.000 0.000 0.000 ntp.coreless.ne .STEP. 16 u - 64 0 0.000 0.000 0.000 7.51-174-171.cu .STEP. 16 u - 64 0 0.000 0.000 0.000 *ntp-ext.cosng.n 146.213.3.181 2 u 14 64 1 4.551 0.147 0.047 tingo@kg-elitebook:~$ date Wed Apr 19 10:10:31 CEST 2017
ok.
2017-04-19: sdb4 - plug in an external drive for temporary storage. lsusb
tingo@kg-elitebook:~$ lsusb -d 0bc2:ab28 Bus 004 Device 003: ID 0bc2:ab28 Seagate RSS LLC
verbose
tingo@kg-elitebook:~$ sudo lsusb -d 0bc2:ab28 -v Bus 004 Device 003: ID 0bc2:ab28 Seagate RSS LLC Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x0bc2 Seagate RSS LLC idProduct 0xab28 bcdDevice 1.00 iManufacturer 2 Seagate iProduct 3 BUP BL iSerial 1 NA7PQSJE bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 121 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 36mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 4 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 98 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-in pipe (0x03) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-out pipe (0x04) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Status pipe (0x02) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 0 Command pipe (0x01) Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 22 bNumDeviceCaps 2 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x0000f41e Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 2047 micro seconds Device Status: 0x000c (Bus Powered) U1 Enabled U2 Enabled
and from /var/log/messages
Apr 19 07:57:56 kg-elitebook kernel: [ 3404.173647] usb 4-1.3: new SuperSpeed USB device number 3 using xhci_hcd Apr 19 07:57:56 kg-elitebook kernel: [ 3404.190575] usb 4-1.3: New USB device found, idVendor=0bc2, idProduct=ab28 Apr 19 07:57:56 kg-elitebook kernel: [ 3404.190590] usb 4-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1 Apr 19 07:57:56 kg-elitebook kernel: [ 3404.190598] usb 4-1.3: Product: BUP BL Apr 19 07:57:56 kg-elitebook kernel: [ 3404.190607] usb 4-1.3: Manufacturer: Seagate Apr 19 07:57:56 kg-elitebook kernel: [ 3404.190613] usb 4-1.3: SerialNumber: NA7PQSJE Apr 19 07:57:56 kg-elitebook mtp-probe: checking bus 4, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-1/4-1.3" Apr 19 07:57:56 kg-elitebook mtp-probe: bus: 4, device: 3 was not an MTP device Apr 19 07:57:56 kg-elitebook kernel: [ 3404.207600] usb-storage 4-1.3:1.0: USB Mass Storage device detected Apr 19 07:57:56 kg-elitebook kernel: [ 3404.207723] scsi6 : usb-storage 4-1.3:1.0 Apr 19 07:57:56 kg-elitebook kernel: [ 3404.208252] usbcore: registered new interface driver usb-storage Apr 19 07:57:57 kg-elitebook kernel: [ 3405.207757] scsi 6:0:0:0: Direct-Access Seagate BUP BL 0304 PQ: 0 ANSI: 6 Apr 19 07:57:57 kg-elitebook kernel: [ 3405.208629] sd 6:0:0:0: Attached scsi generic sg2 type 0 Apr 19 07:57:57 kg-elitebook kernel: [ 3405.209833] sd 6:0:0:0: [sdc] Spinning up disk... Apr 19 07:58:02 kg-elitebook kernel: [ 3406.211270] .....ready Apr 19 07:58:02 kg-elitebook kernel: [ 3410.232026] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). Apr 19 07:58:02 kg-elitebook kernel: [ 3410.232390] sd 6:0:0:0: [sdc] 7814037167 512-byte logical blocks: (4.00 TB/3.63 TiB) Apr 19 07:58:02 kg-elitebook kernel: [ 3410.232399] sd 6:0:0:0: [sdc] 2048-byte physical blocks Apr 19 07:58:02 kg-elitebook kernel: [ 3410.279195] sd 6:0:0:0: [sdc] Write Protect is off Apr 19 07:58:02 kg-elitebook kernel: [ 3410.279476] sd 6:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA Apr 19 07:58:02 kg-elitebook kernel: [ 3410.280048] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). Apr 19 07:58:02 kg-elitebook kernel: [ 3410.356556] sdc: sdc1 sdc2 Apr 19 07:58:02 kg-elitebook kernel: [ 3410.357675] sd 6:0:0:0: [sdc] Very big device. Trying to use READ CAPACITY(16). Apr 19 07:58:02 kg-elitebook kernel: [ 3410.358291] sd 6:0:0:0: [sdc] Attached SCSI disk
ok.
2017-04-19: sdb4 - try to mount my storage drive. make a mount point:
tingo@kg-elitebook:~$ sudo mkdir /zs
mount it
tingo@kg-elitebook:~$ sudo mount -t ufs -o ufstype=ufs2 /dev/sda1 /zs mount: /dev/sda1 is write-protected, mounting read-only
check /var/log/messages
Apr 19 07:54:53 kg-elitebook kernel: [ 3221.291907] ufs was compiled with read-only support, can't be mounted as read-write
(sigh) read only in Debian too.
2017-04-19: sdb4 - it won't let me change my uid while logged in
tingo@kg-elitebook:~$ sudo usermod -u 1001 tingo usermod: user tingo is currently used by process 1094
which probably is a good thing. I rebooted into "maintenance mode" and fixed it in single user. After I rebooted again, my external keyboard didn't work. I had to unplug the usb to ps2 adapter and the keyboard twice before it started working again. Coincidence?
2017-04-19: sdb4 - add a group for compatibility with (Free)BSD:
tingo@kg-elitebook:~$ sudo groupadd bsdusers
it got gid 1001, nice. Add my user to it:
tingo@kg-elitebook:~$ sudo usermod -a -G bsdusers tingo tingo@kg-elitebook:~$ groups tingo tingo : tingo cdrom floppy sudo audio dip video plugdev netdev lpadmin scanner bluetooth bsdusers
ok.
2017-04-19: sdb4 - add my user to the group sudo:
root@kg-elitebook:~# id tingo uid=1000(tingo) gid=1000(tingo) groups=1000(tingo),24(cdrom),25(floppy),29(audio),30(dip),44(video),46(plugdev),108(netdev),110(lpadmin),113(scanner),118(bluetooth) root@kg-elitebook:~# usermod -a -G sudo tingo root@kg-elitebook:~# id tingo uid=1000(tingo) gid=1000(tingo) groups=1000(tingo),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),108(netdev),110(lpadmin),113(scanner),118(bluetooth)
ok.
2017-04-19: sdb4 - install sudo.
2017-04-18: sdb4 - a screen connected via VGA to the docking station shows up as DP2.
tingo@kg-elitebook:~$ xrandr Screen 0: minimum 320 x 200, current 3520 x 1080, maximum 8192 x 8192 LVDS1 connected 1600x900+1920+0 (normal left inverted right x axis y axis) 310mm x 174mm 1600x900 60.04*+ 40.02 1440x900 59.89 1360x768 59.80 59.96 1152x864 60.00 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis) DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) DP2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm 1920x1080 60.00*+ 1680x1050 59.95 1600x900 59.98 1280x1024 75.02 60.02 1280x800 59.81 1152x864 75.00 1280x720 59.97 1024x768 75.08 60.00 832x624 74.55 800x600 75.00 60.32 640x480 75.00 60.00 720x400 70.08 DP3 disconnected (normal left inverted right x axis y axis)
there is no (apparent) way to change layout in Settings, Display, but a simple
tingo@kg-elitebook:~$ xrandr --output LVDS1 --right-of DP2
does what I want.
2017-04-12: sdb4 - docking - when I dock the machine, this shows up in /var/log/messages:
Apr 12 15:38:05 kg-elitebook kernel: [ 387.337959] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd Apr 12 15:38:05 kg-elitebook kernel: [ 387.354444] usb 2-1: New USB device found, idVendor=0424, idProduct=5534 Apr 12 15:38:05 kg-elitebook kernel: [ 387.354453] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=0 Apr 12 15:38:05 kg-elitebook kernel: [ 387.354458] usb 2-1: Product: USB5534B Apr 12 15:38:05 kg-elitebook kernel: [ 387.354462] usb 2-1: Manufacturer: SMSC Apr 12 15:38:05 kg-elitebook kernel: [ 387.356504] hub 2-1:1.0: USB hub found Apr 12 15:38:05 kg-elitebook kernel: [ 387.356585] hub 2-1:1.0: 4 ports detected Apr 12 15:38:05 kg-elitebook kernel: [ 387.518008] usb 1-1: new high-speed USB device number 3 using xhci_hcd Apr 12 15:38:05 kg-elitebook kernel: [ 387.646555] usb 1-1: New USB device found, idVendor=0424, idProduct=2134 Apr 12 15:38:05 kg-elitebook kernel: [ 387.646562] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Apr 12 15:38:05 kg-elitebook kernel: [ 387.646565] usb 1-1: Product: USB2134B Apr 12 15:38:05 kg-elitebook kernel: [ 387.646568] usb 1-1: Manufacturer: SMSC Apr 12 15:38:05 kg-elitebook kernel: [ 387.647208] hub 1-1:1.0: USB hub found Apr 12 15:38:05 kg-elitebook kernel: [ 387.647294] hub 1-1:1.0: 4 ports detected Apr 12 15:38:05 kg-elitebook kernel: [ 387.918804] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Apr 12 15:38:05 kg-elitebook kernel: [ 387.919260] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Apr 12 15:38:05 kg-elitebook kernel: [ 387.920960] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment Apr 12 15:38:05 kg-elitebook kernel: [ 387.921321] acpi PNP0501:00: Still not present
ok.
2017-04-11: sdb4 - disk and all that jazz. usage
root@kg-elitebook:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/dm-0 42G 3.1G 36G 8% / udev 10M 0 10M 0% /dev tmpfs 3.2G 9.1M 3.2G 1% /run tmpfs 7.8G 824K 7.8G 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup /dev/sdb1 200M 1.6M 199M 1% /boot/efi tmpfs 1.6G 4.0K 1.6G 1% /run/user/117 tmpfs 1.6G 8.0K 1.6G 1% /run/user/1000
blocks
root@kg-elitebook:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 200M 0 part /boot/efi ├─sdb2 8:18 0 60G 0 part ├─sdb3 8:19 0 4G 0 part └─sdb4 8:20 0 49.4G 0 part ├─elitebook_debian_vg-debian_elitebook_root 254:0 0 41.9G 0 lvm / └─elitebook_debian_vg-debian_elitebook_swap 254:1 0 7.5G 0 lvm [SWAP]
lvm - physical
root@kg-elitebook:~# lvm pvs PV VG Fmt Attr PSize PFree /dev/sdb4 elitebook_debian_vg lvm2 a-- 49.36g 0
lvm - volume groups
root@kg-elitebook:~# lvm vgs VG #PV #LV #SN Attr VSize VFree elitebook_debian_vg 1 2 0 wz--n- 49.36g 0
lvm - logical volumes
root@kg-elitebook:~# lvm lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert debian_elitebook_root elitebook_debian_vg -wi-ao---- 41.91g debian_elitebook_swap elitebook_debian_vg -wi-ao---- 7.45g
dmsetup ls
root@kg-elitebook:~# dmsetup ls elitebook_debian_vg-debian_elitebook_swap (254:1) elitebook_debian_vg-debian_elitebook_root (254:0)
dmsetup status
root@kg-elitebook:~# dmsetup status elitebook_debian_vg-debian_elitebook_swap: 0 15622144 linear elitebook_debian_vg-debian_elitebook_root: 0 87883776 linear
ok.
2017-04-09: sdb4 - install rEFInd:
root@kg-elitebook:~# dpkg -i /home/tingo/dl/refind_0.10.5-1_amd64.deb Selecting previously unselected package refind. (Reading database ... 86435 files and directories currently installed.) Preparing to unpack .../dl/refind_0.10.5-1_amd64.deb ... Unpacking refind (0.10.5-1) ... Setting up refind (0.10.5-1) ... ShimSource is none Installing rEFInd on Linux.... ESP was found at /boot/efi using vfat Installing driver for ext4 (ext4_x64.efi) Copied rEFInd binary files Copying sample configuration file as refind.conf; edit this file to configure rEFInd. Installing it! rEFInd has been set as the default boot manager. Creating //boot/refind_linux.conf; edit it to adjust kernel options. Installation has completed successfully. Processing triggers for man-db (2.7.0.2-5) ...
ok. EFI boot entries
root@kg-elitebook:~# efibootmgr BootCurrent: 0000 Timeout: 5 seconds BootOrder: 0001,0000 Boot0000* debian Boot0001* rEFInd Boot Manager
ok.
2017-04-08: sdb4 - after I recreated the EFI system partition, it changed UUID, so I had to find the new UUID and update /etc/fstab:
root@kg-elitebook:~# blkid /dev/sdb1: SEC_TYPE="msdos" UUID="BF86-1D0F" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="8b927a32-172e-11e7-ad01-288023023344" /dev/sdb2: UUID="58e033527246b562" TYPE="ufs" PARTUUID="2353be5f-1730-11e7-ad01-288023023344" /dev/sdb3: PARTUUID="538b87b0-1730-11e7-ad01-288023023344" /dev/sdb4: UUID="XKAF24-uImJ-XUSR-OwoG-LbpW-7hZ0-ddHXbn" TYPE="LVM2_member" PARTUUID="09e3c631-693b-400f-9a99-cb14b92079c6" /dev/mapper/elitebook_debian_vg-debian_elitebook_root: UUID="af5c4fd3-c691-40e2-9a4d-182124a23eb0" TYPE="ext4" /dev/mapper/elitebook_debian_vg-debian_elitebook_swap: UUID="f9163167-8103-40d9-b740-aefad2536453" TYPE="swap"
updated /etc/fstab
root@kg-elitebook:~# 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> /dev/mapper/elitebook_debian_vg-debian_elitebook_root / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sdb1 during installation #UUID=5B81-1818 /boot/efi vfat umask=0077 0 1 UUID=BF86-1D0F /boot/efi vfat umask=0077 0 1 /dev/mapper/elitebook_debian_vg-debian_elitebook_swap none swap sw 0 0
ok.
2017-04-08: sdb4 - installed sshfs.
root@kg-elitebook:~# grep sshfs /var/log/dpkg.log | tail -1 2017-04-08 18:41:24 status installed sshfs:amd64 2.5-1
ok.
2017-04-03: I installed Debian 8.7 (8.7.1) from an installer image (the live image wouldn't boot in UEFI mode). It installed a "debian" entry in the boot menu.
tingo@kg-elitebook:~$ cat /etc/debian_version 8.7 tingo@kg-elitebook:~$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 8.7 (jessie) Release: 8.7 Codename: jessie
lsblk info
tingo@kg-elitebook:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk sdb 8:16 0 465.8G 0 disk ├─sdb1 8:17 0 200M 0 part /boot/efi ├─sdb2 8:18 0 60G 0 part ├─sdb3 8:19 0 4G 0 part └─sdb4 8:20 0 49.4G 0 part ├─elitebook_debian_vg-debian_elitebook_root 254:0 0 41.9G 0 lvm / └─elitebook_debian_vg-debian_elitebook_swap 254:1 0 7.5G 0 lvm [SWAP]
ok.
EFI boot manager info
tingo@kg-elitebook:~$ su - Password: root@kg-elitebook:~# efibootmgr BootCurrent: 0000 Timeout: 5 seconds BootOrder: 0000 Boot0000* debian
hmmm,
root@kg-elitebook:~# ls -l /boot/efi total 2 drwx------ 5 root root 512 Apr 2 22:26 EFI -rwx------ 1 root root 34 Feb 4 2016 mach_kernel drwx------ 3 root root 512 Nov 15 15:23 System root@kg-elitebook:~# ls -l /boot/efi/EFI total 2 drwx------ 2 root root 512 Apr 2 10:48 BOOT drwx------ 2 root root 512 Apr 2 22:26 debian drwx------ 3 root root 512 Nov 15 15:21 fedora root@kg-elitebook:~# ls -l /boot/efi/EFI/* /boot/efi/EFI/BOOT: total 129 -rwx------ 1 root root 131072 Apr 12 2016 BOOTX64.EFI -rwx------ 1 root root 12 Apr 12 2016 STARTUP.NSH /boot/efi/EFI/debian: total 140 -rwx------ 1 root root 143360 Apr 2 22:26 grubx64.efi /boot/efi/EFI/fedora: total 1 drwx------ 2 root root 512 Nov 15 15:21 fonts
ok