Bug 1389537

Summary: Random freeze on waking up from lock on Lenovo t460 +docking station
Product: [Fedora] Fedora Reporter: Anton <antonborodko>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: antonborodko, ezwen-redhatbugzilla, gansalmon, ichavero, itamar, jonathan, kernel-maint, madhu.chinakonda, mchehab
Target Milestone: ---Flags: jforbes: needinfo?
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-28 17:17:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Anton 2016-10-27 20:17:48 UTC
Description of problem:
Hi, I'm experiencing random freezes while unlocking my workstation. I'm using Lenovo T460 laptop with Lenovo dock station which connects to 2 additional screens.

Version-Release number of selected component (if applicable):
4.7.9-200.fc24.x86_64


How reproducible:

Steps to Reproduce:
1. Connect to Lenovo docking station
2. Lock the system 
3. Try to unlock

Actual results:
Black screen, the computer is not responding (happens randomly, not every time)

Expected results:
The machine should wake and I should see login screen

Additional info:
This is the message I found in kernel log:
[drm:intel_cpu_fifo_underrun_irq_handler [i915]]

Comment 1 Anton 2016-10-30 09:47:07 UTC
The system froze while trying to reboot on docking station, found this in logs:

drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
Oct 30 11:35:22 hosaka kernel: [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
Oct 30 11:35:22 hosaka /usr/libexec/gdm-x-session[1711]: (WW) xf86CloseConsole: KDSETMODE failed: Input/output error
Oct 30 11:35:22 hosaka /usr/libexec/gdm-x-session[1711]: (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error
Oct 30 11:35:22 hosaka /usr/libexec/gdm-x-session[1711]: (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error
Oct 30 11:35:22 hosaka systemd[1676]: Stopped Accessibility services bus.
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Basic System.
Oct 30 11:35:22 hosaka kernel: BUG: unable to handle kernel paging request at 0000100000000028
Oct 30 11:35:22 hosaka kernel: IP: [<ffffffffaf0ec10f>] mutex_optimistic_spin+0x4f/0x1c0
Oct 30 11:35:22 hosaka kernel: PGD 0 
Oct 30 11:35:22 hosaka kernel: Oops: 0000 [#1] SMP
Oct 30 11:35:22 hosaka kernel: Modules linked in: lp parport rfcomm fuse ccm nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6
Oct 30 11:35:22 hosaka kernel:  snd_soc_core btusb btrtl snd_hda_codec_realtek irqbypass snd_hda_codec_generic btbcm crct10dif_pclmul btintel snd_compress bluetooth
Oct 30 11:35:22 hosaka kernel: CPU: 1 PID: 978 Comm: systemd-logind Tainted: G           OE   4.7.9-200.fc24.x86_64 #1
Oct 30 11:35:22 hosaka kernel: Hardware name: LENOVO 20FMS11A00/20FMS11A00, BIOS R06ET33W (1.07 ) 01/05/2016
Oct 30 11:35:22 hosaka kernel: task: ffff88040e3f0000 ti: ffff880409290000 task.ti: ffff880409290000
Oct 30 11:35:22 hosaka kernel: RIP: 0010:[<ffffffffaf0ec10f>]  [<ffffffffaf0ec10f>] mutex_optimistic_spin+0x4f/0x1c0
Oct 30 11:35:22 hosaka kernel: RSP: 0018:ffff880409293868  EFLAGS: 00010206
Oct 30 11:35:22 hosaka kernel: RAX: 0000100000000000 RBX: 0000000000000001 RCX: ffff88040a992580
Oct 30 11:35:22 hosaka kernel: RDX: 0000000000000001 RSI: ffff8801ad4b7300 RDI: ffff88040a851250
Oct 30 11:35:22 hosaka kernel: RBP: ffff8804092938b0 R08: 0000000000000438 R09: 0000000000000898
Oct 30 11:35:22 hosaka kernel: R10: 0000000000000780 R11: 0000000000000898 R12: ffff88040e3f0000
Oct 30 11:35:22 hosaka kernel: R13: ffff8801ad4b7300 R14: ffff88040a851250 R15: ffff88040a851250
Oct 30 11:35:22 hosaka kernel: FS:  00007f2391644900(0000) GS:ffff880421440000(0000) knlGS:0000000000000000
Oct 30 11:35:22 hosaka kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 30 11:35:22 hosaka kernel: CR2: 0000100000000028 CR3: 0000000409147000 CR4: 00000000003406e0
Oct 30 11:35:22 hosaka kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 30 11:35:22 hosaka kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 30 11:35:22 hosaka kernel: Stack:
Oct 30 11:35:22 hosaka kernel:  0000000000000000 ffff8804092939c4 ffff88040e3f0000 0000000100e4a000
Oct 30 11:35:22 hosaka kernel:  ffff8801ad4b7300 ffff88040e3f0000 ffff88040a852000 ffff880371809000
Oct 30 11:35:22 hosaka kernel:  ffff88040a851250 ffff880409293918 ffffffffaf7e9d71 0000000000000000
Oct 30 11:35:22 hosaka kernel: Call Trace:
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7e9d71>] __ww_mutex_lock_slowpath+0x51/0x1c0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7e9f3b>] __ww_mutex_lock+0x5b/0xa0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042d55e>] drm_modeset_lock+0x4e/0xd0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042d55e>] ? drm_modeset_lock+0x4e/0xd0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042e044>] drm_atomic_get_connector_state+0x34/0x1c0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d0f90>] __drm_atomic_helper_set_config+0x2a0/0x360 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d21da>] restore_fbdev_mode+0x22a/0x260 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d45d4>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d464d>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc05bea3a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf45a926>] fb_set_var+0x236/0x460
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf220658>] ? kmem_cache_alloc+0x108/0x1d0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b067>] ? avc_alloc_node+0x27/0x120
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b067>] ? avc_alloc_node+0x27/0x120
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b506>] ? avc_compute_av+0x146/0x1e0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4509bf>] fbcon_blank+0x30f/0x350
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4db322>] do_unblank_screen+0xd2/0x1a0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4d1166>] vt_ioctl+0x4f6/0x1270
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4c55ea>] tty_ioctl+0x35a/0xc50
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25fae9>] ? dput+0xd9/0x260
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25b692>] do_vfs_ioctl+0xa2/0x5d0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf0bea68>] ? task_work_run+0x88/0xb0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25bc39>] SyS_ioctl+0x79/0x90
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7ec5b2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
Oct 30 11:35:22 hosaka kernel: Code: 55 d4 65 48 8b 04 25 04 58 01 00 48 8b 80 08 c0 ff ff a8 08 0f 85 be 00 00 00 48 8b 47 18 49 89 fe 49 89 f5 89 d3 48 85 c0 74 0
Oct 30 11:35:22 hosaka kernel: RIP  [<ffffffffaf0ec10f>] mutex_optimistic_spin+0x4f/0x1c0
Oct 30 11:35:22 hosaka kernel:  RSP <ffff880409293868>
Oct 30 11:35:22 hosaka kernel: CR2: 0000100000000028
Oct 30 11:35:22 hosaka kernel: ---[ end trace 43fee5b604f13a59 ]---
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Sockets.
Oct 30 11:35:22 hosaka systemd[1690]: pam_unix(systemd-user:session): session closed for user anton
Oct 30 11:35:22 hosaka systemd[1676]: Closed D-Bus User Message Bus Socket.
Oct 30 11:35:22 hosaka systemd[1676]: Reached target Shutdown.
Oct 30 11:35:22 hosaka systemd[1676]: Starting Exit the Session...
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Paths.
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Timers.
Oct 30 11:35:22 hosaka systemd[1676]: Received SIGRTMIN+24 from PID 9108 (kill).
Oct 30 11:35:22 hosaka systemd[1]: Stopped User Manager for UID 1000.

Oct 30 11:35:22 hosaka kernel: RAX: 0000100000000000 RBX: 0000000000000001 RCX: ffff88040a992580
Oct 30 11:35:22 hosaka kernel: RDX: 0000000000000001 RSI: ffff8801ad4b7300 RDI: ffff88040a851250
Oct 30 11:35:22 hosaka kernel: RBP: ffff8804092938b0 R08: 0000000000000438 R09: 0000000000000898
Oct 30 11:35:22 hosaka kernel: R10: 0000000000000780 R11: 0000000000000898 R12: ffff88040e3f0000
Oct 30 11:35:22 hosaka kernel: R13: ffff8801ad4b7300 R14: ffff88040a851250 R15: ffff88040a851250
Oct 30 11:35:22 hosaka kernel: FS:  00007f2391644900(0000) GS:ffff880421440000(0000) knlGS:0000000000000000
Oct 30 11:35:22 hosaka kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 30 11:35:22 hosaka kernel: CR2: 0000100000000028 CR3: 0000000409147000 CR4: 00000000003406e0
Oct 30 11:35:22 hosaka kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 30 11:35:22 hosaka kernel: DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Oct 30 11:35:22 hosaka kernel: Stack:
Oct 30 11:35:22 hosaka kernel:  0000000000000000 ffff8804092939c4 ffff88040e3f0000 0000000100e4a000
Oct 30 11:35:22 hosaka kernel:  ffff8801ad4b7300 ffff88040e3f0000 ffff88040a852000 ffff880371809000
Oct 30 11:35:22 hosaka kernel:  ffff88040a851250 ffff880409293918 ffffffffaf7e9d71 0000000000000000
Oct 30 11:35:22 hosaka kernel: Call Trace:
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7e9d71>] __ww_mutex_lock_slowpath+0x51/0x1c0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7e9f3b>] __ww_mutex_lock+0x5b/0xa0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042d55e>] drm_modeset_lock+0x4e/0xd0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042d55e>] ? drm_modeset_lock+0x4e/0xd0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc042e044>] drm_atomic_get_connector_state+0x34/0x1c0 [drm]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d0f90>] __drm_atomic_helper_set_config+0x2a0/0x360 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d21da>] restore_fbdev_mode+0x22a/0x260 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d45d4>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc04d464d>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffc05bea3a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf45a926>] fb_set_var+0x236/0x460
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf220658>] ? kmem_cache_alloc+0x108/0x1d0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b067>] ? avc_alloc_node+0x27/0x120
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b067>] ? avc_alloc_node+0x27/0x120
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf35b506>] ? avc_compute_av+0x146/0x1e0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4509bf>] fbcon_blank+0x30f/0x350
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4db322>] do_unblank_screen+0xd2/0x1a0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4d1166>] vt_ioctl+0x4f6/0x1270
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf4c55ea>] tty_ioctl+0x35a/0xc50
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25fae9>] ? dput+0xd9/0x260
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25b692>] do_vfs_ioctl+0xa2/0x5d0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf0bea68>] ? task_work_run+0x88/0xb0
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf25bc39>] SyS_ioctl+0x79/0x90
Oct 30 11:35:22 hosaka kernel:  [<ffffffffaf7ec5b2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
Oct 30 11:35:22 hosaka kernel: Code: 55 d4 65 48 8b 04 25 04 58 01 00 48 8b 80 08 c0 ff ff a8 08 0f 85 be 00 00 00 48 8b 47 18 49 89 fe 49 89 f5 89 d3 48 85 c0 74 0b <8b> 50 28 85 d2 0f 84 a2 00 00 00 49 8d 46 2
Oct 30 11:35:22 hosaka kernel: RIP  [<ffffffffaf0ec10f>] mutex_optimistic_spin+0x4f/0x1c0
Oct 30 11:35:22 hosaka kernel:  RSP <ffff880409293868>
Oct 30 11:35:22 hosaka kernel: CR2: 0000100000000028
Oct 30 11:35:22 hosaka kernel: ---[ end trace 43fee5b604f13a59 ]---
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Sockets.
Oct 30 11:35:22 hosaka systemd[1690]: pam_unix(systemd-user:session): session closed for user anton
Oct 30 11:35:22 hosaka systemd[1676]: Closed D-Bus User Message Bus Socket.
Oct 30 11:35:22 hosaka systemd[1676]: Reached target Shutdown.
Oct 30 11:35:22 hosaka systemd[1676]: Starting Exit the Session...
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Paths.
Oct 30 11:35:22 hosaka systemd[1676]: Stopped target Timers.
Oct 30 11:35:22 hosaka systemd[1676]: Received SIGRTMIN+24 from PID 9108 (kill).
Oct 30 11:35:22 hosaka systemd[1]: Stopped User Manager for UID 1000.

Comment 2 Gwendal 2017-03-20 16:23:38 UTC
I also encounter (very frequent) random freezes when trying to unlock my lenovo T440s running Fedora 25, although it does not appear related to the docking stations. It also seems unrelated to X/Wayland.

Concretely: I open my lid, enter my password, press enter, and it never logs in: the login screen completely freezes. I can still move the mouse, but cannot interact with anything anymore. I can still press CTRL+SHIFT+F<number> to switch to a terminal.

Once it's frozen, my only solution is to reboot the system.

It may have a different root cause than this reported bug.

Comment 3 Justin M. Forbes 2017-04-11 14:45:05 UTC
*********** MASS BUG UPDATE **************

We apologize for the inconvenience.  There are a large number of bugs to go through and several of them have gone stale.  Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs.

Fedora 25 has now been rebased to 4.10.9-100.fc24.  Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.

If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26.

If you experience different issues, please open a new bug report for those.

Comment 4 Justin M. Forbes 2017-04-28 17:17:58 UTC
*********** MASS BUG UPDATE **************
This bug is being closed with INSUFFICIENT_DATA as there has not been a response in 2 weeks. If you are still experiencing this issue, please reopen and attach the 
relevant data from the latest kernel you are running and any data that might have been requested previously.