You are not logged in.

#1 2019-10-14 16:00:11

seho
Member
Registered: 2019-10-07
Posts: 7

Thinkpad X1 Extreme - Thunderbolt Issues with Lenovo Dock

Hi all,

i'm running arch on the thinkpad x1 extreme (gen1) for arround a half year. But i haven't managed to get the lenovo "Thinkpad Thunderbolt 3 Workstation Dock" working reliable.

Without the thunderbolt dock everything is working. But using the dock it happens from time to time that are problems.

Until i decided to upgrade the BIOS to latest version (1.24) the usb-device were lost but the system was still usable. But with the latest BIOS update the system freezes completly after arround 30 seconds.

I was able to extract the part from the kernel log where i think the problem has occured.

[15663.326278] pcieport 0000:00:1b.4: pciehp: Slot(20): Link Down
[15663.326296] pcieport 0000:05:04.0: Refused to change power state, currently in D3
[15663.327471] pcieport 0000:05:02.0: Refused to change power state, currently in D3
[15663.430631] pcieport 0000:05:00.0: Refused to change power state, currently in D3
[15663.430754] pcieport 0000:08:04.0: Refused to change power state, currently in D3
[15663.643941] xhci_hcd 0000:3a:00.0: Refused to change power state, currently in D3
[15663.807222] xhci_hcd 0000:3a:00.0: Refused to change power state, currently in D3
[15663.807271] xhci_hcd 0000:3a:00.0: WARN: xHC restore state timeout
[15663.807276] xhci_hcd 0000:3a:00.0: PCI post-resume error -110!
[15663.807278] xhci_hcd 0000:3a:00.0: HC died; cleaning up
[15663.807310] xhci_hcd 0000:3a:00.0: remove, state 4
[15663.807318] usb usb6: USB disconnect, device number 1
[15663.807885] xhci_hcd 0000:3a:00.0: USB bus 6 deregistered
[15663.807902] xhci_hcd 0000:3a:00.0: remove, state 4
[15663.807909] usb usb5: USB disconnect, device number 1
[15663.808368] xhci_hcd 0000:3a:00.0: Host halt failed, -19
[15663.808373] xhci_hcd 0000:3a:00.0: Host not accessible, reset failed.
[15663.808587] xhci_hcd 0000:3a:00.0: USB bus 5 deregistered
[15663.809090] pcieport 0000:05:02.0: Refused to change power state, currently in D3
[15663.809252] pcieport 0000:08:04.0: Refused to change power state, currently in D3
[15663.809881] xhci_hcd 0000:09:00.0: remove, state 1
[15663.809895] usb usb4: USB disconnect, device number 1
[15663.809899] usb 4-2: USB disconnect, device number 2
[15663.809903] usb 4-2.1: USB disconnect, device number 3
[15663.809906] usb 4-2.1.2: USB disconnect, device number 5
[15663.810005] xhci_hcd 0000:09:00.0: xHCI host controller not responding, assume dead
[15663.810303] cdc_ether 4-2.1.2:2.0 ens1u2u1u2c2: unregister 'cdc_ether' usb-0000:09:00.0-2.1.2, CDC Ethernet Device
[15663.847917] usb 4-2.3: USB disconnect, device number 4
[15663.848612] xhci_hcd 0000:09:00.0: USB bus 4 deregistered
[15663.848623] xhci_hcd 0000:09:00.0: remove, state 1
[15663.848629] usb usb3: USB disconnect, device number 1
[15663.848631] usb 3-2: USB disconnect, device number 2
[15663.848633] usb 3-2.1: USB disconnect, device number 3
[15663.848634] usb 3-2.1.1: USB disconnect, device number 6
[15663.848636] usb 3-2.1.1.4: USB disconnect, device number 9
[15663.855606] audit: type=1130 audit(1571067364.056:325): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[15663.876497] usb 3-2.1.5: USB disconnect, device number 8
[15663.876869] usb 3-2.2: USB disconnect, device number 12
[15663.876934] ftdi_sio ttyUSB0: error from flowcontrol urb
[15663.877065] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
[15663.877079] ftdi_sio 3-2.2:1.0: device disconnected
[15663.877216] usb 3-2.3: USB disconnect, device number 4
[15663.877219] usb 3-2.3.2: USB disconnect, device number 7
[15663.891132] audit: type=1131 audit(1571067364.093:326): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=gpsdctl@ttyUSB0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[15663.917868] usb 3-2.3.3: USB disconnect, device number 10
[15664.016719] usb 3-2.3.4: USB disconnect, device number 11
[15664.151126] usb 3-2.5: USB disconnect, device number 5
[15664.151759] xhci_hcd 0000:09:00.0: Host halt failed, -19
[15664.151762] xhci_hcd 0000:09:00.0: Host not accessible, reset failed.
[15664.151903] xhci_hcd 0000:09:00.0: USB bus 3 deregistered
[15664.212220] ------------[ cut here ]------------
[15664.212222] thunderbolt 0000:06:00.0: interrupt for TX ring 0 is already enabled
[15664.212256] WARNING: CPU: 4 PID: 208 at drivers/thunderbolt/nhi.c:104 ring_interrupt_active+0x1ef/0x240 [thunderbolt]
[15664.212256] Modules linked in: xt_policy authenc echainiv esp4 ftdi_sio nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) nvidia(POE) ipmi_devintf ipmi_msghandler fuse veth xt_nat xt_tcpudp xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat xt_addrtype iptable_filter xt_conntrack br_netfilter bridge stp llc overlay rfcomm cmac algif_hash algif_skcipher af_alg snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device cdc_ether usbnet mii sd_mod nft_nat nft_chain_nat nf_nat bnep nft_counter btusb btrtl btbcm btintel uvcvideo bluetooth videobuf2_vmalloc videobuf2_memops wacom videobuf2_v4l2 videobuf2_common hid_generic videodev usbhid nft_reject_inet nf_reject_ipv4 joydev nf_reject_ipv6 mousedev hid nft_reject ecdh_generic mc ecc nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c sof_pci_dev nf_tables snd_sof_intel_hda_common snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc nfnetlink typec_displayport snd_sof snd_sof_xtensa_dsp snd_soc_skl snd_soc_hdac_hda
[15664.212272]  x86_pkg_temp_thermal snd_hda_ext_core intel_powerclamp snd_hda_codec_hdmi coretemp snd_soc_skl_ipc kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_realtek snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_generic kvm snd_soc_core irqbypass snd_compress iTCO_wdt ac97_bus mei_hdcp iwlmvm 8250_dw iTCO_vendor_support intel_rapl_msr crct10dif_pclmul crc32_pclmul wmi_bmof uas intel_wmi_thunderbolt i915 ghash_clmulni_intel usb_storage snd_pcm_dmaengine mac80211 aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper libarc4 cryptd snd_hda_intel nls_iso8859_1 glue_helper intel_cstate drm snd_hda_codec nls_cp437 vfat intel_uncore fat iwlwifi snd_hda_core intel_rapl_perf intel_gtt tpm_crb snd_hwdep psmouse input_leds pcspkr thinkpad_acpi mei_me snd_pcm tpm_tis e1000e agpgart processor_thermal_device nvram i2c_i801 cfg80211 thunderbolt idma64 tpm_tis_core syscopyarea mei snd_timer ledtrig_audio intel_rapl_common intel_lpss_pci ucsi_acpi sysfillrect tpm sysimgblt rfkill
[15664.212287]  intel_lpss intel_pch_thermal typec_ucsi snd fb_sys_fops intel_soc_dts_iosf typec wmi rng_core battery soundcore int3403_thermal ac int340x_thermal_zone evdev int3400_thermal mac_hid acpi_thermal_rel vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user bbswitch(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 xhci_pci crc32c_intel xhci_hcd i8042 serio
[15664.212297] CPU: 4 PID: 208 Comm: irq/124-pciehp Tainted: P           OE     5.3.4-arch1-1-ARCH #1
[15664.212298] Hardware name: LENOVO 20MF000XGE/20MF000XGE, BIOS N2EET42W (1.24 ) 08/06/2019
[15664.212300] RIP: 0010:ring_interrupt_active+0x1ef/0x240 [thunderbolt]
[15664.212301] Code: 00 00 00 44 89 44 24 04 e8 8e 49 55 e0 44 8b 44 24 04 4d 89 f1 4c 89 e1 48 89 c6 4c 89 fa 48 c7 c7 50 d1 8d c0 e8 20 8a fc df <0f> 0b e9 1b ff ff ff 0f b6 43 78 d3 e0 09 c7 e9 dc fe ff ff 44 03
[15664.212302] RSP: 0018:ffffa0f9804abba8 EFLAGS: 00010086
[15664.212303] RAX: 0000000000000000 RBX: ffff9667f8ea2180 RCX: 0000000000000000
[15664.212303] RDX: 0000000000000003 RSI: 0000000000000086 RDI: 00000000ffffffff
[15664.212304] RBP: 00000000ffffffff R08: 0000000000000a92 R09: 0000000000000001
[15664.212304] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc08dc671
[15664.212304] R13: 0000000000038200 R14: ffffffffc08dc660 R15: ffff9667fa94be10
[15664.212305] FS:  0000000000000000(0000) GS:ffff9667ff500000(0000) knlGS:0000000000000000
[15664.212306] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15664.212306] CR2: 0000000003eaeff8 CR3: 00000007df942004 CR4: 00000000003626e0
[15664.212307] Call Trace:
[15664.212311]  tb_ring_start+0xbf/0x190 [thunderbolt]
[15664.212314]  tb_ctl_start+0x25/0x80 [thunderbolt]
[15664.212318]  tb_domain_runtime_resume+0x15/0x40 [thunderbolt]
[15664.212320]  pci_pm_runtime_resume+0x71/0xc0
[15664.212322]  ? pci_restore_standard_config+0x40/0x40
[15664.212323]  ? pci_restore_standard_config+0x40/0x40
[15664.212325]  __rpm_callback+0x7b/0x130
[15664.212326]  ? pci_restore_standard_config+0x40/0x40
[15664.212327]  rpm_callback+0x1f/0x70
[15664.212328]  ? pci_restore_standard_config+0x40/0x40
[15664.212329]  rpm_resume+0x591/0x790
[15664.212330]  __pm_runtime_resume+0x3b/0x60
[15664.212331]  ? irq_forced_thread_fn+0x80/0x80
[15664.212333]  device_release_driver_internal+0x75/0x1b0
[15664.212335]  pci_stop_bus_device+0x68/0x90
[15664.212336]  pci_stop_bus_device+0x2c/0x90
[15664.212337]  pci_stop_bus_device+0x3d/0x90
[15664.212338]  pci_stop_and_remove_bus_device+0xe/0x20
[15664.212340]  pciehp_unconfigure_device+0x83/0x136
[15664.212341]  pciehp_disable_slot+0x6b/0xf0
[15664.212343]  pciehp_handle_presence_or_link_change+0xdc/0x140
[15664.212344]  pciehp_ist+0x10f/0x120
[15664.212345]  irq_thread_fn+0x20/0x60
[15664.212346]  irq_thread+0xee/0x180
[15664.212347]  ? wake_threads_waitq+0x30/0x30
[15664.212348]  kthread+0xfb/0x130
[15664.212349]  ? irq_thread_dtor+0x90/0x90
[15664.212350]  ? kthread_park+0x80/0x80
[15664.212352]  ret_from_fork+0x35/0x40
[15664.212353] ---[ end trace 8111617a9cd5a7ff ]---
[15664.212361] ------------[ cut here ]------------
[15664.212361] thunderbolt 0000:06:00.0: interrupt for RX ring 0 is already enabled
[15664.212374] WARNING: CPU: 4 PID: 208 at drivers/thunderbolt/nhi.c:104 ring_interrupt_active+0x1ef/0x240 [thunderbolt]
[15664.212375] Modules linked in: xt_policy authenc echainiv esp4 ftdi_sio nvidia_drm(POE) nvidia_modeset(POE) nvidia_uvm(OE) nvidia(POE) ipmi_devintf ipmi_msghandler fuse veth xt_nat xt_tcpudp xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo iptable_nat xt_addrtype iptable_filter xt_conntrack br_netfilter bridge stp llc overlay rfcomm cmac algif_hash algif_skcipher af_alg snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device cdc_ether usbnet mii sd_mod nft_nat nft_chain_nat nf_nat bnep nft_counter btusb btrtl btbcm btintel uvcvideo bluetooth videobuf2_vmalloc videobuf2_memops wacom videobuf2_v4l2 videobuf2_common hid_generic videodev usbhid nft_reject_inet nf_reject_ipv4 joydev nf_reject_ipv6 mousedev hid nft_reject ecdh_generic mc ecc nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c sof_pci_dev nf_tables snd_sof_intel_hda_common snd_sof_intel_hda snd_sof_intel_byt snd_sof_intel_ipc nfnetlink typec_displayport snd_sof snd_sof_xtensa_dsp snd_soc_skl snd_soc_hdac_hda
[15664.212385]  x86_pkg_temp_thermal snd_hda_ext_core intel_powerclamp snd_hda_codec_hdmi coretemp snd_soc_skl_ipc kvm_intel snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_realtek snd_soc_acpi_intel_match snd_soc_acpi snd_hda_codec_generic kvm snd_soc_core irqbypass snd_compress iTCO_wdt ac97_bus mei_hdcp iwlmvm 8250_dw iTCO_vendor_support intel_rapl_msr crct10dif_pclmul crc32_pclmul wmi_bmof uas intel_wmi_thunderbolt i915 ghash_clmulni_intel usb_storage snd_pcm_dmaengine mac80211 aesni_intel i2c_algo_bit aes_x86_64 crypto_simd drm_kms_helper libarc4 cryptd snd_hda_intel nls_iso8859_1 glue_helper intel_cstate drm snd_hda_codec nls_cp437 vfat intel_uncore fat iwlwifi snd_hda_core intel_rapl_perf intel_gtt tpm_crb snd_hwdep psmouse input_leds pcspkr thinkpad_acpi mei_me snd_pcm tpm_tis e1000e agpgart processor_thermal_device nvram i2c_i801 cfg80211 thunderbolt idma64 tpm_tis_core syscopyarea mei snd_timer ledtrig_audio intel_rapl_common intel_lpss_pci ucsi_acpi sysfillrect tpm sysimgblt rfkill
[15664.212395]  intel_lpss intel_pch_thermal typec_ucsi snd fb_sys_fops intel_soc_dts_iosf typec wmi rng_core battery soundcore int3403_thermal ac int340x_thermal_zone evdev int3400_thermal mac_hid acpi_thermal_rel vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) sg scsi_mod crypto_user bbswitch(OE) ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 xhci_pci crc32c_intel xhci_hcd i8042 serio
[15664.212401] CPU: 4 PID: 208 Comm: irq/124-pciehp Tainted: P        W  OE     5.3.4-arch1-1-ARCH #1
[15664.212401] Hardware name: LENOVO 20MF000XGE/20MF000XGE, BIOS N2EET42W (1.24 ) 08/06/2019
[15664.212404] RIP: 0010:ring_interrupt_active+0x1ef/0x240 [thunderbolt]
[15664.212404] Code: 00 00 00 44 89 44 24 04 e8 8e 49 55 e0 44 8b 44 24 04 4d 89 f1 4c 89 e1 48 89 c6 4c 89 fa 48 c7 c7 50 d1 8d c0 e8 20 8a fc df <0f> 0b e9 1b ff ff ff 0f b6 43 78 d3 e0 09 c7 e9 dc fe ff ff 44 03
[15664.212405] RSP: 0018:ffffa0f9804abba8 EFLAGS: 00010086
[15664.212405] RAX: 0000000000000000 RBX: ffff9667f8ea29c0 RCX: 0000000000000000
[15664.212406] RDX: 0000000000000003 RSI: 0000000000000086 RDI: 00000000ffffffff
[15664.212406] RBP: 00000000ffffffff R08: 0000000000000ac4 R09: 0000000000000001
[15664.212407] R10: 0000000000000000 R11: 0000000000000001 R12: ffffffffc08dc679
[15664.212407] R13: 0000000000038200 R14: ffffffffc08dc660 R15: ffff9667fa94be10
[15664.212408] FS:  0000000000000000(0000) GS:ffff9667ff500000(0000) knlGS:0000000000000000
[15664.212408] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[15664.212409] CR2: 0000000003eaeff8 CR3: 00000007df942004 CR4: 00000000003626e0
[15664.212409] Call Trace:
[15664.212412]  tb_ring_start+0xbf/0x190 [thunderbolt]
[15664.212414]  tb_ctl_start+0x2f/0x80 [thunderbolt]
[15664.212417]  tb_domain_runtime_resume+0x15/0x40 [thunderbolt]
[15664.212419]  pci_pm_runtime_resume+0x71/0xc0
[15664.212420]  ? pci_restore_standard_config+0x40/0x40
[15664.212421]  ? pci_restore_standard_config+0x40/0x40
[15664.212422]  __rpm_callback+0x7b/0x130
[15664.212423]  ? pci_restore_standard_config+0x40/0x40
[15664.212424]  rpm_callback+0x1f/0x70
[15664.212425]  ? pci_restore_standard_config+0x40/0x40
[15664.212425]  rpm_resume+0x591/0x790
[15664.212426]  __pm_runtime_resume+0x3b/0x60
[15664.212427]  ? irq_forced_thread_fn+0x80/0x80
[15664.212428]  device_release_driver_internal+0x75/0x1b0
[15664.212430]  pci_stop_bus_device+0x68/0x90
[15664.212431]  pci_stop_bus_device+0x2c/0x90
[15664.212432]  pci_stop_bus_device+0x3d/0x90
[15664.212433]  pci_stop_and_remove_bus_device+0xe/0x20
[15664.212434]  pciehp_unconfigure_device+0x83/0x136
[15664.212435]  pciehp_disable_slot+0x6b/0xf0
[15664.212437]  pciehp_handle_presence_or_link_change+0xdc/0x140
[15664.212438]  pciehp_ist+0x10f/0x120
[15664.212439]  irq_thread_fn+0x20/0x60
[15664.212440]  irq_thread+0xee/0x180
[15664.212441]  ? wake_threads_waitq+0x30/0x30
[15664.212442]  kthread+0xfb/0x130
[15664.212442]  ? irq_thread_dtor+0x90/0x90
[15664.212443]  ? kthread_park+0x80/0x80
[15664.212444]  ret_from_fork+0x35/0x40
[15664.212445] ---[ end trace 8111617a9cd5a800 ]---

I'm running

5.3.4-arch1-1-ARCH

I use bb-switch with nvidia-xrun when the laptop is connected to the dock.

I someone using the same configuration (notebook and dock) which is working reliable?
Has some a hint for where to find further resources to get rid of the systemcrash?

Kind regards,
Sebastian

Offline

#2 2019-10-14 21:17:36

veridiam
Member
Registered: 2013-10-26
Posts: 9

Re: Thinkpad X1 Extreme - Thunderbolt Issues with Lenovo Dock

try to plug the AC adaptor in while it's docked. the laptop draws the full 135W under load, which most docking stations aren't able to provide and crash out

Offline

#3 2019-10-15 09:17:29

seho
Member
Registered: 2019-10-07
Posts: 7

Re: Thinkpad X1 Extreme - Thunderbolt Issues with Lenovo Dock

veridiam wrote:

try to plug the AC adaptor in while it's docked. the laptop draws the full 135W under load, which most docking stations aren't able to provide and crash out

Unfortunately i only got a combined power and thunderbolt cable with the dock. And the dock is also powered by two power-supplies. One 65W for the dock self and another 230W which is used to power the notebook.

https://support.lenovo.com/de/de/solutions/pd500252

I wanted to avoid buying another thunderbolt cable. but maybe i have to buy one.

Do you think it's worth to buy a dedicated thunderbolt cable?


Regards,
Sebastian

Last edited by seho (2019-10-15 09:17:55)

Offline

#4 2019-11-06 11:47:22

seho
Member
Registered: 2019-10-07
Posts: 7

Re: Thinkpad X1 Extreme - Thunderbolt Issues with Lenovo Dock

I finally managed to update the firmware of the dock. It's now running for about two days without any problems.

Currently it looks like that has solved the problem.

I will post an update here if the problem occurs again.

Offline

#5 2019-11-11 11:51:28

seho
Member
Registered: 2019-10-07
Posts: 7

Re: Thinkpad X1 Extreme - Thunderbolt Issues with Lenovo Dock

The problem still exists.

At least the system is not freezing anymore.

Offline

Board footer

Powered by FluxBB