fwupd / firmware-lenovo

Missing firmware for Lenovo Thinkpad hardware
118 stars 4 forks source link

Thinkpad Universal Thunderbolt 4 Smart Dock Problems #206

Open luiswirth opened 2 years ago

luiswirth commented 2 years ago

I'm experiencing a lot of problems with my new "Thinkpad Universal Thunderbolt 4 Smart Dock", which I have connected to my ThinkPad X1 Yoga Gen 6 (product name 20XYCT01WW) running Arch Linux 5.16.13.

Let's talk about the problems. The dock has two Displayport connectors. For some reason only one works at a time. Each of them work, when only one is used and if both are connected one port takes over and it's the only one working. This is the reason why I currently have only one monitor pluged in. Using only one displayport monitor I get a lot of graphical issues. Sometimes the screen gets very distorted and keeps turning on and off. At other times it's relatively stable I get only minor graphical glitches. Sometimes graphics work fine.

Having these issues I tried to update the firmware using fwupd. Since this was my first time using fwupd there were some updates I successfully installed.

> fwupdmgr get-history
20XYCTO1WW
│
└─UEFI Device Firmware:
  │   Device ID:          ae1abd099407b1d95698d69b7273f7fed5c6f35c
  │   Previous version:   0.0.0.1
  │   Update State:       Success
  │   Last modified:      2022-03-09 18:55
  │   GUID:               aa096a98-94e6-479b-92f7-5771f6f2d96f
  │   Device Flags:       • Internal device
  │                       • Updatable
  │                       • System requires external power source
  │                       • Supported on remote server
  │                       • Needs a reboot after installation
  │                       • Reported to remote server
  │                       • Device is usable for the duration of the update
  │
  └─ThinkPad X1 Carbon Gen 9 / X1 Yoga Gen 6:
        New version:      1.2.24.0
        Remote ID:        lvfs
        Release ID:       11817
        Summary:          Lenovo ThinkPad X1 Carbon Gen 9 / X1 Yoga Gen 6 Retimer Firmware
        License:          Proprietary
        Size:             285.4 kB
        Created:          2022-02-02
        Vendor:           Lenovo
        Description:
        Lenovo Intel Thunderbolt Retimer Firmware 1.2.24.0

However something isn't included in fwupdmgr get-history (don't know why). I tried reconstructing the text from a screenshot.

  └─ThinkPad X1 Carbon Gen 9 / X1 Yoga Gen 6:
        New version:      1.2.22.0
        Remote ID:        lvfs
        Release ID:       10998
        Summary:          Lenovo ThinkPad X1 Carbon Gen 9 / X1 Yoga Gen 6 Retimer Firmware
        License:          Proprietary
        Size:             285.4 kB
        Created:          2021-12-06
        Vendor:           Lenovo
        Description:
        Lenovo Intel Thunderbolt Retimer Firmware 1.2.22.0

       The computer will be restarted automatically after updating device completely. Do NOT turn off your computer or remove the AC adapter while update is in progress.

       Fixed an issue where 2nd display in the daisy chain failed to light on.

       Fixed an issue where USB devices will be lost when re-attach the USB-C Advanced Dock.

I'm not sure why this isn't included in the history. Maybe because it failed?

The problem persisted. So I tried to look for a firmware update again. But this time when running fwupdmgr refresh --force, it caused a kernel panic (at least I think this is a kernel panic).

journalctl says this

Mar 10 20:07:57 lwirth-tarch polkitd[442]: Registered Authentication Agent for unix-process:848:19395 (system bus name :1.17 [/usr/bin/pkttyagent --notify-fd 6 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Mar 10 20:07:57 lwirth-tarch systemd[681]: Created slice User Core Session Slice.
Mar 10 20:07:57 lwirth-tarch systemd[681]: Starting D-Bus User Message Bus...
Mar 10 20:07:57 lwirth-tarch systemd[681]: Started D-Bus User Message Bus.
Mar 10 20:07:57 lwirth-tarch dbus-daemon[417]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.20' (uid=1000 pid=848 comm="fwupdmgr refresh --force")
Mar 10 20:07:57 lwirth-tarch systemd[1]: Starting Firmware update daemon...
Mar 10 20:07:57 lwirth-tarch dbus-daemon[417]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.21' (uid=0 pid=858 comm="/usr/lib/fwupd/fwupd")
Mar 10 20:07:57 lwirth-tarch systemd[1]: Starting Disk Manager...
Mar 10 20:07:57 lwirth-tarch udisksd[863]: udisks daemon version 2.9.4 starting
Mar 10 20:07:57 lwirth-tarch dbus-daemon[417]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Mar 10 20:07:57 lwirth-tarch systemd[1]: Started Disk Manager.
Mar 10 20:07:57 lwirth-tarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 10 20:07:57 lwirth-tarch kernel: kauditd_printk_skb: 14 callbacks suppressed
Mar 10 20:07:57 lwirth-tarch kernel: audit: type=1130 audit(1646939277.337:100): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=udisks2 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 10 20:07:57 lwirth-tarch udisksd[863]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Mar 10 20:07:57 lwirth-tarch fwupd[858]: 19:07:57:0370 FuEngine             failed to get releases for UEFI Device Firmware: No releases found: GUID 14f3350e-cf63-4e68-a0d9-0af1d5389a17 was not found
Mar 10 20:07:57 lwirth-tarch fwupd[858]: 19:07:57:0372 FuEngine             failed to get releases for UEFI Device Firmware: No releases found: GUID 14f3350e-cf63-4e68-a0d9-0af1d5389a17 was not found
Mar 10 20:07:58 lwirth-tarch fwupd[858]: 19:07:58:0506 FuDevice             F1C3 is not a valid number (guessed plain)
Mar 10 20:07:58 lwirth-tarch kernel: hid-generic 0003:17EF:30B4.0007: hiddev96,hidraw2: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller] on usb-0000:00:14.0-6.1/input0
Mar 10 20:07:59 lwirth-tarch kernel: igc 0000:79:00.0 enp121s0: PCIe link lost, device now detached
Mar 10 20:07:59 lwirth-tarch kernel: ------------[ cut here ]------------
Mar 10 20:07:59 lwirth-tarch kernel: igc: Failed to read reg 0x5b50!
Mar 10 20:07:59 lwirth-tarch kernel: WARNING: CPU: 7 PID: 338 at drivers/net/ethernet/intel/igc/igc_main.c:6168 igc_rd32+0x7c/0x80 [igc]
Mar 10 20:07:59 lwirth-tarch kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic hid_sensor_custom_intel_hinge hid_sensor_gyro_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common snd_soc_dmic industrialio hid_sensor_custom snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof ccm hid_sensor_hub snd_soc_hdac_hda bnep algif_aead snd_hda_ext_core mousedev intel_ishtp_hid wacom cbc snd_soc_acpi_intel_match btusb 8021q btrtl garp iTCO_wdt intel_tcc_cooling mrp intel_pmc_bxt des_generic btbcm snd_soc_acpi stp iTCO_vendor_support usbhid libdes soundwire_bus x86_pkg_temp_thermal btintel llc hid_multitouch mei_pxp ecb mei_hdcp algif_skcipher bluetooth intel_powerclamp mei_wdt
Mar 10 20:07:59 lwirth-tarch kernel:  snd_soc_core coretemp ecdh_generic cmac uvcvideo snd_compress pmt_telemetry kvm_intel md4 ac97_bus videobuf2_vmalloc pmt_class videobuf2_memops intel_rapl_msr think_lmi algif_hash firmware_attributes_class snd_pcm_dmaengine videobuf2_v4l2 wmi_bmof af_alg snd_hda_intel kvm videobuf2_common videodev snd_intel_dspcfg snd_intel_sdw_acpi irqbypass mc snd_hda_codec crct10dif_pclmul iwlmvm crc32_pclmul snd_hda_core intel_spi_pci mac80211 snd_hwdep intel_spi ghash_clmulni_intel aesni_intel snd_pcm vfat spi_nor crypto_simd fat i2c_i801 cryptd intel_cstate intel_uncore pcspkr psmouse libarc4 mtd i2c_smbus snd_timer iwlwifi mei_me intel_lpss_pci mei intel_ish_ipc intel_lpss cfg80211 idma64 intel_ishtp i915 processor_thermal_device_pci_legacy processor_thermal_device thunderbolt ucsi_acpi processor_thermal_rfim processor_thermal_mbox typec_ucsi processor_thermal_rapl typec intel_pmt ttm intel_rapl_common igc intel_gtt intel_soc_dts_iosf roles igen6_edac wmi mac_hid thinkpad_acpi
Mar 10 20:07:59 lwirth-tarch kernel:  ledtrig_audio platform_profile rfkill snd i2c_hid_acpi i2c_hid soundcore int3403_thermal soc_button_array int340x_thermal_zone int3400_thermal intel_hid video acpi_pad acpi_thermal_rel acpi_tad sparse_keymap pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 i8042 xhci_pci crc32c_intel xhci_pci_renesas serio
Mar 10 20:07:59 lwirth-tarch kernel: CPU: 7 PID: 338 Comm: kworker/7:2 Not tainted 5.16.13-arch1-1 #1 a46ae2a05a3ad14dd52adf09a5e37e068c77a9aa
Mar 10 20:07:59 lwirth-tarch kernel: Hardware name: LENOVO 20XYCTO1WW/20XYCTO1WW, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 10 20:07:59 lwirth-tarch kernel: Workqueue: events igc_watchdog_task [igc]
Mar 10 20:07:59 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x7c/0x80 [igc]
Mar 10 20:07:59 lwirth-tarch kernel: Code: 48 c7 c6 78 66 82 c0 e8 76 d3 f4 e2 48 8b bb 30 ff ff ff e8 76 bd 99 e2 84 c0 74 b2 89 ee 48 c7 c7 a0 66 82 c0 e8 cb f3 ef e2 <0f> 0b eb a0 0f 1f 44 00 00 41 56 41 55 41 54 55 48 89 f5 53 80 7e
Mar 10 20:07:59 lwirth-tarch kernel: RSP: 0018:ffffba65808cfd00 EFLAGS: 00010286
Mar 10 20:07:59 lwirth-tarch kernel: RAX: 0000000000000000 RBX: ffff970dc682cc10 RCX: 0000000000000027
Mar 10 20:07:59 lwirth-tarch kernel: RDX: ffff9714ff7e0728 RSI: 0000000000000001 RDI: ffff9714ff7e0720
Mar 10 20:07:59 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000000 R09: ffffba65808cfb30
Mar 10 20:07:59 lwirth-tarch kernel: R10: ffffba65808cfb28 R11: ffffffffa48cb9c8 R12: 00000000ffffffff
Mar 10 20:07:59 lwirth-tarch kernel: R13: ffff970dc682c000 R14: ffff970dc682cc10 R15: 0000000000000001
Mar 10 20:07:59 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9714ff7c0000(0000) knlGS:0000000000000000
Mar 10 20:07:59 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 10 20:07:59 lwirth-tarch kernel: CR2: 000055c2151e6b70 CR3: 0000000330c10005 CR4: 0000000000770ee0
Mar 10 20:07:59 lwirth-tarch kernel: PKRU: 55555554
Mar 10 20:07:59 lwirth-tarch kernel: Call Trace:
Mar 10 20:07:59 lwirth-tarch kernel:  <TASK>
Mar 10 20:07:59 lwirth-tarch kernel:  igc_get_hw_semaphore_i225+0x2f/0x170 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_acquire_swfw_sync_i225+0x53/0xc0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_read_phy_reg_gpy+0x35/0x1b0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_phy_has_link+0x96/0x170 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_check_for_copper_link+0x60/0x100 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_has_link+0x27/0x80 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_watchdog_task+0x41/0x2a0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  process_one_work+0x1e5/0x3c0
Mar 10 20:07:59 lwirth-tarch kernel:  worker_thread+0x50/0x3b0
Mar 10 20:07:59 lwirth-tarch kernel:  ? rescuer_thread+0x3a0/0x3a0
Mar 10 20:07:59 lwirth-tarch kernel:  kthread+0x15a/0x180
Mar 10 20:07:59 lwirth-tarch kernel:  ? set_kthread_struct+0x40/0x40
Mar 10 20:07:59 lwirth-tarch kernel:  ret_from_fork+0x1f/0x30
Mar 10 20:07:59 lwirth-tarch kernel:  </TASK>
Mar 10 20:07:59 lwirth-tarch kernel: ---[ end trace e5456db0ab0fd885 ]---
Mar 10 20:07:59 lwirth-tarch kernel: BUG: unable to handle page fault for address: 0000000000005b50
Mar 10 20:07:59 lwirth-tarch kernel: #PF: supervisor read access in kernel mode
Mar 10 20:07:59 lwirth-tarch kernel: #PF: error_code(0x0000) - not-present page
Mar 10 20:07:59 lwirth-tarch kernel: PGD 0 P4D 0 
Mar 10 20:07:59 lwirth-tarch kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Mar 10 20:07:59 lwirth-tarch kernel: CPU: 7 PID: 338 Comm: kworker/7:2 Tainted: G        W         5.16.13-arch1-1 #1 a46ae2a05a3ad14dd52adf09a5e37e068c77a9aa
Mar 10 20:07:59 lwirth-tarch kernel: Hardware name: LENOVO 20XYCTO1WW/20XYCTO1WW, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 10 20:07:59 lwirth-tarch kernel: Workqueue: events igc_watchdog_task [igc]
Mar 10 20:07:59 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x17/0x80 [igc]
Mar 10 20:07:59 lwirth-tarch kernel: Code: 31 c0 c3 b8 fd ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 55 89 f0 41 54 55 48 89 c5 53 48 8b 57 08 48 01 d0 <44> 8b 20 41 83 fc ff 74 0a 5b 44 89 e0 5d 41 5c 41 5d c3 48 89 fb
Mar 10 20:07:59 lwirth-tarch kernel: RSP: 0018:ffffba65808cfd00 EFLAGS: 00010206
Mar 10 20:07:59 lwirth-tarch kernel: RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 0000000000002510
Mar 10 20:07:59 lwirth-tarch kernel: RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff970dc682cc10
Mar 10 20:07:59 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000001 R09: 0000000000000000
Mar 10 20:07:59 lwirth-tarch kernel: R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000001
Mar 10 20:07:59 lwirth-tarch kernel: R13: 0000000000000800 R14: ffff970dc682cc10 R15: 0000000000000001
Mar 10 20:07:59 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9714ff7c0000(0000) knlGS:0000000000000000
Mar 10 20:07:59 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 10 20:07:59 lwirth-tarch kernel: CR2: 0000000000005b50 CR3: 0000000330c10005 CR4: 0000000000770ee0
Mar 10 20:07:59 lwirth-tarch kernel: PKRU: 55555554
Mar 10 20:07:59 lwirth-tarch kernel: Call Trace:
Mar 10 20:07:59 lwirth-tarch kernel:  <TASK>
Mar 10 20:07:59 lwirth-tarch kernel:  igc_get_hw_semaphore_i225+0x2f/0x170 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_acquire_swfw_sync_i225+0x53/0xc0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_read_phy_reg_gpy+0x35/0x1b0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_phy_has_link+0x96/0x170 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_check_for_copper_link+0x60/0x100 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_has_link+0x27/0x80 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  igc_watchdog_task+0x41/0x2a0 [igc a898859c8886ad4b638108260e5b0beebc8d298b]
Mar 10 20:07:59 lwirth-tarch kernel:  process_one_work+0x1e5/0x3c0
Mar 10 20:07:59 lwirth-tarch kernel:  worker_thread+0x50/0x3b0
Mar 10 20:07:59 lwirth-tarch kernel:  ? rescuer_thread+0x3a0/0x3a0
Mar 10 20:07:59 lwirth-tarch kernel:  kthread+0x15a/0x180
Mar 10 20:07:59 lwirth-tarch kernel:  ? set_kthread_struct+0x40/0x40
Mar 10 20:07:59 lwirth-tarch kernel:  ret_from_fork+0x1f/0x30
Mar 10 20:07:59 lwirth-tarch kernel:  </TASK>
Mar 10 20:07:59 lwirth-tarch kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic hid_sensor_custom_intel_hinge hid_sensor_gyro_3d hid_sensor_accel_3d hid_sensor_trigger industrialio_triggered_buffer kfifo_buf hid_sensor_iio_common snd_soc_dmic industrialio hid_sensor_custom snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp joydev snd_sof ccm hid_sensor_hub snd_soc_hdac_hda bnep algif_aead snd_hda_ext_core mousedev intel_ishtp_hid wacom cbc snd_soc_acpi_intel_match btusb 8021q btrtl garp iTCO_wdt intel_tcc_cooling mrp intel_pmc_bxt des_generic btbcm snd_soc_acpi stp iTCO_vendor_support usbhid libdes soundwire_bus x86_pkg_temp_thermal btintel llc hid_multitouch mei_pxp ecb mei_hdcp algif_skcipher bluetooth intel_powerclamp mei_wdt
Mar 10 20:07:59 lwirth-tarch kernel:  snd_soc_core coretemp ecdh_generic cmac uvcvideo snd_compress pmt_telemetry kvm_intel md4 ac97_bus videobuf2_vmalloc pmt_class videobuf2_memops intel_rapl_msr think_lmi algif_hash firmware_attributes_class snd_pcm_dmaengine videobuf2_v4l2 wmi_bmof af_alg snd_hda_intel kvm videobuf2_common videodev snd_intel_dspcfg snd_intel_sdw_acpi irqbypass mc snd_hda_codec crct10dif_pclmul iwlmvm crc32_pclmul snd_hda_core intel_spi_pci mac80211 snd_hwdep intel_spi ghash_clmulni_intel aesni_intel snd_pcm vfat spi_nor crypto_simd fat i2c_i801 cryptd intel_cstate intel_uncore pcspkr psmouse libarc4 mtd i2c_smbus snd_timer iwlwifi mei_me intel_lpss_pci mei intel_ish_ipc intel_lpss cfg80211 idma64 intel_ishtp i915 processor_thermal_device_pci_legacy processor_thermal_device thunderbolt ucsi_acpi processor_thermal_rfim processor_thermal_mbox typec_ucsi processor_thermal_rapl typec intel_pmt ttm intel_rapl_common igc intel_gtt intel_soc_dts_iosf roles igen6_edac wmi mac_hid thinkpad_acpi
Mar 10 20:07:59 lwirth-tarch kernel:  ledtrig_audio platform_profile rfkill snd i2c_hid_acpi i2c_hid soundcore int3403_thermal soc_button_array int340x_thermal_zone int3400_thermal intel_hid video acpi_pad acpi_thermal_rel acpi_tad sparse_keymap pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 i8042 xhci_pci crc32c_intel xhci_pci_renesas serio
Mar 10 20:07:59 lwirth-tarch kernel: CR2: 0000000000005b50
Mar 10 20:07:59 lwirth-tarch kernel: ---[ end trace e5456db0ab0fd886 ]---
Mar 10 20:07:59 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x17/0x80 [igc]
Mar 10 20:07:59 lwirth-tarch kernel: Code: 31 c0 c3 b8 fd ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 55 89 f0 41 54 55 48 89 c5 53 48 8b 57 08 48 01 d0 <44> 8b 20 41 83 fc ff 74 0a 5b 44 89 e0 5d 41 5c 41 5d c3 48 89 fb
Mar 10 20:07:59 lwirth-tarch kernel: RSP: 0018:ffffba65808cfd00 EFLAGS: 00010206
Mar 10 20:07:59 lwirth-tarch kernel: RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 0000000000002510
Mar 10 20:07:59 lwirth-tarch kernel: RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff970dc682cc10
Mar 10 20:07:59 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000001 R09: 0000000000000000
Mar 10 20:07:59 lwirth-tarch kernel: R10: 0000000000000000 R11: 0000000000000007 R12: 0000000000000001
Mar 10 20:07:59 lwirth-tarch kernel: R13: 0000000000000800 R14: ffff970dc682cc10 R15: 0000000000000001
Mar 10 20:07:59 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9714ff7c0000(0000) knlGS:0000000000000000
Mar 10 20:07:59 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 10 20:07:59 lwirth-tarch kernel: CR2: 0000000000005b50 CR3: 0000000330c10005 CR4: 0000000000770ee0
Mar 10 20:07:59 lwirth-tarch kernel: PKRU: 55555554
Mar 10 20:07:59 lwirth-tarch fwupd[858]: 19:07:59:0202 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:1f.5: failed to mmap SPIBAR: Operation not permitted
Mar 10 20:07:59 lwirth-tarch fwupd[858]: 19:07:59:0213 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:1f.5/mtd/mtd0: failed to open /dev/mtd0: Permission denied
Mar 10 20:07:59 lwirth-tarch fwupd[858]: 19:07:59:0214 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:1f.5/mtd/mtd0/mtd1: failed to open /dev/mtd1: Permission denied
Mar 10 20:07:59 lwirth-tarch fwupd[858]: 19:07:59:0215 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:1f.5/mtd/mtd0/mtd1ro: attribute size returned no data
Mar 10 20:07:59 lwirth-tarch fwupd[858]: 19:07:59:0215 FuEngine             failed to add device /sys/devices/pci0000:00/0000:00:1f.5/mtd/mtd0ro: attribute size returned no data
Mar 10 20:08:01 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 000000004934e48a port 5: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 10 20:08:01 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 00000000cbc41cca port 2: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 10 20:08:01 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 00000000cbc41cca port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 10 20:08:01 lwirth-tarch dbus-daemon[417]: [system] Successfully activated service 'org.freedesktop.fwupd'
Mar 10 20:08:01 lwirth-tarch systemd[1]: Started Firmware update daemon.
Mar 10 20:08:01 lwirth-tarch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fwupd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 10 20:08:01 lwirth-tarch kernel: audit: type=1130 audit(1646939281.377:101): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=fwupd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

After this my laptop monitor freezes but my monitor connected via the dock keeps working fine (very weird).

fwupdmgr says the following about my dock.

> fwupdmgr get-devices
├─ThinkPad Thunderbolt 4 Dock:
│ │   Device ID:          b28166ffadecd8d55b9c6d34e057ae848191debf
│ │   Current version:    10.2
│ │   Vendor:             Lenovo (USB:0x17EF)
│ │   GUIDs:              2e4ffb60-b2e2-5f2f-9ea6-60931eed758b
│ │                       8d30b09f-bcc5-5379-bc65-9ccceeece1f4
│ │                       72918203-63fd-5064-b704-85200e0f3b72
│ │   Device Flags:       • Updatable
│ │                       • System requires external power source
│ │                       • Device stages updates
│ │
│ └─Dock Management Controller Information:
│       Device ID:        024e42ddfc4717530c7d01f01a826f93fd2a81c0
│       Current version:  10.2
│       Vendor:           Lenovo (USB:0x17EF)
│       Update Error:     Use the MCU to update the DMC device
│       GUIDs:            affa2dc2-f4be-50e9-8444-9cc4431954c8
│                         697a6a95-464e-5b90-a46e-73beab89316e
│
├─ThinkPad Universal Thunderbolt 4 Smart Dock:
│     Device ID:          bc13992accfc5ab30f068aad000d6b54e1c32411
│     Current version:    35.00
│     Vendor:             Lenovo (THUNDERBOLT:0x0108, TBT:0x0108)
│     GUIDs:              91b4a269-c086-5312-a855-1c31dc88bb7f
│                         b86e59cf-e2de-5900-8177-82e4b6fdb7e4
│                         46e3796e-b3b2-53d7-8f42-d017452613c1
│                         d3330631-77d9-50f2-a2c3-3d98e1d86310
│     Device Flags:       • Updatable
│                         • System requires external power source
│                         • Device stages updates
│                         • Signed Payload

Thanks for any help regarding this issue!

This issue might be related to #191

hughsie commented 2 years ago

Mar 10 20:07:59 lwirth-tarch kernel: igc_get_hw_semaphore_i225+0x2f/0x170 [igc a898859c8886ad4b638108260e5b0beebc8d298b]

I think that's talking about the GigE chip in the dock. If you update the kernel, does that go away? I suspect the weirdness is due to the BUG: unable to handle page fault for address: 0000000000005b50.

luiswirth commented 2 years ago

Updating to the latest stable kernel 5.16.14 didn't help.

I have some further information. When booting my laptop with the dock plugged in, I get

usci_acpi UDBC000:00: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)
ucsi_acpi USBC000:00 PPM init failed (-110)

While trying to configure the displays with xrandr with their highest resolution

xrandr --output eDP-1    --mode 3840x2160 
xrandr --output DP-3-1-6 --mode 3840x2160 --above eDP-1
xrandr --output DP-3-2   --mode 3840x2160 --right-of DP-3-1-6 --primary

I always get the error xrandr: Configure crtc 0 failed (it also happens for crtc 1, 2 and 3). And only one monitor turns on. But when turning them down to 1920x1080 instead of 4K they suddenly all work

xrandr --output eDP-1    --mode 1920x1080
xrandr --output DP-3-1-6 --mode 1920x1080 --above eDP-1
xrandr --output DP-3-2   --mode 1920x1080 --right-of DP-3-1-6 --primary

When exiting X11, my screen is blank (no tty) until I remove the dock from my laptop. After that another kernel panic is triggered:

Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4: New USB device found, idVendor=17ef, idProduct=30b7, bcdDevice=f1.c2
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4: Product: USB2.0 Hub             
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4: Manufacturer: VIA Labs, Inc.         
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4: SerialNumber: 000000001
Mar 13 12:57:35 lwirth-tarch kernel: hub 3-6.4:1.0: USB hub found
Mar 13 12:57:35 lwirth-tarch kernel: hub 3-6.4:1.0: 4 ports detected
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: new SuperSpeed Plus Gen 2x1 USB device number 7 using xhci_hcd
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: New USB device found, idVendor=17ef, idProduct=30b8, bcdDevice=f1.c2
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: Product: USB3.1 Hub             
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: Manufacturer: VIA Labs, Inc.         
Mar 13 12:57:35 lwirth-tarch kernel: usb 2-3.4.4: SerialNumber: 000000001
Mar 13 12:57:35 lwirth-tarch kernel: hub 2-3.4.4:1.0: USB hub found
Mar 13 12:57:35 lwirth-tarch kernel: hub 2-3.4.4:1.0: 4 ports detected
Mar 13 12:57:35 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 00000000b645b82e port 5: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: new high-speed USB device number 8 using xhci_hcd
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: New USB device found, idVendor=17ef, idProduct=30b9, bcdDevice=f1.c2
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: Product: USB2.0 Hub             
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: Manufacturer: VIA Labs, Inc.         
Mar 13 12:57:35 lwirth-tarch kernel: usb 3-6.4.4: SerialNumber: 000000001
Mar 13 12:57:35 lwirth-tarch kernel: hub 3-6.4.4:1.0: USB hub found
Mar 13 12:57:35 lwirth-tarch kernel: hub 3-6.4.4:1.0: 4 ports detected
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: new full-speed USB device number 9 using xhci_hcd
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: New USB device found, idVendor=17ef, idProduct=30bb, bcdDevice= 0.41
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: Product: ThinkPad Thunderbolt 4 Dock USB Audio
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: Manufacturer: Lenovo
Mar 13 12:57:36 lwirth-tarch kernel: usb 3-6.4.4.4: SerialNumber: 000000000000
Mar 13 12:57:36 lwirth-tarch kernel: hid-generic 0003:17EF:30BB.0005: hiddev96,hidraw0: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock USB Audio] on usb-0000:00:14.0-6.4.4.4/input3
Mar 13 12:57:36 lwirth-tarch kernel: usbcore: registered new interface driver snd-usb-audio
Mar 13 12:57:36 lwirth-tarch systemd[631]: Reached target Sound Card.
Mar 13 12:57:40 lwirth-tarch kernel: usb 3-6.1: new full-speed USB device number 10 using xhci_hcd
Mar 13 12:57:40 lwirth-tarch kernel: usb 3-6.1: New USB device found, idVendor=17ef, idProduct=30b4, bcdDevice= 1.00
Mar 13 12:57:40 lwirth-tarch kernel: usb 3-6.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 13 12:57:40 lwirth-tarch kernel: usb 3-6.1: Product: ThinkPad Thunderbolt 4 Dock MCU Contoller
Mar 13 12:57:40 lwirth-tarch kernel: usb 3-6.1: Manufacturer: Lenovo
Mar 13 12:57:40 lwirth-tarch kernel: hid-generic 0003:17EF:30B4.0006: hiddev97,hidraw3: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller] on usb-0000:00:14.0-6.1/input0
Mar 13 12:57:44 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 000000008dbf7358 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 13 12:57:45 lwirth-tarch fwupd[896]: 11:57:45:0579 FuDevice             F1C3 is not a valid number (guessed plain)
Mar 13 12:57:45 lwirth-tarch kernel: igc 0000:79:00.0 enp121s0: PCIe link lost, device now detached
Mar 13 12:57:45 lwirth-tarch kernel: ------------[ cut here ]------------
Mar 13 12:57:45 lwirth-tarch kernel: igc: Failed to read reg 0x5b50!
Mar 13 12:57:45 lwirth-tarch kernel: WARNING: CPU: 5 PID: 1580 at drivers/net/ethernet/intel/igc/igc_main.c:6168 igc_rd32+0x7c/0x80 [igc]
Mar 13 12:57:45 lwirth-tarch kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic hid_sensor_custom_intel_hinge hid_sensor_gyro_3d hid_sensor_accel_3d snd_soc_dmic hid_sensor_trigger industrialio_triggered_buffer snd_sof_pci_intel_tgl kfifo_buf hid_sensor_iio_common snd_sof_intel_hda_common industrialio soundwire_intel hid_sensor_custom soundwire_generic_allocation joydev hid_sensor_hub soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp ccm snd_sof bnep mousedev intel_ishtp_hid snd_soc_hdac_hda algif_aead snd_hda_ext_core cbc snd_soc_acpi_intel_match 8021q iTCO_wdt wacom snd_soc_acpi garp des_generic intel_pmc_bxt mei_pxp mei_hdcp mei_wdt iTCO_vendor_support usbhid uvcvideo soundwire_bus btusb libdes mrp hid_multitouch ecb btrtl intel_tcc_cooling stp llc x86_pkg_temp_thermal btbcm
Mar 13 12:57:45 lwirth-tarch kernel:  algif_skcipher snd_soc_core videobuf2_vmalloc intel_powerclamp btintel coretemp snd_compress videobuf2_memops ac97_bus bluetooth videobuf2_v4l2 kvm_intel snd_pcm_dmaengine pmt_telemetry cmac ecdh_generic pmt_class intel_rapl_msr videobuf2_common md4 snd_hda_intel think_lmi kvm snd_intel_dspcfg firmware_attributes_class algif_hash videodev irqbypass snd_intel_sdw_acpi af_alg wmi_bmof crct10dif_pclmul mc snd_hda_codec crc32_pclmul ghash_clmulni_intel snd_hda_core aesni_intel iwlmvm crypto_simd snd_hwdep cryptd mac80211 intel_spi_pci snd_pcm vfat intel_cstate mei_me i2c_i801 intel_spi fat spi_nor intel_uncore pcspkr psmouse libarc4 mtd i2c_smbus snd_timer iwlwifi mei intel_lpss_pci intel_lpss intel_ish_ipc cfg80211 idma64 processor_thermal_device_pci_legacy intel_ishtp thunderbolt processor_thermal_device processor_thermal_rfim ucsi_acpi processor_thermal_mbox i915 intel_pmt igc typec_ucsi processor_thermal_rapl ttm typec intel_rapl_common igen6_edac intel_gtt
Mar 13 12:57:45 lwirth-tarch kernel:  intel_soc_dts_iosf roles wmi mac_hid thinkpad_acpi ledtrig_audio platform_profile rfkill i2c_hid_acpi snd i2c_hid soundcore int3403_thermal int340x_thermal_zone soc_button_array video intel_hid int3400_thermal acpi_thermal_rel sparse_keymap acpi_tad acpi_pad pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 xhci_pci i8042 crc32c_intel xhci_pci_renesas serio
Mar 13 12:57:45 lwirth-tarch kernel: CPU: 5 PID: 1580 Comm: kworker/5:1 Not tainted 5.16.14-arch1-1 #1 8967fe14b1e8e9e4705df624921a30b253499881
Mar 13 12:57:45 lwirth-tarch kernel: Hardware name: LENOVO 20XYCTO1WW/20XYCTO1WW, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 13 12:57:45 lwirth-tarch kernel: Workqueue: events igc_watchdog_task [igc]
Mar 13 12:57:45 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x7c/0x80 [igc]
Mar 13 12:57:45 lwirth-tarch kernel: Code: 48 c7 c6 78 56 95 c0 e8 48 e2 41 c2 48 8b bb 30 ff ff ff e8 96 cd e6 c1 84 c0 74 b2 89 ee 48 c7 c7 a0 56 95 c0 e8 fb 03 3d c2 <0f> 0b eb a0 0f 1f 44 00 00 41 56 41 55 41 54 55 48 89 f5 53 80 7e
Mar 13 12:57:45 lwirth-tarch kernel: RSP: 0018:ffffb509417d7d00 EFLAGS: 00010286
Mar 13 12:57:45 lwirth-tarch kernel: RAX: 0000000000000000 RBX: ffff943ec3854c10 RCX: 0000000000000027
Mar 13 12:57:45 lwirth-tarch kernel: RDX: ffff9445ff760728 RSI: 0000000000000001 RDI: ffff9445ff760720
Mar 13 12:57:45 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000000 R09: ffffb509417d7b30
Mar 13 12:57:45 lwirth-tarch kernel: R10: ffffb509417d7b28 R11: ffffffff83ecb9c8 R12: 00000000ffffffff
Mar 13 12:57:45 lwirth-tarch kernel: R13: ffff943ec3854000 R14: ffff943ec3854c10 R15: 0000000000000001
Mar 13 12:57:45 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9445ff740000(0000) knlGS:0000000000000000
Mar 13 12:57:45 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 13 12:57:45 lwirth-tarch kernel: CR2: 000055cdec8a4148 CR3: 000000039b410004 CR4: 0000000000770ee0
Mar 13 12:57:45 lwirth-tarch kernel: PKRU: 55555554
Mar 13 12:57:45 lwirth-tarch kernel: Call Trace:
Mar 13 12:57:45 lwirth-tarch kernel:  <TASK>
Mar 13 12:57:45 lwirth-tarch kernel:  igc_get_hw_semaphore_i225+0x2f/0x170 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_acquire_swfw_sync_i225+0x53/0xc0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_read_phy_reg_gpy+0x35/0x1b0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_phy_has_link+0x96/0x170 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_check_for_copper_link+0x60/0x100 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_has_link+0x27/0x80 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_watchdog_task+0x41/0x2a0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  process_one_work+0x1e5/0x3c0
Mar 13 12:57:45 lwirth-tarch kernel:  worker_thread+0x50/0x3b0
Mar 13 12:57:45 lwirth-tarch kernel:  ? rescuer_thread+0x3a0/0x3a0
Mar 13 12:57:45 lwirth-tarch kernel:  kthread+0x15a/0x180
Mar 13 12:57:45 lwirth-tarch kernel:  ? set_kthread_struct+0x40/0x40
Mar 13 12:57:45 lwirth-tarch kernel:  ret_from_fork+0x1f/0x30
Mar 13 12:57:45 lwirth-tarch kernel:  </TASK>
Mar 13 12:57:45 lwirth-tarch kernel: ---[ end trace 07f8a4e47e64d5b8 ]---
Mar 13 12:57:45 lwirth-tarch kernel: BUG: unable to handle page fault for address: 0000000000005b50
Mar 13 12:57:45 lwirth-tarch kernel: #PF: supervisor read access in kernel mode
Mar 13 12:57:45 lwirth-tarch kernel: #PF: error_code(0x0000) - not-present page
Mar 13 12:57:45 lwirth-tarch kernel: PGD 0 P4D 0 
Mar 13 12:57:45 lwirth-tarch kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
Mar 13 12:57:45 lwirth-tarch kernel: CPU: 5 PID: 1580 Comm: kworker/5:1 Tainted: G        W         5.16.14-arch1-1 #1 8967fe14b1e8e9e4705df624921a30b253499881
Mar 13 12:57:45 lwirth-tarch kernel: Hardware name: LENOVO 20XYCTO1WW/20XYCTO1WW, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 13 12:57:45 lwirth-tarch kernel: Workqueue: events igc_watchdog_task [igc]
Mar 13 12:57:45 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x17/0x80 [igc]
Mar 13 12:57:45 lwirth-tarch kernel: Code: 31 c0 c3 b8 fd ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 55 89 f0 41 54 55 48 89 c5 53 48 8b 57 08 48 01 d0 <44> 8b 20 41 83 fc ff 74 0a 5b 44 89 e0 5d 41 5c 41 5d c3 48 89 fb
Mar 13 12:57:45 lwirth-tarch kernel: RSP: 0018:ffffb509417d7d00 EFLAGS: 00010206
Mar 13 12:57:45 lwirth-tarch kernel: RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 000000000001f68c
Mar 13 12:57:45 lwirth-tarch kernel: RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff943ec3854c10
Mar 13 12:57:45 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000001 R09: 0000000000000000
Mar 13 12:57:45 lwirth-tarch kernel: R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000001
Mar 13 12:57:45 lwirth-tarch kernel: R13: 0000000000000800 R14: ffff943ec3854c10 R15: 0000000000000001
Mar 13 12:57:45 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9445ff740000(0000) knlGS:0000000000000000
Mar 13 12:57:45 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 13 12:57:45 lwirth-tarch kernel: CR2: 0000000000005b50 CR3: 000000039b410004 CR4: 0000000000770ee0
Mar 13 12:57:45 lwirth-tarch kernel: PKRU: 55555554
Mar 13 12:57:45 lwirth-tarch kernel: Call Trace:
Mar 13 12:57:45 lwirth-tarch kernel:  <TASK>
Mar 13 12:57:45 lwirth-tarch kernel:  igc_get_hw_semaphore_i225+0x2f/0x170 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_acquire_swfw_sync_i225+0x53/0xc0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_read_phy_reg_gpy+0x35/0x1b0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_phy_has_link+0x96/0x170 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_check_for_copper_link+0x60/0x100 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_has_link+0x27/0x80 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  igc_watchdog_task+0x41/0x2a0 [igc 30a0f39784c629644608c896551772240db898c5]
Mar 13 12:57:45 lwirth-tarch kernel:  process_one_work+0x1e5/0x3c0
Mar 13 12:57:45 lwirth-tarch kernel:  worker_thread+0x50/0x3b0
Mar 13 12:57:45 lwirth-tarch kernel:  ? rescuer_thread+0x3a0/0x3a0
Mar 13 12:57:45 lwirth-tarch kernel:  kthread+0x15a/0x180
Mar 13 12:57:45 lwirth-tarch kernel:  ? set_kthread_struct+0x40/0x40
Mar 13 12:57:45 lwirth-tarch kernel:  ret_from_fork+0x1f/0x30
Mar 13 12:57:45 lwirth-tarch kernel:  </TASK>
Mar 13 12:57:45 lwirth-tarch kernel: Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic hid_sensor_custom_intel_hinge hid_sensor_gyro_3d hid_sensor_accel_3d snd_soc_dmic hid_sensor_trigger industrialio_triggered_buffer snd_sof_pci_intel_tgl kfifo_buf hid_sensor_iio_common snd_sof_intel_hda_common industrialio soundwire_intel hid_sensor_custom soundwire_generic_allocation joydev hid_sensor_hub soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp ccm snd_sof bnep mousedev intel_ishtp_hid snd_soc_hdac_hda algif_aead snd_hda_ext_core cbc snd_soc_acpi_intel_match 8021q iTCO_wdt wacom snd_soc_acpi garp des_generic intel_pmc_bxt mei_pxp mei_hdcp mei_wdt iTCO_vendor_support usbhid uvcvideo soundwire_bus btusb libdes mrp hid_multitouch ecb btrtl intel_tcc_cooling stp llc x86_pkg_temp_thermal btbcm
Mar 13 12:57:45 lwirth-tarch kernel:  algif_skcipher snd_soc_core videobuf2_vmalloc intel_powerclamp btintel coretemp snd_compress videobuf2_memops ac97_bus bluetooth videobuf2_v4l2 kvm_intel snd_pcm_dmaengine pmt_telemetry cmac ecdh_generic pmt_class intel_rapl_msr videobuf2_common md4 snd_hda_intel think_lmi kvm snd_intel_dspcfg firmware_attributes_class algif_hash videodev irqbypass snd_intel_sdw_acpi af_alg wmi_bmof crct10dif_pclmul mc snd_hda_codec crc32_pclmul ghash_clmulni_intel snd_hda_core aesni_intel iwlmvm crypto_simd snd_hwdep cryptd mac80211 intel_spi_pci snd_pcm vfat intel_cstate mei_me i2c_i801 intel_spi fat spi_nor intel_uncore pcspkr psmouse libarc4 mtd i2c_smbus snd_timer iwlwifi mei intel_lpss_pci intel_lpss intel_ish_ipc cfg80211 idma64 processor_thermal_device_pci_legacy intel_ishtp thunderbolt processor_thermal_device processor_thermal_rfim ucsi_acpi processor_thermal_mbox i915 intel_pmt igc typec_ucsi processor_thermal_rapl ttm typec intel_rapl_common igen6_edac intel_gtt
Mar 13 12:57:45 lwirth-tarch kernel:  intel_soc_dts_iosf roles wmi mac_hid thinkpad_acpi ledtrig_audio platform_profile rfkill i2c_hid_acpi snd i2c_hid soundcore int3403_thermal int340x_thermal_zone soc_button_array video intel_hid int3400_thermal acpi_thermal_rel sparse_keymap acpi_tad acpi_pad pkcs8_key_parser ipmi_devintf ipmi_msghandler crypto_user fuse bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 serio_raw atkbd libps2 xhci_pci i8042 crc32c_intel xhci_pci_renesas serio
Mar 13 12:57:45 lwirth-tarch kernel: CR2: 0000000000005b50
Mar 13 12:57:45 lwirth-tarch kernel: ---[ end trace 07f8a4e47e64d5b9 ]---
Mar 13 12:57:45 lwirth-tarch kernel: RIP: 0010:igc_rd32+0x17/0x80 [igc]
Mar 13 12:57:45 lwirth-tarch kernel: Code: 31 c0 c3 b8 fd ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 55 89 f0 41 54 55 48 89 c5 53 48 8b 57 08 48 01 d0 <44> 8b 20 41 83 fc ff 74 0a 5b 44 89 e0 5d 41 5c 41 5d c3 48 89 fb
Mar 13 12:57:45 lwirth-tarch kernel: RSP: 0018:ffffb509417d7d00 EFLAGS: 00010206
Mar 13 12:57:45 lwirth-tarch kernel: RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 000000000001f68c
Mar 13 12:57:45 lwirth-tarch kernel: RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff943ec3854c10
Mar 13 12:57:45 lwirth-tarch kernel: RBP: 0000000000005b50 R08: 0000000000000001 R09: 0000000000000000
Mar 13 12:57:45 lwirth-tarch kernel: hid-generic 0003:17EF:30B4.0007: hiddev97,hidraw3: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller] on usb-0000:00:14.0-6.1/input0
Mar 13 12:57:45 lwirth-tarch kernel: R10: 0000000000000000 R11: 0000000000000005 R12: 0000000000000001
Mar 13 12:57:45 lwirth-tarch kernel: R13: 0000000000000800 R14: ffff943ec3854c10 R15: 0000000000000001
Mar 13 12:57:45 lwirth-tarch kernel: FS:  0000000000000000(0000) GS:ffff9445ff740000(0000) knlGS:0000000000000000
Mar 13 12:57:45 lwirth-tarch kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 13 12:57:45 lwirth-tarch kernel: CR2: 0000000000005b50 CR3: 000000039b410004 CR4: 0000000000770ee0
Mar 13 12:57:45 lwirth-tarch kernel: PKRU: 55555554
Mar 13 12:58:01 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:01 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:25 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:25 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:29 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:29 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:29 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 000000008dbf7358 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 13 12:58:33 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:33 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:37 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:37 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* failed to lookup MSTB with lct 2, rad 00
Mar 13 12:58:37 lwirth-tarch kernel: i915 0000:00:02.0: [drm] *ERROR* mstb 000000008dbf7358 port 3: DPCD read on addr 0x4b0 for 1 bytes NAKed
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6: USB disconnect, device number 5
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6.1: USB disconnect, device number 10
Mar 13 12:58:40 lwirth-tarch kernel: thunderbolt 1-1: device disconnected
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6.2: USB disconnect, device number 6
Mar 13 12:58:40 lwirth-tarch kernel: pcieport 0000:00:07.2: pciehp: Slot(0-1): Link Down
Mar 13 12:58:40 lwirth-tarch kernel: pcieport 0000:00:07.2: pciehp: Slot(0-1): Card not present
Mar 13 12:58:40 lwirth-tarch kernel: igc 0000:79:00.0 enp121s0: PHC removed
Mar 13 12:58:40 lwirth-tarch kernel: usb 2-3: USB disconnect, device number 5
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6.4: USB disconnect, device number 7
Mar 13 12:58:40 lwirth-tarch kernel: usb 2-3.4: USB disconnect, device number 6
Mar 13 12:58:40 lwirth-tarch kernel: usb 2-3.4.4: USB disconnect, device number 7
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6.4.4: USB disconnect, device number 8
Mar 13 12:58:40 lwirth-tarch kernel: usb 3-6.4.4.4: USB disconnect, device number 9
Mar 13 12:58:40 lwirth-tarch root[2214]: ACPI action undefined: PNP0C0A:00
Mar 13 12:58:40 lwirth-tarch kernel: thinkpad_acpi: undocked from hotplug port replicator
Mar 13 12:58:40 lwirth-tarch root[2216]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Mar 13 12:58:40 lwirth-tarch root[2218]: ACPI action undefined: ACPI0003:00
Mar 13 12:58:40 lwirth-tarch root[2220]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Mar 13 12:58:40 lwirth-tarch root[2222]: ACPI group/action undefined: thermal_zone / LNXTHERM:00
Mar 13 12:58:41 lwirth-tarch kernel: pcieport 0000:51:03.0: can't change power state from D3cold to D0 (config space inaccessible)
Mar 13 12:58:41 lwirth-tarch kernel: pcieport 0000:51:02.0: can't change power state from D3cold to D0 (config space inaccessible)
Mar 13 12:58:41 lwirth-tarch kernel: pcieport 0000:51:01.0: can't change power state from D3cold to D0 (config space inaccessible)
Mar 13 12:58:41 lwirth-tarch kernel: pcieport 0000:51:00.0: can't change power state from D3cold to D0 (config space inaccessible)
Mar 13 12:59:26 lwirth-tarch kernel: thinkpad_acpi: undocked from hotplug port replicator
Mar 13 12:59:26 lwirth-tarch root[2362]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
Mar 13 12:59:27 lwirth-tarch kernel: thinkpad_acpi: undocked from hotplug port replicator
Mar 13 12:59:27 lwirth-tarch root[2364]: ACPI group/action undefined: ibm/hotkey / LEN0268:00
phord commented 2 years ago

I get this same error / stack as @LU15W1R7H gets when he unplugs, but it happens when I connect my Thunderbolt Dock to my X1 Yoga Gen 6 while Linux is running.

Mar 24 13:25:59 phord-x1y6 kernel: [ 1217.565187] hid-generic 0003:17EF:30B4.000F: hiddev1,hidraw3: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Contoller] on usb-0000:00:14.0-6.1/input0
Mar 24 13:25:59 phord-x1y6 fwupd[4105]: 20:25:59:0729 FuEngine             failed to add device usb:03:00:03: failed to get version: error status: 0x315
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.880906] igc 0000:79:00.0 enp121s0: PCIe link lost, device now detached
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.880926] ------------[ cut here ]------------
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.880927] igc: Failed to read reg 0x5b50!
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.880989] WARNING: CPU: 5 PID: 124 at drivers/net/ethernet/intel/igc/igc_main.c:5317 igc_rd32+0x85/0x90 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881000] Modules linked in: ccm rfcomm xfrm_user xfrm_algo l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_soc_dmic mei_hdcp snd_hda_codec_hdmi snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel kvm_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci kvm snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match iwlmvm intel_cstate snd_soc_acpi soundwire_bus mac80211 serio_raw libarc4 snd_soc_core snd_compress ac97_bus efi_pstore snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg btusb snd_intel_sdw_acpi snd_usb_audio snd_hda_codec uvcvideo videobuf2_vmalloc btrtl wmi_bmof videobuf2_memops snd_hda_core videobuf2_v4l2 iwlwifi btbcm mei_me
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881041]  videobuf2_common snd_usbmidi_lib btintel mei snd_hwdep videodev joydev hid_sensor_custom_intel_hinge hid_sensor_gyro_3d snd_pcm hid_sensor_accel_3d input_leds mc bluetooth hid_sensor_trigger hid_multitouch industrialio_triggered_buffer cfg80211 kfifo_buf hid_sensor_iio_common ecdh_generic ecc industrialio thinkpad_acpi nvram platform_profile ledtrig_audio cros_ec_ishtp snd_seq_midi cros_ec snd_seq_midi_event intel_pmt_telemetry snd_rawmidi intel_pmt_class snd_seq snd_seq_device processor_thermal_device snd_timer processor_thermal_rfim processor_thermal_mbox ucsi_acpi processor_thermal_rapl typec_ucsi intel_rapl_common intel_soc_dts_iosf typec snd soundcore int3403_thermal soc_button_array int340x_thermal_zone mac_hid intel_hid int3400_thermal acpi_thermal_rel sparse_keymap acpi_tad acpi_pad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c hid_logitech_hidpp
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881081]  hid_logitech_dj hid_sensor_custom hid_sensor_hub intel_ishtp_loader intel_ishtp_hid wacom usbhid hid_generic i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect i2c_i801 sysimgblt fb_sys_fops nvme i2c_smbus intel_lpss_pci cec intel_ish_ipc intel_lpss rc_core intel_ishtp intel_pmt igc idma64 drm thunderbolt xhci_pci nvme_core xhci_pci_renesas i2c_hid_acpi i2c_hid wmi hid video pinctrl_tigerlake
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881106] CPU: 5 PID: 124 Comm: kworker/5:1 Tainted: G     U            5.13.0-37-generic #42~20.04.1-Ubuntu
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881109] Hardware name: LENOVO 20Y0S1E400/20Y0S1E400, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881111] Workqueue: events igc_watchdog_task [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881117] RIP: 0010:igc_rd32+0x85/0x90 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881122] Code: c7 c6 00 23 5a c0 e8 79 fb 85 c3 48 8b bb 30 ff ff ff e8 7e a3 28 c3 84 c0 74 af 44 89 e6 48 c7 c7 28 23 5a c0 e8 74 b9 80 c3 <0f> 0b eb 9c 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 57
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881124] RSP: 0018:ffffbda1c04dbc98 EFLAGS: 00010282
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881126] RAX: 0000000000000000 RBX: ffff99b24368abd0 RCX: 0000000000000027
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881127] RDX: 0000000000000027 RSI: 00000000ffffdfff RDI: ffff99b58f6a09c8
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881128] RBP: ffffbda1c04dbcb8 R08: ffff99b58f6a09c0 R09: ffffbda1c04dba70
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881129] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000005b50
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881130] R13: 00000000ffffffff R14: ffff99b24368a000 R15: ffff99b24368abd0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881131] FS:  0000000000000000(0000) GS:ffff99b58f680000(0000) knlGS:0000000000000000
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881133] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881134] CR2: 000016500c78c000 CR3: 000000010705e001 CR4: 0000000000770ee0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881135] PKRU: 55555554
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881136] Call Trace:
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881138]  <TASK>
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881141]  igc_get_hw_semaphore_i225+0x34/0x180 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881146]  igc_acquire_swfw_sync_i225+0x5a/0xd0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881151]  igc_acquire_phy_base+0x14/0x20 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881156]  igc_read_phy_reg_gpy+0x38/0x1b0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881162]  igc_phy_has_link+0x74/0x170 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881168]  igc_check_for_copper_link+0x63/0xe0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881173]  igc_has_link+0x2b/0x80 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881176]  igc_watchdog_task+0x3e/0x2a0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881181]  process_one_work+0x21d/0x3c0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881186]  worker_thread+0x4d/0x3f0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881188]  ? process_one_work+0x3c0/0x3c0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881190]  kthread+0x128/0x150
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881192]  ? set_kthread_struct+0x40/0x40
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881193]  ret_from_fork+0x1f/0x30
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881198]  </TASK>
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881199] ---[ end trace 1f5e3413de7f4423 ]---
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881804] BUG: unable to handle page fault for address: 0000000000005b50
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881805] #PF: supervisor read access in kernel mode
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881807] #PF: error_code(0x0000) - not-present page
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881808] PGD 0 P4D 0 
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881810] Oops: 0000 [#1] SMP NOPTI
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881812] CPU: 5 PID: 124 Comm: kworker/5:1 Tainted: G     U  W         5.13.0-37-generic #42~20.04.1-Ubuntu
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881814] Hardware name: LENOVO 20Y0S1E400/20Y0S1E400, BIOS N32ET75W (1.51 ) 12/02/2021
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881815] Workqueue: events igc_watchdog_task [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881820] RIP: 0010:igc_rd32+0x1c/0x90 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881824] Code: c0 5d c3 b8 fd ff ff ff c3 0f 1f 44 00 00 0f 1f 44 00 00 55 89 f0 48 89 e5 41 56 41 55 41 54 49 89 c4 53 48 8b 57 08 48 01 d0 <44> 8b 28 41 83 fd ff 74 0c 5b 44 89 e8 41 5c 41 5d 41 5e 5d c3 48
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881826] RSP: 0018:ffffbda1c04dbc98 EFLAGS: 00010206
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881828] RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 0000000000000000
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881829] RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff99b24368abd0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881831] RBP: ffffbda1c04dbcb8 R08: 0000000000000001 R09: 0000000000000001
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881832] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000005b50
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881833] R13: 0000000000000001 R14: 0000000000000800 R15: ffff99b24368abd0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881834] FS:  0000000000000000(0000) GS:ffff99b58f680000(0000) knlGS:0000000000000000
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881836] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881837] CR2: 0000000000005b50 CR3: 000000010705e001 CR4: 0000000000770ee0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881839] PKRU: 55555554
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881840] Call Trace:
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881840]  <TASK>
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881841]  igc_get_hw_semaphore_i225+0x34/0x180 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881846]  igc_acquire_swfw_sync_i225+0x5a/0xd0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881851]  igc_acquire_phy_base+0x14/0x20 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881856]  igc_read_phy_reg_gpy+0x38/0x1b0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881861]  igc_phy_has_link+0x74/0x170 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881866]  igc_check_for_copper_link+0x63/0xe0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881871]  igc_has_link+0x2b/0x80 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881875]  igc_watchdog_task+0x3e/0x2a0 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881879]  process_one_work+0x21d/0x3c0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881882]  worker_thread+0x4d/0x3f0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881884]  ? process_one_work+0x3c0/0x3c0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881886]  kthread+0x128/0x150
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881888]  ? set_kthread_struct+0x40/0x40
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881890]  ret_from_fork+0x1f/0x30
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881893]  </TASK>
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881894] Modules linked in: ccm rfcomm xfrm_user xfrm_algo l2tp_ppp l2tp_netlink l2tp_core ip6_udp_tunnel udp_tunnel pppox cmac algif_hash algif_skcipher af_alg bnep nls_iso8859_1 snd_ctl_led snd_soc_skl_hda_dsp snd_soc_intel_hda_dsp_common snd_soc_hdac_hdmi snd_soc_dmic mei_hdcp snd_hda_codec_hdmi snd_hda_codec_realtek intel_rapl_msr snd_hda_codec_generic intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp coretemp snd_sof_pci_intel_tgl snd_sof_intel_hda_common soundwire_intel kvm_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci kvm snd_sof_xtensa_dsp snd_sof snd_soc_hdac_hda snd_hda_ext_core snd_soc_acpi_intel_match iwlmvm intel_cstate snd_soc_acpi soundwire_bus mac80211 serio_raw libarc4 snd_soc_core snd_compress ac97_bus efi_pstore snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg btusb snd_intel_sdw_acpi snd_usb_audio snd_hda_codec uvcvideo videobuf2_vmalloc btrtl wmi_bmof videobuf2_memops snd_hda_core videobuf2_v4l2 iwlwifi btbcm mei_me
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881924]  videobuf2_common snd_usbmidi_lib btintel mei snd_hwdep videodev joydev hid_sensor_custom_intel_hinge hid_sensor_gyro_3d snd_pcm hid_sensor_accel_3d input_leds mc bluetooth hid_sensor_trigger hid_multitouch industrialio_triggered_buffer cfg80211 kfifo_buf hid_sensor_iio_common ecdh_generic ecc industrialio thinkpad_acpi nvram platform_profile ledtrig_audio cros_ec_ishtp snd_seq_midi cros_ec snd_seq_midi_event intel_pmt_telemetry snd_rawmidi intel_pmt_class snd_seq snd_seq_device processor_thermal_device snd_timer processor_thermal_rfim processor_thermal_mbox ucsi_acpi processor_thermal_rapl typec_ucsi intel_rapl_common intel_soc_dts_iosf typec snd soundcore int3403_thermal soc_button_array int340x_thermal_zone mac_hid intel_hid int3400_thermal acpi_thermal_rel sparse_keymap acpi_tad acpi_pad sch_fq_codel ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c hid_logitech_hidpp
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881957]  hid_logitech_dj hid_sensor_custom hid_sensor_hub intel_ishtp_loader intel_ishtp_hid wacom usbhid hid_generic i915 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd i2c_algo_bit psmouse drm_kms_helper syscopyarea sysfillrect i2c_i801 sysimgblt fb_sys_fops nvme i2c_smbus intel_lpss_pci cec intel_ish_ipc intel_lpss rc_core intel_ishtp intel_pmt igc idma64 drm thunderbolt xhci_pci nvme_core xhci_pci_renesas i2c_hid_acpi i2c_hid wmi hid video pinctrl_tigerlake
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881979] CR2: 0000000000005b50
Mar 24 13:26:01 phord-x1y6 kernel: [ 1218.881980] ---[ end trace 1f5e3413de7f4424 ]---
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098156] RIP: 0010:igc_rd32+0x1c/0x90 [igc]
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098172] Code: c0 5d c3 b8 fd ff ff ff c3 0f 1f 44 00 00 0f 1f 44 00 00 55 89 f0 48 89 e5 41 56 41 55 41 54 49 89 c4 53 48 8b 57 08 48 01 d0 <44> 8b 28 41 83 fd ff 74 0c 5b 44 89 e8 41 5c 41 5d 41 5e 5d c3 48
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098174] RSP: 0018:ffffbda1c04dbc98 EFLAGS: 00010206
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098177] RAX: 0000000000005b50 RBX: 0000000000000801 RCX: 0000000000000000
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098178] RDX: 0000000000000000 RSI: 0000000000005b50 RDI: ffff99b24368abd0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098180] RBP: ffffbda1c04dbcb8 R08: 0000000000000001 R09: 0000000000000001
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098181] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000005b50
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098182] R13: 0000000000000001 R14: 0000000000000800 R15: ffff99b24368abd0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098183] FS:  0000000000000000(0000) GS:ffff99b58f680000(0000) knlGS:0000000000000000
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098185] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098186] CR2: 0000000000005b50 CR3: 000000010705e001 CR4: 0000000000770ee0
Mar 24 13:26:01 phord-x1y6 kernel: [ 1219.098187] PKRU: 55555554
Mar 24 13:26:02 phord-x1y6 dbus-daemon[723]: [system] Successfully activated service 'org.freedesktop.fwupd'
uname -a
Linux phord-x1y6 5.13.0-37-generic #42~20.04.1-Ubuntu SMP Tue Mar 15 15:44:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

fwupdmgr --version  
runtime   org.freedesktop.fwupd         1.7.5
runtime   com.dell.libsmbios            2.4
compile   org.freedesktop.gusb          0.3.4
runtime   org.kernel                    5.13.0-37-generic
compile   org.freedesktop.fwupd         1.7.5
runtime   org.freedesktop.gusb          0.3.10

Maybe this is a different bug than this report is about, though.

luiswirth commented 2 years ago

@phord This seems to be related. Because I was able to "reproduce" the exact same error when plugging in my dock.

phord commented 2 years ago

@LU15W1R7H My bug and stacktrace went away when I replaced my kernel with version 5.15.16. I read somewhere that the fix is in 5.15.13, so I'm surprised you still saw it on 5.16.14.

The bug is in the Intel Ethernet driver (igb/igc). I was able to avoid this bug on another kernel version by blacklisting this (igc) driver. This is a suitable solution for me because I'm not using the wired Ethernet connector on the dock.

luiswirth commented 2 years ago

@phord Thanks, blacklisting fixed the kernel panics! Did you manage to get two displayport monitors working at the same time? This still doesn't work for me.

phord commented 2 years ago

@LU15W1R7H I didn't notice that my TB4 dock has two DP connections. Why didn't they put them together at all? I don't have DP connectors at work where the dock is, though. I will try to bring it home this week to experiment.

I do have two 4K@60Hz monitors connected at home using HDMI connections; one is the internal one, and one is external via USB-C -> HDMI. This is working fine.

luiswirth commented 2 years ago

@phord Could you try to connect two 4K monitors via displayport to your TB4 dock? (If you have them to your disposal.) I'm having problems with this exact configuration.

taisph commented 2 years ago

@phord Could you try to connect two 4K monitors via displayport to your TB4 dock? (If you have them to your disposal.) I'm having problems with this exact configuration.

FWIW, I am running with two 4k monitors connected to the dock via DP. I get an occasional lost signal (audio also cuts out) for a few seconds.

luiswirth commented 2 years ago

@taisph Okay, interesting. Can you elaborate on your setup? Are you using Xorg? Do you have intel graphics? If yes do you use xf86-video-intel? Etc...

I can run each external monitor separately at 4K. But setting both up to 4K results in xrandr telling me xrandr configure crtc failed. Turning both down to Full HD works.

taisph commented 2 years ago

@taisph Okay, interesting. Can you elaborate on your setup? Are you using Xorg? Do you have intel graphics? If yes do you use xf86-video-intel? Etc...

I have a ThinkPad P15 Gen 2, NVIDIA with 510.60.02 proprietary driver on Ubuntu 20.04.4 LTS (HWE kernel 5.13), using Xorg. Both monitors are connected directly to the dock and are not daisy chained. Laptop is powered directly and not through the dock. I get an occasional (1-3 times a day) lost signal on one or both monitors for a few seconds. I have headphones connected to one monitor and the audio signal cuts out as well. Every now and then (maybe once every two weeks) I have to cold start the dock to get the monitors working with the laptop. I also had to permanently disable power saving (DPMS) for the monitors using xset -dpms as power save did a number on audio (Ubuntu misconfigures the audio output) and sometimes the monitors don't wake up again. And then there's #191 which forced me to stop using the ethernet port on the dock.

luiswirth commented 2 years ago

@taisph Thanks! Huh, in this case, my problem is probably specific to integrated intel graphics...

Btw I also get the occasional lost signal when I'm using one monitor with the dock.

taisph commented 2 years ago

More dock woes: Got annoyed with the lost signal today because my headphones cut out, and instead connected them directly into the dock. Every ~8 seconds it now has a kind of 1 second low-res flange effect in the audio. That was definitely not there when I got the dock.

lauaviin commented 2 years ago

@LU15W1R7H Same issue here with connecting 2DP monitors. On P15v 2gen + Thunderbolt 4 workstation dock & Fedora 36. Connecting second monitor via the USB-C cable will cause the screen to flicker at random intervals. 2xDP doesn't flicker but on occasion get lost signal on random intervals AND/OR the screen doesn't take in account resolution changes beyond 1080p. Edit: moving the resolution down from 2x4k => 2x2.5k brought stability and everything works as expected Under windows. Everything is fine. Apart from being unable to update Thunderbolt 4 firmware (counts down the seconds, does the restart and upon boot up. Seemingly like a restart-tool :smile: )

tylermontneyacc commented 2 years ago

I've been noticing similar issues on Windows across multiple laptops (typically T15) on...

Been bugging me for a couple months now across various firmware versions.

fhuberts commented 1 year ago

I have a Lenovo TB4 dock (non-smart) with 2xDP and 1x HDMI. On Fedora 36 and 37, both my Z16 AMD and P14s Gen 2 AMD laptops can't light up either of the displays, no matter which ones I plug and which ones I do not plug. The dock was updated to the latest firmware (1.10 I think). I've read some comments that from kernel 6.0 it should start working but with the rawhide kernel (6.1-rc1) I see no difference with 5.19.16-200: not functional.

With the current 6.0 kernel in Fedora 36 and 37 I can light up 1 and sometimes 2 displays, but not 3. And it's very very inconsistent.

vrumjantsev commented 1 year ago

Have someone found a workaround?

tylermontneyacc commented 1 year ago

Have someone found a workaround?

Ever since using straight HDMI instead of DP to HDMI adapters, I've gone from multiple incidents a day to one a week (if that). Lenovo support once told me they didn't work well with those adapters, and recommended I didn't use them.

vrumjantsev commented 1 year ago

Ever since using straight HDMI instead of DP to HDMI adapters, I've gone from multiple incidents a day to one a week (if that). Lenovo support once told me they didn't work well with those adapters, and recommended I didn't use them.

I'm not using adapters DP to DP from both monitors to dock

silivanmunguar commented 1 year ago

I just got the TB4 workstation dock and it is a nightmare on windows 11. The graphics keep glitching, and signals cutting out especially when I open applications like virtual DJ or Premier pro. Is there a solution or should I just return it?

ryantm commented 1 year ago

I gave up after spending two full days trying to get it to work. I'm having much more luck with the Plugable 4K USB C Docking Station Triple Monitor with my 12th gen Framework laptop. DisplaylinkManager uses a lot of CPU and has some barely noticeable snowlike artifacts but at least it works.

silivanmunguar commented 1 year ago

I gave up after spending two full days trying to get it to work. I'm having much more luck with the Plugable 4K USB C Docking Station Triple Monitor with my 12th gen Framework laptop. DisplaylinkManager uses a lot of CPU and has some barely noticeable snowlike artifacts but at least it works.

Its a shame this doesn't work. I really wanted the 230W power delivery. Can you share the dock you are using?

ryantm commented 1 year ago

Can you share the dock you are using?

The model number is ‎UD-ULTC4K. I said the name in the previous post.

fhuberts commented 1 year ago

There seem to be some AMD MST fixes in the works.

See https://gitlab.freedesktop.org/drm/amd/-/issues/2171

quote:

This branch should fix (most of) the MST issues: https://gitlab.freedesktop.org/hwentland/linux/-/commits/mst_regression/

Or, this one, if you prefer the 6.1 kernel: https://gitlab.freedesktop.org/hwentland/linux/-/commits/mst_regression_6.1

CommanderRedYT commented 8 months ago

Hi, I just noticed something weird. I am also having the two 4k monitor issue (Although with the Thunderbolt 4 Workstation dock). I found something weird tho: It looks like plugging in both displays at once with their resolution set to 4K does not work at all (they show up, but no output / they are entering standby). When I put them to 1440p, it works. When I put them to 4K again tho, it seems that the scaling increases (4K rendered, but only 1440p displayed).

mo3r31337 commented 6 months ago

I found that it is possible to run two monitors at 4k resolution on this dock if one monitor is connected via displayport and the other monitor is connected using the downstream thunderbolt port. I managed to run two DELL U2720Q in 4k resolution Lenovo ThinkPad Thunderbolt 4 Dock Lenovo ThinkPad X1 nano gen 1 Arch Linux with 6.7.4 kernel Xorg version 21.1.99.1.r669.g9c7c470b1-1 Xorg video driver: modesetting Works in wayland too

luiswirth commented 4 months ago

Coming back to this issue after a long time...

Now I'm running NixOS with kernel 6.8.9 on my Lenovo Thinkpad Z16 Gen 1 with both an integrated GPU (AMD Radeon 680M) and a dedicated GPU (AMD Radeon RX 6500M). I'm still using my Thinkpad Universal Thunderbolt 4 Smart Dock. I'm using Hyprland as my wayland compositor.

When using two 4K monitors I still get weird behaviour. When connecting to my dock while already running Hyprland, both monitors turn on, but only one of monitors (always the same one) actually displays anything. The other just turns back off, wihtout ever showing anything. Hyprland recogizes both monitors and whatever I do, I can't get the 2nd monitor to show anything. However if I connect the dock before starting Hyprland, my TTY is mirrored on both monitors and when I start Hyprland then I will actually be able to use both monitors (without problems). How can this be? Also I still get the occational other weird behaviour, when connecting or disconnecting the dock, like Hyprland crashing or even a kernel panic related to the AMDGPU driver...

See kernel panic journalctl entry here ``` May 07 22:23:01 lwirth-tp upowerd[7950]: g_udev_device_get_sysfs_path: assertion 'G_UDEV_IS_DEVICE (device)' failed May 07 22:23:01 lwirth-tp upowerd[7950]: g_udev_client_query_by_sysfs_path: assertion 'sysfs_path != NULL' failed May 07 22:23:31 lwirth-tp kernel: BUG: kernel NULL pointer dereference, address: 0000000000000008 May 07 22:23:31 lwirth-tp kernel: #PF: supervisor read access in kernel mode May 07 22:23:31 lwirth-tp kernel: #PF: error_code(0x0000) - not-present page May 07 22:23:31 lwirth-tp kernel: PGD 297f8c067 P4D 297f8c067 PUD 472bc8067 PMD 0 May 07 22:23:31 lwirth-tp kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI May 07 22:23:31 lwirth-tp kernel: CPU: 3 PID: 54941 Comm: .Hyprland-wrapp Tainted: G W O 6.8.9 #1-NixOS May 07 22:23:31 lwirth-tp kernel: Hardware name: LENOVO 21D4CTO1WW/21D4CTO1WW, BIOS N3GET64W (1.64 ) 11/01/2023 May 07 22:23:31 lwirth-tp kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] May 07 22:23:31 lwirth-tp kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41 May 07 22:23:31 lwirth-tp kernel: RSP: 0018:ffffb81a20a6f778 EFLAGS: 00010287 May 07 22:23:31 lwirth-tp kernel: RAX: 0000000000000000 RBX: ffffa30d6ce19480 RCX: 00000000000007af May 07 22:23:31 lwirth-tp kernel: RDX: ffffa30d4be95800 RSI: ffffa30d50cc2800 RDI: ffffa30d6ce19480 May 07 22:23:31 lwirth-tp kernel: RBP: ffffa30d60bc3800 R08: 0000000000000407 R09: 7fbee7efffffffff May 07 22:23:31 lwirth-tp kernel: R10: 7fbee7efffffffff R11: 0000000000000001 R12: 0000000000000000 May 07 22:23:31 lwirth-tp kernel: R13: ffffa30e27326d80 R14: ffffa30d50cc2800 R15: 00000000000007af May 07 22:23:31 lwirth-tp kernel: FS: 00007f0125dac680(0000) GS:ffffa3147e380000(0000) knlGS:0000000000000000 May 07 22:23:31 lwirth-tp kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 07 22:23:31 lwirth-tp kernel: CR2: 0000000000000008 CR3: 000000022b970000 CR4: 0000000000f50ef0 May 07 22:23:31 lwirth-tp kernel: PKRU: 55555554 May 07 22:23:31 lwirth-tp kernel: Call Trace: May 07 22:23:31 lwirth-tp kernel: May 07 22:23:31 lwirth-tp kernel: ? __die+0x23/0x70 May 07 22:23:31 lwirth-tp kernel: ? page_fault_oops+0x171/0x4e0 May 07 22:23:31 lwirth-tp kernel: ? exc_page_fault+0x72/0x160 May 07 22:23:31 lwirth-tp kernel: ? asm_exc_page_fault+0x26/0x30 May 07 22:23:31 lwirth-tp kernel: ? drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] May 07 22:23:31 lwirth-tp kernel: ? drm_dp_atomic_find_time_slots+0x28/0x2b0 [drm_display_helper] May 07 22:23:31 lwirth-tp kernel: compute_mst_dsc_configs_for_link+0x333/0xac0 [amdgpu] May 07 22:23:31 lwirth-tp kernel: compute_mst_dsc_configs_for_state+0x203/0x270 [amdgpu] May 07 22:23:31 lwirth-tp kernel: amdgpu_dm_atomic_check+0x1241/0x14d0 [amdgpu] May 07 22:23:31 lwirth-tp kernel: drm_atomic_check_only+0x5c9/0xa40 May 07 22:23:31 lwirth-tp kernel: drm_atomic_commit+0x5a/0xd0 May 07 22:23:31 lwirth-tp kernel: ? __pfx___drm_printfn_info+0x10/0x10 May 07 22:23:31 lwirth-tp kernel: drm_mode_atomic_ioctl+0xb1e/0xd50 May 07 22:23:31 lwirth-tp kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 May 07 22:23:31 lwirth-tp kernel: drm_ioctl_kernel+0xb5/0x110 May 07 22:23:31 lwirth-tp kernel: drm_ioctl+0x26d/0x4b0 May 07 22:23:31 lwirth-tp kernel: ? __pfx_drm_mode_atomic_ioctl+0x10/0x10 May 07 22:23:31 lwirth-tp kernel: amdgpu_drm_ioctl+0x4e/0x90 [amdgpu] May 07 22:23:31 lwirth-tp kernel: __x64_sys_ioctl+0x97/0xd0 May 07 22:23:31 lwirth-tp kernel: do_syscall_64+0xc1/0x210 May 07 22:23:31 lwirth-tp kernel: entry_SYSCALL_64_after_hwframe+0x79/0x81 May 07 22:23:31 lwirth-tp kernel: RIP: 0033:0x7f01272f39cf May 07 22:23:31 lwirth-tp kernel: Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00 May 07 22:23:31 lwirth-tp kernel: RSP: 002b:00007fff9338f140 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 May 07 22:23:31 lwirth-tp kernel: RAX: ffffffffffffffda RBX: 0000000004152fb0 RCX: 00007f01272f39cf May 07 22:23:31 lwirth-tp kernel: RDX: 00007fff9338f1e0 RSI: 00000000c03864bc RDI: 000000000000000d May 07 22:23:31 lwirth-tp kernel: RBP: 00007fff9338f1e0 R08: 0000000000000007 R09: 0000000000000002 May 07 22:23:31 lwirth-tp kernel: R10: 0000000000000003 R11: 0000000000000246 R12: 00000000c03864bc May 07 22:23:31 lwirth-tp kernel: R13: 000000000000000d R14: 00000000041df2a0 R15: 00000000041543f0 May 07 22:23:31 lwirth-tp kernel: May 07 22:23:31 lwirth-tp kernel: Modules linked in: sd_mod uas usb_storage scsi_mod scsi_common ib_core hid_logitech_hidpp hid_logitech_dj r8153_ecm cdc_ether usbnet r8152 mii snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_s> May 07 22:23:31 lwirth-tp kernel: snd_sof_pci snd_sof_xtensa_dsp nf_conntrack nf_defrag_ipv6 snd_sof nf_defrag_ipv4 snd_hda_scodec_cs35l41_spi libcrc32c regmap_spi br_netfilter veth tun tap macvlan snd_sof_utils snd_hda_codec_hdmi snd_soc_core bridge qrtr stp snd_compress> May 07 22:23:31 lwirth-tp kernel: snd_acp_config snd_soc_acpi amd_sfh watchdog platform_profile tiny_power_button wmi_bmof snd i2c_hid_acpi snd_pci_acp3x mhi tpm_tis i2c_hid i2c_piix4 k10temp soundcore tpm_tis_core thermal roles battery ac fan hid serial_multi_instantiate> May 07 22:23:31 lwirth-tp kernel: drm_display_helper firmware_class cec May 07 22:23:31 lwirth-tp kernel: CR2: 0000000000000008 May 07 22:23:31 lwirth-tp kernel: ---[ end trace 0000000000000000 ]--- May 07 22:23:31 lwirth-tp kernel: RIP: 0010:drm_dp_atomic_find_time_slots+0x5e/0x2b0 [drm_display_helper] May 07 22:23:31 lwirth-tp kernel: Code: 01 00 00 48 8b 85 68 05 00 00 48 63 80 88 00 00 00 3b 43 28 0f 8d 34 01 00 00 48 8b 53 30 48 8d 04 80 48 8d 04 c2 48 8b 40 18 <48> 8b 40 08 4d 8d 65 38 8b 88 90 00 00 00 b8 01 00 00 00 d3 e0 41 May 07 22:23:31 lwirth-tp kernel: RSP: 0018:ffffb81a20a6f778 EFLAGS: 00010287 May 07 22:23:31 lwirth-tp kernel: RAX: 0000000000000000 RBX: ffffa30d6ce19480 RCX: 00000000000007af May 07 22:23:31 lwirth-tp kernel: RDX: ffffa30d4be95800 RSI: ffffa30d50cc2800 RDI: ffffa30d6ce19480 May 07 22:23:31 lwirth-tp kernel: RBP: ffffa30d60bc3800 R08: 0000000000000407 R09: 7fbee7efffffffff May 07 22:23:31 lwirth-tp kernel: R10: 7fbee7efffffffff R11: 0000000000000001 R12: 0000000000000000 May 07 22:23:31 lwirth-tp kernel: R13: ffffa30e27326d80 R14: ffffa30d50cc2800 R15: 00000000000007af May 07 22:23:31 lwirth-tp kernel: FS: 00007f0125dac680(0000) GS:ffffa3147e380000(0000) knlGS:0000000000000000 May 07 22:23:31 lwirth-tp kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 07 22:23:31 lwirth-tp kernel: CR2: 0000000000000008 CR3: 000000022b970000 CR4: 0000000000f50ef0 May 07 22:23:31 lwirth-tp kernel: PKRU: 55555554 May 07 22:23:31 lwirth-tp kernel: note: .Hyprland-wrapp[54941] exited with irqs disabled May 07 22:24:42 lwirth-tp kernel: [drm] DMUB HPD callback: link_index=4 May 07 22:24:42 lwirth-tp kernel: [drm] DM_MST: stopping TM on aconnector: 000000005d4d22cb [id: 117] May 07 22:24:42 lwirth-tp kernel: thunderbolt 0-2: device disconnected May 07 22:24:42 lwirth-tp kernel: usb 9-1: USB disconnect, device number 42 May 07 22:24:42 lwirth-tp kernel: usb 9-1.1: USB disconnect, device number 50 May 07 22:24:42 lwirth-tp kernel: usb 10-1: USB disconnect, device number 19 May 07 22:24:42 lwirth-tp kernel: usb 10-1.4: USB disconnect, device number 20 May 07 22:24:42 lwirth-tp kernel: usb 10-1.4.4: USB disconnect, device number 21 ```

It would be great to find a solution to this. This dock is giving me a lot of headaches... If I could I would just return it.

If you believe these problems are entirely on the side of Hyprland, let me know.

silivanmunguar commented 4 months ago

I returned this dock and got a used Dell WD19TB which is cheaper and works flawlessly.

On Thu, May 9, 2024, 07:23 Luis Wirth @.***> wrote:

Coming back to this issue after a long time... Now I'm running NixOS with kernel 6.8.9 on my Lenovo Thinkpad Z16 Gen 1 with both an integrated GPU (AMD Radeon 680M) and a dedicated GPU (AMD Radeon RX 6500M). I'm still using my Thinkpad Universal Thunderbolt 4 Smart Dock. I'm using Hyprland as my wayland compositor.

When using two 4K monitors I still get weird behaviour. When connecting to my dock while already running Hyprland, both monitors turn on, but only one of monitors (always the same one) actually displays anything. The other just turns back off, wihtout ever showing anything. Hyprland recogizes both monitors and whatever I do, I can't get the 2nd monitor to show anything. However if I connect the dock before starting Hyprland, my TTY is mirrored on both monitors and when I start Hyprland then I will actually be able to use both monitors (without problems). How can this be? Also I still get the occational other weird behaviour, when connecting or disconnecting the dock, like Hyprland crashing or even a kernel panic related to the AMDGPU driver...

It would be great to find a solution to this. This dock is giving me a lot of headaches... If I could I would just return it.

— Reply to this email directly, view it on GitHub https://github.com/fwupd/firmware-lenovo/issues/206#issuecomment-2102765363, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODKVSRYWB2HIRECQC6BCEDZBOBHVAVCNFSM5QNT3WE2U5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMJQGI3TMNJTGYZQ . You are receiving this because you commented.Message ID: @.***>

luiswirth commented 4 months ago

@silivanmunguar just bought myself a new dell dock, hopefully this time it will work better!