Bug 1549169 - Lenovo ThinkPad T470s hang on boot while in docking station
Summary: Lenovo ThinkPad T470s hang on boot while in docking station
Keywords:
Status: CLOSED DUPLICATE of bug 1549042
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 27
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1547536 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-26 15:24 UTC by Stepan Broz
Modified: 2018-03-13 12:27 UTC (History)
25 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-03-13 12:27:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
screenshot1 (2.13 MB, image/jpeg)
2018-02-27 20:02 UTC, Stepan Broz
no flags Details
screenshot2 (1.91 MB, image/jpeg)
2018-02-27 20:22 UTC, Stepan Broz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1500193 0 unspecified CLOSED [drm:intel_set_cpu_fifo_underrun_reporting [i915]] *ERROR* uncleared fifo underrun on pipe C 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1543326 0 unspecified NEW No Jack sound on Lenovo dock with a T470 connected 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1549042 0 unspecified CLOSED Kernels 4.15.x are not booting on docking 2021-02-22 00:41:40 UTC

Internal Links: 1500193 1543326 1549042

Description Stepan Broz 2018-02-26 15:24:12 UTC
Description of problem:
The T470s laptop is unable to boot using kernel-4.15.4-300.fc27.x86_64 while in a docking station.

The main display (the lid) is closed, secondary display attached using DVI and powered on. Intel gfx. Audio jack is NOT connected to either the laptop or the docking station.

Version-Release number of selected component (if applicable):
kernel-4.15.4-300.fc27.x86_64

Latest known working kernel: 4.14.18-300.fc27.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Reboot the host
2. Select kernel-4.15.4-300.fc27.x86_64 in grub menu (this is displayed on the secondary display as expected)
3. Secondary display shows "NO VIDEO"
4. The LUKS password prompt is displayed on the primary display incorrectly (closed lid).
5. Enter the LUKS password
6. Fedora logo fills-up, goes blue, the boot ends here.

The system boots OK outside the docking station.

Actual results:
Video output on closed laptop display starting from the LUKS password prompt.
Will not boot successfully.

Expected results:
Video output to the secondary display during the whole boot process (as it is the only available/powered on display)
Successful boot.

Additional info:

* OS Release (lsb_release -ds):
     "Fedora release 27 (Twenty Seven)"
     
* Kernel (uname -r ; cat /proc/cmdline):
     4.14.18-300.fc27.x86_64
     BOOT_IMAGE=/vmlinuz-4.14.18-300.fc27.x86_64 root=/dev/mapper/vg0-root ro rd.luks.uuid=luks-08886eba-aec5-485c-9a08-8bcb5a591772 rd.lvm.lv=vg0/root rd.lvm.lv=vg0/swap rhgb quiet LANG=en_US.UTF-8
     
* Desktop(s) Running (ps -eo comm= | grep -E '(gnome-session|startkde|startactive|xfce.?-session|fluxbox|blackbox|hackedbox|ratpoison|enlightenment|icewm-session|od-session|wmaker|wmx|openbox-lxde|openbox-gnome-session|openbox-kde-session|mwm|e16|fvwm|xmonad|sugar-session|mate-session|lxqt-session|cinnamon)' ):
     gnome-session-b
     gnome-session-b
     
* Desktop(s) Installed (ls -m /usr/share/xsessions/ | sed 's/\.desktop//g' ):
     gnome-classic, gnome, gnome-xorg
     
* SELinux Status (sestatus):
     SELinux status:                 enabled
     SELinuxfs mount:                /sys/fs/selinux
     SELinux root directory:         /etc/selinux
     Loaded policy name:             targeted
     Current mode:                   enforcing
     Mode from config file:          enforcing
     Policy MLS status:              enabled
     Policy deny_unknown status:     allowed
     Memory protection checking:     actual (secure)
     Max kernel policy version:      31
     
* SELinux Errors (selinuxenabled && journalctl --since yesterday |grep avc: | grep -Eo comm="[^ ]+" | sort |uniq -c |sort -rn):
           5 comm="(uetoothd)"
     
* CPU Model (grep 'model name' /proc/cpuinfo | awk -F: '{print $2}' | uniq -c |
         sed -re 's/^ +//' ):
     4  Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
     
* 64-bit Support (grep -q ' lm ' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Hardware Virtualization Support (grep -Eq '(vmx|svm)' /proc/cpuinfo && echo Yes || echo No):
     Yes
     
* Load average (uptime):
      16:03:49 up 8 min,  1 user,  load average: 1,23, 1,51, 0,85
     
* Memory usage (free -m):
                   total        used        free      shared  buff/cache   available
     Mem:          15919        2174       10064         377        3680       13099
     Swap:          8191           0        8191
     
* Top 5 CPU hogs (ps axuScnh | awk '$2!=3927' | sort -rnk3 | head -5):
       102047  2456 91.5  0.2 2111632 47820 tty2    RNl+ 15:56   6:50 tracker-extract
       102047  2521 58.8  0.9 1027392 153340 tty2   SNl+ 15:56   4:23 tracker-miner-f
       102047  3047  9.7  2.4 2565540 394996 tty2   Sl+  16:00   0:19 firefox
       102047  1996  5.1  1.3 3917076 224704 tty2   Sl+  15:56   0:23 gnome-shell
       102047  3327  3.7  1.9 2394408 314740 tty2   Sl+  16:00   0:06 Web Content
     
* Top 5 Memory hogs (ps axuScnh | sort -rnk4 | head -5):
       102047  3047  9.7  2.4 2565540 394996 tty2   Sl+  16:00   0:19 firefox
       102047  3327  3.7  1.9 2394408 314740 tty2   Sl+  16:00   0:06 Web Content
       102047  3140  1.7  1.0 2129632 166332 tty2   Sl+  16:00   0:03 Web Content
       102047  1996  5.1  1.3 3917076 224704 tty2   Sl+  15:56   0:23 gnome-shell
          997  1114  0.2  0.1 564408 17340 ?        Ssl  15:56   0:01 polkitd
     
* Disk space usage (df -hT):
     Filesystem           Type      Size  Used Avail Use% Mounted on
     devtmpfs             devtmpfs  7,8G     0  7,8G   0% /dev
     tmpfs                tmpfs     7,8G   43M  7,8G   1% /dev/shm
     tmpfs                tmpfs     7,8G  2,2M  7,8G   1% /run
     tmpfs                tmpfs     7,8G     0  7,8G   0% /sys/fs/cgroup
     /dev/mapper/vg0-root ext4       35G   24G  9,4G  72% /
     tmpfs                tmpfs     7,8G  392K  7,8G   1% /tmp
     /dev/nvme0n1p2       ext4      2,9G  163M  2,6G   6% /boot
     /dev/nvme0n1p1       vfat      511M   11M  501M   3% /boot/efi
     /dev/mapper/vg0-home ext4      188G   83G   96G  47% /home
     tmpfs                tmpfs     1,6G   16K  1,6G   1% /run/user/42
     tmpfs                tmpfs     1,6G  5,8M  1,6G   1% /run/user/102047
     
* Block devices (without results: "blkid" AND "/sbin/blkid"):
     N/A

* PCI devices (lspci):
     00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
     00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
     00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
     00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
     00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
     00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
     00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
     00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
     00:1f.0 ISA bridge: Intel Corporation Device 9d4e (rev 21)
     00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
     00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
     00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
     00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
     3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
     3c:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
     
* USB devices (lsusb):
     Bus 002 Device 003: ID 17ef:1010 Lenovo 
     Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp. 
     Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
     Bus 001 Device 005: ID 5986:111c Acer, Inc 
     Bus 001 Device 008: ID 0b0e:0305 GN Netcom 
     Bus 001 Device 007: ID 045e:07b2 Microsoft Corp. 
     Bus 001 Device 006: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
     Bus 001 Device 004: ID 17ef:100f Lenovo 
     Bus 001 Device 002: ID 17ef:1010 Lenovo 
     Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
     
* DRM Information (journalctl -k -b | grep -o 'kernel:.*drm.*$' | cut -d ' ' -f 2- ):
     [drm] Memory usable by graphics device = 4096M
     fb: switching to inteldrmfb from EFI VGA
     [drm] Replacing VGA console driver
     [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
     [drm] Driver supports precise vblank timestamp query.
     [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
     [drm] Initialized i915 1.6.0 20170818 for 0000:00:02.0 on minor 0
     fbcon: inteldrmfb (fb0) is primary device
     i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
     [drm] RC6 on
     
* Xorg modules (grep LoadModule /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d \" -f 2 | xargs):
     
     
* GL Support (glxinfo | grep -E "OpenGL version|OpenGL renderer"):
     OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 620 (Kaby Lake GT2) 
     OpenGL version string: 3.0 Mesa 17.3.5
     
* Xorg errors (without results: "grep '^\[.*(EE)' /var/log/Xorg.0.log ~/.local/share/xorg/Xorg.0.log | cut -d ':' -f 2- "):
     N/A

* Kernel buffer tail (dmesg | tail):
     [   19.689500] usb 1-4.4.3: 1:1: cannot get freq at ep 0x83
     [   21.457168] e1000e: enp0s31f6 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
     [   21.457226] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s31f6: link becomes ready
     [   26.079093] Bluetooth: hci0: Failed to send firmware data (-110)
     [   32.892799] fuse init (API version 7.26)
     [   34.897883] rfkill: input handler disabled
     [  301.033400] CPU3: Package temperature/speed normal
     [  301.033401] CPU1: Package temperature/speed normal
     [  301.033424] CPU0: Package temperature/speed normal
     [  301.033425] CPU2: Package temperature/speed normal
     
* Last few reboots (last -x -n10 reboot runlevel):
     runlevel (to lvl 5)   4.14.18-300.fc27 Mon Feb 26 15:56   still running
     reboot   system boot  4.14.18-300.fc27 Mon Feb 26 15:56   still running
     runlevel (to lvl 5)   4.15.4-300.fc27. Mon Feb 26 15:45 - 15:54  (00:09)
     reboot   system boot  4.15.4-300.fc27. Mon Feb 26 15:45 - 15:54  (00:09)
     runlevel (to lvl 5)   4.15.4-300.fc27. Mon Feb 26 15:44 - 15:44  (00:00)
     reboot   system boot  4.15.4-300.fc27. Mon Feb 26 15:44 - 15:44  (00:00)
     reboot   system boot  4.15.4-300.fc27. Mon Feb 26 15:42 - 15:43  (00:01)
     reboot   system boot  4.15.4-300.fc27. Mon Feb 26 15:40 - 15:43  (00:02)
     runlevel (to lvl 5)   4.14.18-300.fc27 Mon Feb 19 13:58 - 15:39 (7+01:40)
     reboot   system boot  4.14.18-300.fc27 Mon Feb 19 13:57 - 15:39 (7+01:41)
     
     wtmp begins Thu Aug 24 00:25:49 2017
     
* DNF Repositories (dnf -C repolist):
     repo id                     repo name                                     status
     adobe-linux-x86_64          Adobe Systems Incorporated                         3
     beaker-client               Beaker Client - Fedora27                          21
     code                        Visual Studio Code                                29
     *fedora                     Fedora 27 - x86_64                            54 801
     qa-tools                    QA Tools Incubator                               224
     qa-tools-testing            QA Tools Incubator Testing                        65
     rcm-tools-fedora-rpms       RCM Tools for Fedora 27 (RPMs)                     9
     *rpmfusion-free             RPM Fusion for Fedora 27 - Free                  574
     *rpmfusion-free-updates     RPM Fusion for Fedora 27 - Free - Updates        179
     *rpmfusion-nonfree          RPM Fusion for Fedora 27 - Nonfree               205
     *rpmfusion-nonfree-updates  RPM Fusion for Fedora 27 - Nonfree - Updates      49
     *updates                    Fedora 27 - x86_64 - Updates                  11 778
     *updates-debuginfo          Fedora 27 - x86_64 - Updates - Debug           9 570
     
* DNF Extras (dnf -C list extras):
     Last metadata expiration check: 2:26:26 ago on Po 26. únor 2018, 13:37:25 CET.
     Extra Packages
     SpiderOakGroups.x86_64                1:6.4.0-1                    @System      
     atom.x86_64                           1.19.3-0.1                   @@commandline
     bluejeans.x86_64                      1.29.14-1                    @System      
     jdk1.8.x86_64                         2000:1.8.0_152-fcs           @System      
     jdk1.8.0_144.x86_64                   2000:1.8.0_144-fcs           @@commandline
     kernel.x86_64                         4.14.18-300.fc27             @updates     
     kernel-core.x86_64                    4.14.18-300.fc27             @updates     
     kernel-devel.x86_64                   4.15.3-300.fc27              @updates     
     kernel-modules.x86_64                 4.14.18-300.fc27             @updates     
     kernel-modules-extra.x86_64           4.14.18-300.fc27             @updates     
     
* Last 20 packages installed (rpm -qa --nodigest --nosignature --last | head -20):
     qa-tools-workstation-3.15-31.noarch           Po 26. únor 2018, 09:49:05 CET
     kernel-devel-4.15.4-300.fc27.x86_64           So 24. únor 2018, 14:05:47 CET
     vim-minimal-8.0.1527-1.fc27.x86_64            So 24. únor 2018, 14:05:39 CET
     kernel-headers-4.15.4-300.fc27.x86_64         So 24. únor 2018, 14:05:39 CET
     vim-enhanced-8.0.1527-1.fc27.x86_64           So 24. únor 2018, 14:05:35 CET
     vim-common-8.0.1527-1.fc27.x86_64             So 24. únor 2018, 14:05:35 CET
     kernel-modules-extra-4.15.4-300.fc27.x86_64   So 24. únor 2018, 14:05:35 CET
     kernel-4.15.4-300.fc27.x86_64                 So 24. únor 2018, 14:05:35 CET
     vim-filesystem-8.0.1527-1.fc27.noarch         So 24. únor 2018, 14:05:33 CET
     kernel-modules-4.15.4-300.fc27.x86_64         So 24. únor 2018, 14:05:30 CET
     kernel-core-4.15.4-300.fc27.x86_64            So 24. únor 2018, 14:05:28 CET
     mesa-libxatracker-17.3.5-1.fc27.x86_64        Pá 23. únor 2018, 14:19:31 CET
     mesa-libwayland-egl-17.3.5-1.fc27.x86_64      Pá 23. únor 2018, 14:19:31 CET
     mesa-libOpenCL-17.3.5-1.fc27.x86_64           Pá 23. únor 2018, 14:19:31 CET
     mesa-libGL-17.3.5-1.fc27.x86_64               Pá 23. únor 2018, 14:19:31 CET
     mesa-libEGL-17.3.5-1.fc27.x86_64              Pá 23. únor 2018, 14:19:31 CET
     mesa-dri-drivers-17.3.5-1.fc27.x86_64         Pá 23. únor 2018, 14:19:31 CET
     mesa-libglapi-17.3.5-1.fc27.x86_64            Pá 23. únor 2018, 14:19:29 CET
     mesa-libgbm-17.3.5-1.fc27.x86_64              Pá 23. únor 2018, 14:19:29 CET
     mesa-filesystem-17.3.5-1.fc27.x86_64          Pá 23. únor 2018, 14:19:29 CET
     
* EFI boot manager output (efibootmgr -v):
     BootCurrent: 0000
     Timeout: 0 seconds
     BootOrder: 0000,0017,0018,0019,001A,001B,001C,001D,001E
     Boot0000* fedora	HD(1,GPT,592f1676-2845-430d-bbbc-e7b57f8ab905,0x800,0x100000)/File(\EFI\fedora\grubx64.efi)
     Boot0010  Setup	FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
     Boot0011  Boot Menu	FvFile(126a762d-5758-4fca-8531-201a7f57f850)
     Boot0012  Diagnostic Splash Screen	FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
     Boot0013  Lenovo Diagnostics	FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
     Boot0014  Startup Interrupt Menu	FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
     Boot0015  Rescue and Recovery	FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
     Boot0016  MEBx Hot Key	FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
     Boot0017* USB CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
     Boot0018* USB FDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
     Boot0019* NVMe0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
     Boot001A* ATA HDD0	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
     Boot001B* USB HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
     Boot001C* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
     Boot001D  Other CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
     Boot001E  Other HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
     Boot001F* IDER BOOT CDROM	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,1)
     Boot0020* IDER BOOT Floppy	PciRoot(0x0)/Pci(0x14,0x0)/USB(11,0)
     Boot0021* ATA HDD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
     Boot0022* ATAPI CD	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
     Boot0023* PCI LAN	VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)

Comment 1 George Sapkin 2018-02-27 08:50:06 UTC
Same thing with multiple T470, T570 and X270 here save for the LUKS bit. Started right after sound fix for Lenovo docks was introduced. Non of the docks have audio connected. Rolling back to pre-audio fix kernels or 4.14.x resolves the issue. So indeed might be related to https://bugzilla.redhat.com/show_bug.cgi?id=1543326

Comment 2 alex 2018-02-27 09:26:55 UTC
*** Bug 1547536 has been marked as a duplicate of this bug. ***

Comment 3 Jeremy Cline 2018-02-27 15:09:32 UTC
Hi, thanks for the bug report.

The sound fix for the T470 was dropped after 4.15.2 so if 4.15.4 doesn't work for you, it's not related. More likely it's a regression introduced from 4.14 to 4.15 if 4.14.18 works.

Can you try booting without "rhgb" and "quiet" in the kernel cmdline? That should turn off the graphical boot and enable more logging.

Comment 4 Stepan Broz 2018-02-27 20:01:05 UTC
I have tracked the issue down to:

- The boot hangs when the laptop was powered-on with the lid closed.
- When the system is powered on with lid open, the secondary display will start mirroring and the system even boots up eventually.
- In all cases with the <broken> kernel, there is a new dmesg message that was not present with the older kernel:

[drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun

A screenshot where the boot hangs when powered on with lid closed will be attached.

Comment 5 Stepan Broz 2018-02-27 20:02:18 UTC
Created attachment 1401501 [details]
screenshot1

Comment 6 Stepan Broz 2018-02-27 20:22:37 UTC
Created attachment 1401506 [details]
screenshot2

updatedb screenshot, the previous version was taken while the system was waiting for the LUKS password.

Comment 7 sbobber 2018-03-02 10:24:55 UTC
same issue with fedora 26 on hp elitebook 850 g4 i7 with hp docking station ultraslim

latest working kernel 4.14.18-200.fc26.x86_64

Comment 8 Laura Abbott 2018-03-02 15:45:51 UTC
If you have a working and non-working kernel running git bisect is going to be the best way to figure out what's broken.

Comment 9 Stepan Broz 2018-03-13 12:27:13 UTC

*** This bug has been marked as a duplicate of bug 1549042 ***


Note You need to log in before you can comment on or make changes to this bug.