You are not logged in.

#1 2016-03-16 20:45:24

indivisualist
Member
From: Germany
Registered: 2013-01-29
Posts: 6

Connecting a monitor to the docking station crashes the system

Hey guys,

I've got a new ThinkPad T460s plus a new ThinkPad Ultra Dock. On Windows 10, everything regarding the dock works fine - on Linux, there are some issues, including not being able to use an external monitor at it.
When I connect an external monitor directly to the laptop via Mini DP, it works as intended. Connecting the same monitor to a DVI or DP port at the dock leads to a frozen system. The problem is reproducable.

Here are two exemplary traces when I plugged in the monitor and the system froze:

Mär 16 21:16:15 T460s kernel: ------------[ cut here ]------------
Mär 16 21:16:15 T460s kernel: WARNING: CPU: 0 PID: 1126 at drivers/gpu/drm/i915/intel_pm.c:3597 skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]()
Mär 16 21:16:15 T460s kernel: WARN_ON(!wm_changed)
Mär 16 21:16:15 T460s kernel: Modules linked in:
Mär 16 21:16:15 T460s kernel:  sha256_ssse3 sha256_generic hmac drbg ansi_cprng ctr ccm hid_generic hid_kensington usbhid hid fuse uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic joydev mousedev snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_core msr snd_compress snd_pcm_dmaengine ac97_bus dw_dmac_core iTCO_wdt iTCO_vendor_support arc4 intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel nls_iso8859_1 kvm nls_cp437 irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel vfat fat aesni_intel iwlmvm aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd mac80211 evdev pcspkr snd_hda_intel psmouse input_leds mac_hid serio_raw snd_hda_codec e1000e
Mär 16 21:16:15 T460s kernel:  snd_hda_core snd_hwdep ptp pps_core iwlwifi snd_pcm i915 snd_timer i2c_i801 mei_me mei cfg80211 rtsx_pci_ms drm_kms_helper memstick drm shpchp intel_gtt syscopyarea sysfillrect sysimgblt fb_sys_fops i2c_algo_bit thermal thinkpad_acpi wmi nvram snd ac soundcore led_class rfkill battery tpm_tis tpm video fjes button sch_fq_codel processor vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) acpi_call(O) ip_tables x_tables ext4 crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core atkbd libps2 nvme xhci_pci xhci_hcd rtsx_pci usbcore usb_common i8042 serio
Mär 16 21:16:15 T460s kernel: CPU: 0 PID: 1126 Comm: Xorg Tainted: G        W  O    4.4.5-1-ARCH #1
Mär 16 21:16:15 T460s kernel: Hardware name: LENOVO 20FAS05P00/20FAS05P00, BIOS N1CET37W (1.05 ) 01/15/2016
Mär 16 21:16:15 T460s kernel:  0000000000000286 0000000077d2de79 ffff8800b269f7c8 ffffffff812cb391
Mär 16 21:16:15 T460s kernel:  ffff8800b269f810 ffffffffa0576ff8 ffff8800b269f800 ffffffff810776e2
Mär 16 21:16:15 T460s kernel:  ffff8800b53fb000 ffff8800b269f934 ffff8800b53fc000 0000000000000000
Mär 16 21:16:15 T460s kernel: Call Trace:
Mär 16 21:16:15 T460s kernel:  [<ffffffff812cb391>] dump_stack+0x63/0x82
Mär 16 21:16:15 T460s kernel:  [<ffffffff810776e2>] warn_slowpath_common+0x82/0xc0
Mär 16 21:16:15 T460s kernel:  [<ffffffff8107777c>] warn_slowpath_fmt+0x5c/0x80
Mär 16 21:16:15 T460s kernel:  [<ffffffffa04a7f67>] skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa04a81ca>] skl_update_wm+0x25a/0x750 [i915]
Mär 16 21:16:15 T460s kernel:  [<ffffffff810e3160>] ? hrtimer_init+0x120/0x120
Mär 16 21:16:15 T460s kernel:  [<ffffffffa04ac50e>] intel_update_watermarks+0x1e/0x30 [i915]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa0511672>] intel_atomic_commit+0x462/0x1430 [i915]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa035b55e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa035b997>] drm_atomic_commit+0x37/0x60 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa03b72b6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa034a062>] drm_mode_set_config_internal+0x62/0x100 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa034ef52>] drm_mode_setcrtc+0x3d2/0x4f0 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa03407b2>] drm_ioctl+0x152/0x540 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffffa034eb80>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
Mär 16 21:16:15 T460s kernel:  [<ffffffff811f3258>] do_vfs_ioctl+0x298/0x480
Mär 16 21:16:15 T460s kernel:  [<ffffffff811fd307>] ? __fget+0x77/0xb0
Mär 16 21:16:15 T460s kernel:  [<ffffffff811f34b9>] SyS_ioctl+0x79/0x90
Mär 16 21:16:15 T460s kernel:  [<ffffffff815970ee>] entry_SYSCALL_64_fastpath+0x12/0x6d
Mär 16 21:16:15 T460s kernel: ---[ end trace 383872c181486db2 ]---
Mär 16 21:32:19 T460s kernel: ------------[ cut here ]------------
Mär 16 21:32:19 T460s kernel: WARNING: CPU: 0 PID: 231 at drivers/gpu/drm/i915/intel_pm.c:3597 skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]()
Mär 16 21:32:19 T460s kernel: WARN_ON(!wm_changed)
Mär 16 21:32:19 T460s kernel: Modules linked in: joydev mousedev snd_soc_skl snd_soc_skl_ipc snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_core msr snd_compress snd_pcm_dmaengine ac97_bus dw_dmac_core iTCO_wdt iTCO_vendor_support intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel nls_iso8859_1 nls_cp437 aesni_intel vfat fat aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd pcspkr snd_hda_intel psmouse evdev input_leds mac_hid snd_hda_codec iwlmvm serio_raw mac80211 e1000e snd_hda_core snd_hwdep i2c_i801 ptp pps_core snd_pcm snd_timer i915 iwlwifi cfg80211 rtsx_pci_ms memstick drm_kms_helper shpchp drm intel_gtt syscopyarea mei_me sysfillrect sysimgblt fb_sys_fops mei i2c_algo_bit thermal thinkpad_acpi wmi nvram
Mär 16 21:32:19 T460s kernel:  snd soundcore led_class rfkill battery fjes video ac button tpm_tis tpm processor sch_fq_codel vboxnetflt(O) vboxnetadp(O) pci_stub vboxpci(O) vboxdrv(O) acpi_call(O) ip_tables x_tables ext4 crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core atkbd libps2 xhci_pci xhci_hcd nvme rtsx_pci usbcore usb_common i8042 serio
Mär 16 21:32:19 T460s kernel: CPU: 0 PID: 231 Comm: kworker/u16:3 Tainted: G           O    4.4.5-1-ARCH #1
Mär 16 21:32:19 T460s kernel: Hardware name: LENOVO 20FAS05P00/20FAS05P00, BIOS N1CET37W (1.05 ) 01/15/2016
Mär 16 21:32:19 T460s kernel: Workqueue: events_unbound async_run_entry_fn
Mär 16 21:32:19 T460s kernel:  0000000000000286 00000000bda7a181 ffff880527e374c0 ffffffff812cb391
Mär 16 21:32:19 T460s kernel:  ffff880527e37508 ffffffffa05a2ff8 ffff880527e374f8 ffffffff810776e2
Mär 16 21:32:19 T460s kernel:  ffff880526431000 ffff880527e3762c ffff880526430000 0000000000000000
Mär 16 21:32:19 T460s kernel: Call Trace:
Mär 16 21:32:19 T460s kernel:  [<ffffffff812cb391>] dump_stack+0x63/0x82
Mär 16 21:32:19 T460s kernel:  [<ffffffff810776e2>] warn_slowpath_common+0x82/0xc0
Mär 16 21:32:19 T460s kernel:  [<ffffffff8107777c>] warn_slowpath_fmt+0x5c/0x80
Mär 16 21:32:19 T460s kernel:  [<ffffffffa04d3f67>] skl_update_other_pipe_wm+0x1e7/0x1f0 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa04d41ca>] skl_update_wm+0x25a/0x750 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffff8109cbd8>] ? finish_task_switch+0x78/0x210
Mär 16 21:32:19 T460s kernel:  [<ffffffff81592e7a>] ? __schedule+0x3aa/0xae0
Mär 16 21:32:19 T460s kernel:  [<ffffffffa04d850e>] intel_update_watermarks+0x1e/0x30 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa0541ad0>] haswell_crtc_enable+0x370/0x870 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa053d6a2>] intel_atomic_commit+0x492/0x1430 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa036555e>] ? drm_atomic_check_only+0x18e/0x590 [drm]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa0365997>] drm_atomic_commit+0x37/0x60 [drm]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa03c6faf>] restore_fbdev_mode+0x22f/0x260 [drm_kms_helper]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa03c9313>] drm_fb_helper_restore_fbdev_mode_unlocked+0x33/0x80 [drm_kms_helper]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa03c938d>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa055419a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffff81335130>] fbcon_init+0x570/0x5f0
Mär 16 21:32:19 T460s kernel:  [<ffffffff813b0b3a>] visual_init+0xca/0x130
Mär 16 21:32:19 T460s kernel:  [<ffffffff813b265e>] do_bind_con_driver+0x1be/0x3e0
Mär 16 21:32:19 T460s kernel:  [<ffffffff813b2bb9>] do_take_over_console+0x149/0x1a0
Mär 16 21:32:19 T460s kernel:  [<ffffffff81335207>] do_fbcon_takeover+0x57/0xb0
Mär 16 21:32:19 T460s kernel:  [<ffffffff81339378>] fbcon_event_notify+0x658/0x750
Mär 16 21:32:19 T460s kernel:  [<ffffffff810960ca>] notifier_call_chain+0x4a/0x70
Mär 16 21:32:19 T460s kernel:  [<ffffffff81096477>] __blocking_notifier_call_chain+0x47/0x60
Mär 16 21:32:19 T460s kernel:  [<ffffffff810964a6>] blocking_notifier_call_chain+0x16/0x20
Mär 16 21:32:19 T460s kernel:  [<ffffffff8133f0fb>] fb_notifier_call_chain+0x1b/0x20
Mär 16 21:32:19 T460s kernel:  [<ffffffff8134126f>] register_framebuffer+0x20f/0x350
Mär 16 21:32:19 T460s kernel:  [<ffffffffa03c963a>] drm_fb_helper_initial_config+0x28a/0xc50 [drm_kms_helper]
Mär 16 21:32:19 T460s kernel:  [<ffffffffa0554c9b>] intel_fbdev_initial_config+0x1b/0x20 [i915]
Mär 16 21:32:19 T460s kernel:  [<ffffffff81097b38>] async_run_entry_fn+0x48/0x150
Mär 16 21:32:19 T460s kernel:  [<ffffffff8108f5bb>] process_one_work+0x14b/0x480
Mär 16 21:32:19 T460s kernel:  [<ffffffff8108f938>] worker_thread+0x48/0x4a0
Mär 16 21:32:19 T460s kernel:  [<ffffffff8108f8f0>] ? process_one_work+0x480/0x480
Mär 16 21:32:19 T460s kernel:  [<ffffffff8108f8f0>] ? process_one_work+0x480/0x480
Mär 16 21:32:19 T460s kernel:  [<ffffffff810953d8>] kthread+0xd8/0xf0
Mär 16 21:32:19 T460s kernel:  [<ffffffff81095300>] ? kthread_worker_fn+0x170/0x170
Mär 16 21:32:19 T460s kernel:  [<ffffffff8159743f>] ret_from_fork+0x3f/0x70
Mär 16 21:32:19 T460s kernel:  [<ffffffff81095300>] ? kthread_worker_fn+0x170/0x170
Mär 16 21:32:19 T460s kernel: ---[ end trace 5436358da0b3df57 ]---

I'm running a fresh Arch Linux:

Linux T460s 4.4.5-1-ARCH #1 SMP PREEMPT Thu Mar 10 07:38:19 CET 2016 x86_64 GNU/Linux

Any ideas on how to proceed from here?

Last edited by indivisualist (2016-03-17 21:00:17)


Linux: the choice of a GNU generation.

Offline

#2 2016-03-16 21:41:59

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,410
Website

Re: Connecting a monitor to the docking station crashes the system

Please use code tags, rather than quote tags, when pasting terminal output. Thanks.

https://wiki.archlinux.org/index.php/Fo … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-03-17 21:01:26

indivisualist
Member
From: Germany
Registered: 2013-01-29
Posts: 6

Re: Connecting a monitor to the docking station crashes the system

Whoops, my mistake - I just fixed the post. Thanks!


Linux: the choice of a GNU generation.

Offline

#4 2016-03-17 21:15:57

laloch
Member
Registered: 2010-02-04
Posts: 186

Re: Connecting a monitor to the docking station crashes the system

Hi indivisualist,
try to upgrade to linux-4.5 from [testing]. I had all kinds of problems with my integrated HD5500 graphics on v4.4, including crashes when connecting external display. Most of them are gone since the upgrade.

Offline

Board footer

Powered by FluxBB