On 2025-07-09 17:16:58 +0200, Ben Hutchings wrote:
> The logs show a lot of WARNINGs, so I've filtered and categorised those:
> 
>      30 WARNING: CPU: x PID: 1551 at 
> drivers/gpu/drm/nouveau/nvkm/subdev/bar/g84.c:35 g84_bar_flush+0x102/0x110 
> [nouveau]
>      24 WARNING: CPU: x PID: 1551 at 
> drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c:45 
> tu102_vmm_flush+0x167/0x170 [nouveau]
>       1 WARNING: CPU: x PID: 1551 at 
> drivers/gpu/drm/nouveau/nvkm/engine/fifo/runl.c:251 
> nvkm_runl_preempt_wait+0xf6/0x110 [nouveau]
> 
> Timeout waiting for a register to change (I think).
> 
>      16 WARNING: CPU: x PID: 1551 at drivers/gpu/drm/nouveau/nouveau_gem.c:85 
> nouveau_gem_object_del+0x56/0x70 [nouveau]
>      15 WARNING: CPU: x PID: 1551 at 
> drivers/gpu/drm/nouveau/nouveau_gem.c:207 
> nouveau_gem_object_close+0x253/0x2c0 [nouveau]
> 
> pm_runtime_get_sync() failed in a cleanup function which can't return an
> error, and the error code was not EACCES (which seems to be condisdered
> acceptable).
> 
>       1 WARNING: CPU: x PID: 1551 at lib/refcount.c:87 
> refcount_dec_not_one+0x4c/0x50
> 
> The driver attempted to decrement a reference count that was already 0.
> This quite likely indicates a use-after-free, which is very bad news.
> 
> On Sun, 2025-06-22 at 19:02 +0200, Vincent Lefevre wrote:
> [...]
> > It is known that after the dock is temporarily disconnected, then the
> > external monitors (connected to the dock) remain black (together with
> > the laptop screen). This is bad, but this has always been like that:
> [...]
> 
> Does this mean that you have a reliable way to reproduce this problem,
> including the WARNINGs?  If so that would help a lot with testing any
> possible fix.

I've looked at the logs. Each time this occurred, this is when
I disconnected the dock (on purpose) or when I reconnected it
(in the later case, the system was resuming from sleep).

But when I disconnect the dock, this does not always occur.

I could also noticed that on November 6, I got a crash when the
system resumed with the dock connected, but this did not involve
nouveau:

[...]
Nov 06 17:33:44 qaa kernel: thunderbolt 0-0:1.1: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:33:44 qaa kernel: thunderbolt 0-0:1.2: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:33:44 qaa kernel: thunderbolt 0-1: new device found, vendor=0xd4 
device=0xb071
Nov 06 17:33:44 qaa kernel: thunderbolt 0-1: Dell WD22TB4 Thunderbolt Dock
Nov 06 17:33:44 qaa kernel: thunderbolt 0000:00:0d.2: 1: failed to enable TMU
Nov 06 17:33:44 qaa kernel: thunderbolt 0000:00:0d.2: 1: USB3 tunnel creation 
failed
Nov 06 17:33:44 qaa kernel: thunderbolt 0-0:1.2: retimer disconnected
Nov 06 17:33:44 qaa kernel: thunderbolt 0-0:1.1: retimer disconnected
Nov 06 17:33:44 qaa kernel: thunderbolt 0-1: device disconnected
Nov 06 17:33:44 qaa kernel: OOM killer enabled.
Nov 06 17:33:44 qaa kernel: Restarting tasks ... done.
[...]
Nov 06 17:33:44 qaa fwupd[588801]: 16:33:44.592 FuEngine             failed to 
add device /sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1: cannot ensure 
ID: FuThunderboltController:
Nov 06 17:33:44 qaa fwupd[588801]:   Protocol:             com.intel.thunderbolt
Nov 06 17:33:44 qaa fwupd[588801]:   Flags:                
require-ac|signed-payload
Nov 06 17:33:44 qaa fwupd[588801]:   VersionFormat:        pair
Nov 06 17:33:44 qaa fwupd[588801]:   Icon:                 thunderbolt
Nov 06 17:33:44 qaa fwupd[588801]:   Guid[quirk]:          
f70b02b8-cac4-5138-aef2-83a4b2d3afef <- THUNDERBOLT\TYPE_THUNDERBOLT_DEVICE
Nov 06 17:33:44 qaa fwupd[588801]:   BackendId:            
/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1
Nov 06 17:33:44 qaa fwupd[588801]:   AcquiesceDelay:       2500
Nov 06 17:33:44 qaa fwupd[588801]:   GType:                
FuThunderboltController
Nov 06 17:33:44 qaa fwupd[588801]:   PossiblePlugin:       thunderbolt
Nov 06 17:33:44 qaa fwupd[588801]:   InternalFlags:        no-probe-complete
Nov 06 17:33:44 qaa fwupd[588801]:   Subsystem:            thunderbolt
Nov 06 17:33:44 qaa fwupd[588801]:   SysfsPath:            
/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1
Nov 06 17:33:44 qaa fwupd[588801]:   AuthMethod:           nvm_authenticate
Nov 06 17:33:44 qaa fwupd[588801]:   DeviceType:           Thunderbolt device 
controller
Nov 06 17:33:44 qaa fwupd[588801]:   SafeMode:             false
Nov 06 17:33:44 qaa fwupd[588801]:   NativeMode:           false
Nov 06 17:33:44 qaa fwupd[588801]:   Generation:           0
[...]
Nov 06 17:33:48 qaa kernel: thunderbolt 0-0:1.1: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:33:48 qaa kernel: thunderbolt 0-0:1.2: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
parent is eb2f8780-b006...
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
connected: connected (/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1)
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
auto-auth: authmode: enabled, policy: iommu, iommu: yes -> ok
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
auto-auth: security: iommu+user mode, key: no -> ok
Nov 06 17:33:48 qaa boltd[1245]: probing: started [1000]
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
authorize: authorization prepared for 'user' level
Nov 06 17:33:48 qaa kernel: thunderbolt 0-1: new device found, vendor=0xd4 
device=0xb071
Nov 06 17:33:48 qaa kernel: thunderbolt 0-1: Dell WD22TB4 Thunderbolt Dock
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
udev: device changed: authorizing -> authorizing
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
udev: device changed: authorizing -> authorizing
[...]
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: 1: failed to enable TMU
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: 1: USB3 tunnel creation 
failed
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: 1:1: hop deactivation 
failed for hop 1, index 8
Nov 06 17:33:48 qaa kernel: ------------[ cut here ]------------
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: path activation failed
Nov 06 17:33:48 qaa kernel: WARNING: CPU: 2 PID: 721316 at 
drivers/thunderbolt/path.c:574 tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:33:48 qaa kernel: Modules linked in: mptcp_diag xsk_diag tcp_diag 
udp_diag raw_diag inet_diag unix_diag af_packet_diag netlink_diag tls ctr ccm 
snd_seq_dummy snd_hrtimer snd_seq snd_seq_device nft_reject_inet nf_reject_ipv4 
nf_reject_ipv6 nft_reject rfcomm cmac algif_hash algif_skcipher af_alg 
snd_hda_codec_hdmi qrtr bnep xt_multiport nft_compat binfmt_misc nf_tables 
libcrc32c snd_sof_pci_intel_tgl snd_sof_intel_hda_common nls_ascii nls_cp437 
vfat soundwire_intel fat soundwire_generic_allocation snd_sof_intel_hda_mlink 
soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof 
iwlmvm intel_uncore_frequency intel_uncore_frequency_common dell_rbtn 
snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_ctl_led btusb 
snd_soc_acpi_intel_match x86_pkg_temp_thermal intel_powerclamp btrtl 
snd_soc_acpi snd_hda_codec_realtek btintel coretemp snd_soc_core btbcm btmtk 
kvm_intel snd_hda_codec_generic dell_laptop snd_compress snd_pcm_dmaengine 
bluetooth mac80211 ledtrig_audio soundwire_bus kvm snd_hda_intel uvcvideo
Nov 06 17:33:48 qaa kernel:  snd_intel_dspcfg snd_intel_sdw_acpi libarc4 
mei_hdcp mei_wdt mei_pxp snd_hda_codec videobuf2_vmalloc uvc intel_rapl_msr 
videobuf2_memops videobuf2_v4l2 sha3_generic jitterentropy_rng videodev 
snd_hda_core iwlwifi hid_sensor_als drbg irqbypass dell_wmi hid_sensor_trigger 
snd_hwdep hid_sensor_iio_common ansi_cprng iTCO_wdt videobuf2_common snd_pcm 
processor_thermal_device_pci industrialio_triggered_buffer dell_smbios 
dell_wmi_sysman ecdh_generic kfifo_buf intel_pmc_bxt rapl 
processor_thermal_device dcdbas intel_cstate intel_uncore cfg80211 mc pcspkr 
dell_wmi_ddv firmware_attributes_class dell_wmi_descriptor wmi_bmof ecc 
processor_thermal_wt_hint snd_timer iTCO_vendor_support ucsi_acpi industrialio 
processor_thermal_rfim mei_me watchdog processor_thermal_rapl typec_ucsi snd 
intel_rapl_common mei processor_thermal_wt_req typec soundcore 
processor_thermal_power_floor rfkill roles processor_thermal_mbox igen6_edac 
int3403_thermal int340x_thermal_zone int3400_thermal intel_hid intel_pmc_core 
acpi_thermal_rel
Nov 06 17:33:48 qaa kernel:  sparse_keymap acpi_tad acpi_pad joydev ac evdev 
serio_raw msr parport_pc ppdev lp parport efi_pstore configfs nfnetlink 
efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic 
dm_crypt dm_mod hid_sensor_custom hid_sensor_hub intel_ishtp_hid nvme nvme_core 
t10_pi crc64_rocksoft_generic crc64_rocksoft crc_t10dif crct10dif_generic crc64 
ahci libahci libata scsi_mod scsi_common i915 nouveau drm_gpuvm mxm_wmi 
drm_exec gpu_sched drm_buddy i2c_algo_bit crct10dif_pclmul drm_display_helper 
hid_multitouch crct10dif_common crc32_pclmul hid_generic cec xhci_pci 
crc32c_intel ghash_clmulni_intel drm_ttm_helper rc_core sha512_ssse3 
i2c_hid_acpi xhci_hcd i2c_hid ttm rtsx_pci_sdmmc sha512_generic usbcore 
mmc_core drm_kms_helper hid video intel_ish_ipc i2c_i801 intel_lpss_pci 
sha256_ssse3 thunderbolt drm psmouse sha1_ssse3 rtsx_pci intel_ishtp intel_lpss 
i2c_smbus vmd idma64 usb_common battery button wmi aesni_intel crypto_simd 
cryptd
Nov 06 17:33:48 qaa kernel: CPU: 2 PID: 721316 Comm: pool-/usr/libex Tainted: G 
       W          6.7.12-amd64 #1  Debian 6.7.12-1
Nov 06 17:33:48 qaa kernel: Hardware name: Dell Inc. Precision 5570/01Y4G1, 
BIOS 1.26.0 08/13/2024
Nov 06 17:33:48 qaa kernel: RIP: 0010:tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:33:48 qaa kernel: Code: 01 00 00 48 85 ed 0f 84 d7 00 00 00 48 81 c7 
c0 00 00 00 e8 83 77 0c fc 48 89 ea 48 c7 c7 30 98 81 c0 48 89 c6 e8 c1 b5 8e 
fb <0f> 0b 48 8b 44 24 08 65 48 2b 04 25 28 00 00 00 0f 85 5d 03 00 00
Nov 06 17:33:48 qaa kernel: RSP: 0018:ffff9960f53f3c50 EFLAGS: 00010286
Nov 06 17:33:48 qaa kernel: RAX: 0000000000000000 RBX: 00000000ffffff95 RCX: 
0000000000000027
Nov 06 17:33:48 qaa kernel: RDX: ffff8c286f4a1408 RSI: 0000000000000001 RDI: 
ffff8c286f4a1400
Nov 06 17:33:48 qaa kernel: RBP: ffff8c21026e7520 R08: 0000000000000000 R09: 
ffff9960f53f3ae0
Nov 06 17:33:48 qaa kernel: R10: ffff9960f53f3ad8 R11: 0000000000000003 R12: 
0000000000000028
Nov 06 17:33:48 qaa kernel: R13: ffff8c22f25a1b40 R14: ffff8c21469f4c00 R15: 
ffff8c218c88e320
Nov 06 17:33:48 qaa kernel: FS:  00007f86ede006c0(0000) 
GS:ffff8c286f480000(0000) knlGS:0000000000000000
Nov 06 17:33:48 qaa kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 06 17:33:48 qaa kernel: CR2: 000016d482af6004 CR3: 000000010aae0000 CR4: 
0000000000f50ef0
Nov 06 17:33:48 qaa kernel: PKRU: 55555554
Nov 06 17:33:48 qaa kernel: Call Trace:
Nov 06 17:33:48 qaa kernel:  <TASK>
Nov 06 17:33:48 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  ? __warn+0x81/0x130
Nov 06 17:33:48 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  ? report_bug+0x171/0x1a0
Nov 06 17:33:48 qaa kernel:  ? console_unlock+0x78/0x120
Nov 06 17:33:48 qaa kernel:  ? handle_bug+0x3c/0x80
Nov 06 17:33:48 qaa kernel:  ? exc_invalid_op+0x17/0x70
Nov 06 17:33:48 qaa kernel:  ? asm_exc_invalid_op+0x1a/0x20
Nov 06 17:33:48 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  tb_tunnel_restart+0xb3/0x220 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  tb_tunnel_pci+0x1b2/0x480 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  authorized_store+0x289/0x2d0 [thunderbolt]
Nov 06 17:33:48 qaa kernel:  kernfs_fop_write_iter+0x133/0x1d0
Nov 06 17:33:48 qaa kernel:  vfs_write+0x23a/0x400
Nov 06 17:33:48 qaa kernel:  ksys_write+0x6f/0xf0
Nov 06 17:33:48 qaa kernel:  do_syscall_64+0x61/0x120
Nov 06 17:33:48 qaa kernel:  ? exit_to_user_mode_prepare+0x40/0x1e0
Nov 06 17:33:48 qaa kernel:  ? syscall_exit_to_user_mode+0x22/0x40
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  ? exit_to_user_mode_prepare+0x40/0x1e0
Nov 06 17:33:48 qaa kernel:  ? syscall_exit_to_user_mode+0x22/0x40
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:33:48 qaa kernel:  entry_SYSCALL_64_after_hwframe+0x73/0x7b
Nov 06 17:33:48 qaa kernel: RIP: 0033:0x7f86ef6de24f
Nov 06 17:33:48 qaa kernel: Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 e9 
a1 f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 
05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 3c a2 f8 ff 48
Nov 06 17:33:48 qaa kernel: RSP: 002b:00007f86eddffb80 EFLAGS: 00000293 
ORIG_RAX: 0000000000000001
Nov 06 17:33:48 qaa kernel: RAX: ffffffffffffffda RBX: 00007f86dc008f70 RCX: 
00007f86ef6de24f
Nov 06 17:33:48 qaa kernel: RDX: 0000000000000001 RSI: 00007f86eddffbbc RDI: 
000000000000000a
Nov 06 17:33:48 qaa kernel: RBP: 000000000000000a R08: 0000000000000000 R09: 
00007f86eddffad0
Nov 06 17:33:48 qaa kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 
00007f86eddffc48
Nov 06 17:33:48 qaa kernel: R13: 00007f86eddffbbc R14: 00007f86eddffc48 R15: 
00005627f0a6418b
Nov 06 17:33:48 qaa kernel:  </TASK>
Nov 06 17:33:48 qaa kernel: ---[ end trace 0000000000000000 ]---
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: 0:8 <-> 1:9 (PCI): 
activation failed
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
authorize: finished: FAIL (status: auth-error, flags: 0)
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
auto-auth: authorization failed: kernel error: write error: Input/output error
Nov 06 17:33:48 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
disconnected (/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1)
Nov 06 17:33:48 qaa kernel: thunderbolt 0000:00:0d.2: 1:9: PCIe tunnel 
activation failed, aborting
Nov 06 17:33:48 qaa kernel: thunderbolt 0-0:1.2: retimer disconnected
Nov 06 17:33:48 qaa kernel: thunderbolt 0-0:1.1: retimer disconnected
Nov 06 17:33:48 qaa kernel: thunderbolt 0-1: device disconnected
Nov 06 17:33:48 qaa fwupd[588801]: 16:33:48.716 FuEngine             failed to 
add device /sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1: cannot ensure 
ID: FuThunderboltController:
Nov 06 17:33:48 qaa fwupd[588801]:   Protocol:             com.intel.thunderbolt
Nov 06 17:33:48 qaa fwupd[588801]:   Flags:                
require-ac|signed-payload
Nov 06 17:33:48 qaa fwupd[588801]:   VersionFormat:        pair
Nov 06 17:33:48 qaa fwupd[588801]:   Icon:                 thunderbolt
Nov 06 17:33:48 qaa fwupd[588801]:   Guid[quirk]:          
f70b02b8-cac4-5138-aef2-83a4b2d3afef <- THUNDERBOLT\TYPE_THUNDERBOLT_DEVICE
Nov 06 17:33:48 qaa fwupd[588801]:   BackendId:            
/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1
Nov 06 17:33:48 qaa fwupd[588801]:   AcquiesceDelay:       2500
Nov 06 17:33:48 qaa fwupd[588801]:   GType:                
FuThunderboltController
Nov 06 17:33:48 qaa fwupd[588801]:   PossiblePlugin:       thunderbolt
Nov 06 17:33:48 qaa fwupd[588801]:   InternalFlags:        no-probe-complete
Nov 06 17:33:48 qaa fwupd[588801]:   Subsystem:            thunderbolt
Nov 06 17:33:48 qaa fwupd[588801]:   SysfsPath:            
/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1
Nov 06 17:33:48 qaa fwupd[588801]:   AuthMethod:           nvm_authenticate
Nov 06 17:33:48 qaa fwupd[588801]:   DeviceType:           Thunderbolt device 
controller
Nov 06 17:33:48 qaa fwupd[588801]:   SafeMode:             false
Nov 06 17:33:48 qaa fwupd[588801]:   NativeMode:           false
Nov 06 17:33:48 qaa fwupd[588801]:   Generation:           0
[...]
Nov 06 17:33:51 qaa boltd[1245]: probing: timeout, done: [2779433] (2000000)
[...]
Nov 06 17:34:03 qaa kernel: thunderbolt 0-0:1.1: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:34:03 qaa kernel: thunderbolt 0-0:1.2: new retimer found, 
vendor=0x8087 device=0x15ee
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
parent is eb2f8780-b006...
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
connected: connected (/sys/devices/pci0000:00/0000:00:0d.2/domain0/0-0/0-1)
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
auto-auth: authmode: enabled, policy: iommu, iommu: yes -> ok
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
auto-auth: security: iommu+user mode, key: no -> ok
Nov 06 17:34:03 qaa boltd[1245]: probing: started [1000]
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
authorize: authorization prepared for 'user' level
Nov 06 17:34:03 qaa kernel: thunderbolt 0-1: new device found, vendor=0xd4 
device=0xb071
Nov 06 17:34:03 qaa kernel: thunderbolt 0-1: Dell WD22TB4 Thunderbolt Dock
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
udev: device changed: authorizing -> authorizing
Nov 06 17:34:03 qaa boltd[1245]: [41ba8780-0029-WD22TB4 Thunderbolt Dock   ] 
udev: device changed: authorizing -> authorizing
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: 1: failed to enable TMU
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: 1: USB3 tunnel creation 
failed
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: 1:1: hop deactivation 
failed for hop 1, index 8
Nov 06 17:34:03 qaa kernel: ------------[ cut here ]------------
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: path activation failed
Nov 06 17:34:03 qaa kernel: WARNING: CPU: 3 PID: 721316 at 
drivers/thunderbolt/path.c:574 tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:34:03 qaa kernel: Modules linked in: mptcp_diag xsk_diag tcp_diag 
udp_diag raw_diag inet_diag unix_diag af_packet_diag netlink_diag tls ctr ccm 
snd_seq_dummy snd_hrtimer snd_seq snd_seq_device nft_reject_inet nf_reject_ipv4 
nf_reject_ipv6 nft_reject rfcomm cmac algif_hash algif_skcipher af_alg 
snd_hda_codec_hdmi qrtr bnep xt_multiport nft_compat binfmt_misc nf_tables 
libcrc32c snd_sof_pci_intel_tgl snd_sof_intel_hda_common nls_ascii nls_cp437 
vfat soundwire_intel fat soundwire_generic_allocation snd_sof_intel_hda_mlink 
soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof 
iwlmvm intel_uncore_frequency intel_uncore_frequency_common dell_rbtn 
snd_sof_utils snd_soc_hdac_hda snd_hda_ext_core snd_ctl_led btusb 
snd_soc_acpi_intel_match x86_pkg_temp_thermal intel_powerclamp btrtl 
snd_soc_acpi snd_hda_codec_realtek btintel coretemp snd_soc_core btbcm btmtk 
kvm_intel snd_hda_codec_generic dell_laptop snd_compress snd_pcm_dmaengine 
bluetooth mac80211 ledtrig_audio soundwire_bus kvm snd_hda_intel uvcvideo
Nov 06 17:34:03 qaa kernel:  snd_intel_dspcfg snd_intel_sdw_acpi libarc4 
mei_hdcp mei_wdt mei_pxp snd_hda_codec videobuf2_vmalloc uvc intel_rapl_msr 
videobuf2_memops videobuf2_v4l2 sha3_generic jitterentropy_rng videodev 
snd_hda_core iwlwifi hid_sensor_als drbg irqbypass dell_wmi hid_sensor_trigger 
snd_hwdep hid_sensor_iio_common ansi_cprng iTCO_wdt videobuf2_common snd_pcm 
processor_thermal_device_pci industrialio_triggered_buffer dell_smbios 
dell_wmi_sysman ecdh_generic kfifo_buf intel_pmc_bxt rapl 
processor_thermal_device dcdbas intel_cstate intel_uncore cfg80211 mc pcspkr 
dell_wmi_ddv firmware_attributes_class dell_wmi_descriptor wmi_bmof ecc 
processor_thermal_wt_hint snd_timer iTCO_vendor_support ucsi_acpi industrialio 
processor_thermal_rfim mei_me watchdog processor_thermal_rapl typec_ucsi snd 
intel_rapl_common mei processor_thermal_wt_req typec soundcore 
processor_thermal_power_floor rfkill roles processor_thermal_mbox igen6_edac 
int3403_thermal int340x_thermal_zone int3400_thermal intel_hid intel_pmc_core 
acpi_thermal_rel
Nov 06 17:34:03 qaa kernel:  sparse_keymap acpi_tad acpi_pad joydev ac evdev 
serio_raw msr parport_pc ppdev lp parport efi_pstore configfs nfnetlink 
efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic 
dm_crypt dm_mod hid_sensor_custom hid_sensor_hub intel_ishtp_hid nvme nvme_core 
t10_pi crc64_rocksoft_generic crc64_rocksoft crc_t10dif crct10dif_generic crc64 
ahci libahci libata scsi_mod scsi_common i915 nouveau drm_gpuvm mxm_wmi 
drm_exec gpu_sched drm_buddy i2c_algo_bit crct10dif_pclmul drm_display_helper 
hid_multitouch crct10dif_common crc32_pclmul hid_generic cec xhci_pci 
crc32c_intel ghash_clmulni_intel drm_ttm_helper rc_core sha512_ssse3 
i2c_hid_acpi xhci_hcd i2c_hid ttm rtsx_pci_sdmmc sha512_generic usbcore 
mmc_core drm_kms_helper hid video intel_ish_ipc i2c_i801 intel_lpss_pci 
sha256_ssse3 thunderbolt drm psmouse sha1_ssse3 rtsx_pci intel_ishtp intel_lpss 
i2c_smbus vmd idma64 usb_common battery button wmi aesni_intel crypto_simd 
cryptd
Nov 06 17:34:03 qaa kernel: CPU: 3 PID: 721316 Comm: pool-/usr/libex Tainted: G 
       W          6.7.12-amd64 #1  Debian 6.7.12-1
Nov 06 17:34:03 qaa kernel: Hardware name: Dell Inc. Precision 5570/01Y4G1, 
BIOS 1.26.0 08/13/2024
Nov 06 17:34:03 qaa kernel: RIP: 0010:tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:34:03 qaa kernel: Code: 01 00 00 48 85 ed 0f 84 d7 00 00 00 48 81 c7 
c0 00 00 00 e8 83 77 0c fc 48 89 ea 48 c7 c7 30 98 81 c0 48 89 c6 e8 c1 b5 8e 
fb <0f> 0b 48 8b 44 24 08 65 48 2b 04 25 28 00 00 00 0f 85 5d 03 00 00
Nov 06 17:34:03 qaa kernel: RSP: 0018:ffff9960f53f3c70 EFLAGS: 00010286
Nov 06 17:34:03 qaa kernel: RAX: 0000000000000000 RBX: 00000000ffffff95 RCX: 
0000000000000027
Nov 06 17:34:03 qaa kernel: RDX: ffff8c286f4e1408 RSI: 0000000000000001 RDI: 
ffff8c286f4e1400
Nov 06 17:34:03 qaa kernel: RBP: ffff8c21026e7520 R08: 0000000000000000 R09: 
ffff9960f53f3b00
Nov 06 17:34:03 qaa kernel: R10: ffff9960f53f3af8 R11: 0000000000000003 R12: 
0000000000000028
Nov 06 17:34:03 qaa kernel: R13: ffff8c2137b08c00 R14: ffff8c21469f4c00 R15: 
ffff8c21468e1d60
Nov 06 17:34:03 qaa kernel: FS:  00007f86ede006c0(0000) 
GS:ffff8c286f4c0000(0000) knlGS:0000000000000000
Nov 06 17:34:03 qaa kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 06 17:34:03 qaa kernel: CR2: 00007f9d071c8018 CR3: 000000010aae0000 CR4: 
0000000000f50ef0
Nov 06 17:34:03 qaa kernel: PKRU: 55555554
Nov 06 17:34:03 qaa kernel: Call Trace:
Nov 06 17:34:03 qaa kernel:  <TASK>
Nov 06 17:34:03 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  ? __warn+0x81/0x130
Nov 06 17:34:03 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  ? report_bug+0x171/0x1a0
Nov 06 17:34:03 qaa kernel:  ? console_unlock+0x78/0x120
Nov 06 17:34:03 qaa kernel:  ? handle_bug+0x3c/0x80
Nov 06 17:34:03 qaa kernel:  ? exc_invalid_op+0x17/0x70
Nov 06 17:34:03 qaa kernel:  ? asm_exc_invalid_op+0x1a/0x20
Nov 06 17:34:03 qaa kernel:  ? tb_path_activate+0x10f/0x490 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  tb_tunnel_restart+0xb3/0x220 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  tb_tunnel_pci+0x1b2/0x480 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  authorized_store+0x289/0x2d0 [thunderbolt]
Nov 06 17:34:03 qaa kernel:  kernfs_fop_write_iter+0x133/0x1d0
Nov 06 17:34:03 qaa kernel:  vfs_write+0x23a/0x400
Nov 06 17:34:03 qaa kernel:  ksys_write+0x6f/0xf0
Nov 06 17:34:03 qaa kernel:  do_syscall_64+0x61/0x120
Nov 06 17:34:03 qaa kernel:  ? arch_do_signal_or_restart+0x3e/0x290
Nov 06 17:34:03 qaa kernel:  ? exit_to_user_mode_prepare+0x40/0x1e0
Nov 06 17:34:03 qaa kernel:  ? syscall_exit_to_user_mode+0x22/0x40
Nov 06 17:34:03 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:34:03 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:34:03 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:34:03 qaa kernel:  ? do_syscall_64+0x70/0x120
Nov 06 17:34:03 qaa kernel:  entry_SYSCALL_64_after_hwframe+0x73/0x7b
Nov 06 17:34:03 qaa kernel: RIP: 0033:0x7f86ef6de24f
Nov 06 17:34:03 qaa kernel: Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 e9 
a1 f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 
05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 3c a2 f8 ff 48
Nov 06 17:34:03 qaa kernel: RSP: 002b:00007f86eddffb80 EFLAGS: 00000293 
ORIG_RAX: 0000000000000001
Nov 06 17:34:03 qaa kernel: RAX: ffffffffffffffda RBX: 00007f86dc008f70 RCX: 
00007f86ef6de24f
Nov 06 17:34:03 qaa kernel: RDX: 0000000000000001 RSI: 00007f86eddffbbc RDI: 
000000000000000a
Nov 06 17:34:03 qaa kernel: RBP: 000000000000000a R08: 0000000000000000 R09: 
00007f86eddffad0
Nov 06 17:34:03 qaa kernel: R10: 0000000000000000 R11: 0000000000000293 R12: 
00007f86eddffc48
Nov 06 17:34:03 qaa kernel: R13: 00007f86eddffbbc R14: 00007f86eddffc48 R15: 
00005627f0a6418b
Nov 06 17:34:03 qaa kernel:  </TASK>
Nov 06 17:34:03 qaa kernel: ---[ end trace 0000000000000000 ]---
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: 0:8 <-> 1:9 (PCI): 
activation failed
Nov 06 17:34:03 qaa kernel: thunderbolt 0000:00:0d.2: 1:9: PCIe tunnel 
activation failed, aborting
Nov 06 17:34:03 qaa kernel: thunderbolt 0-0:1.2: retimer disconnected
Nov 06 17:34:03 qaa kernel: thunderbolt 0-0:1.1: retimer disconnected
Nov 06 17:34:03 qaa kernel: thunderbolt 0-1: device disconnected

and so on several times. And a few minutes later:

Nov 06 17:37:27 qaa kernel: ------------[ cut here ]------------
Nov 06 17:37:27 qaa kernel: WARNING: CPU: 4 PID: 1468 at 
kernel/workqueue.c:2173 __queue_work.part.0+0x2c1/0x3c0
Nov 06 17:37:27 qaa kernel: Modules linked in: nft_reject_inet nf_reject_ipv4 
nf_reject_ipv6 nft_reject rfcomm cmac algif_hash algif_skcipher af_alg qrtr 
snd_hda_codec_hdmi bnep xt_multiport nft_compat binfmt_misc nf_tables libcrc32c 
snd_sof_pci_intel_tgl snd_sof_intel_hda_common nls_ascii nls_cp437 
soundwire_intel vfat fat soundwire_generic_allocation snd_sof_intel_hda_mlink 
soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp snd_sof 
snd_ctl_led snd_sof_utils snd_soc_hdac_hda snd_hda_codec_realtek 
snd_hda_ext_core snd_soc_acpi_intel_match intel_uncore_frequency snd_soc_acpi 
dell_rbtn snd_hda_codec_generic intel_uncore_frequency_common snd_soc_core 
iwlmvm btusb x86_pkg_temp_thermal intel_powerclamp btrtl snd_compress coretemp 
btintel snd_pcm_dmaengine btbcm soundwire_bus dell_laptop btmtk kvm_intel 
snd_hda_intel bluetooth ledtrig_audio mac80211 snd_intel_dspcfg 
snd_intel_sdw_acpi uvcvideo kvm snd_hda_codec mei_wdt videobuf2_vmalloc 
mei_hdcp mei_pxp libarc4 uvc videobuf2_memops snd_hda_core videobuf2_v4l2 
intel_rapl_msr
Nov 06 17:37:27 qaa kernel:  snd_hwdep dell_wmi sha3_generic videodev 
jitterentropy_rng iwlwifi snd_pcm irqbypass dell_smbios iTCO_wdt 
videobuf2_common snd_timer dell_wmi_sysman(+) drbg intel_pmc_bxt hid_sensor_als 
dcdbas rapl intel_cstate cfg80211 intel_uncore pcspkr dell_wmi_ddv ansi_cprng 
firmware_attributes_class dell_wmi_descriptor wmi_bmof snd hid_sensor_trigger 
iTCO_vendor_support mc mei_me hid_sensor_iio_common ecdh_generic watchdog ecc 
industrialio_triggered_buffer mei kfifo_buf processor_thermal_device_pci 
soundcore industrialio processor_thermal_device rfkill 
processor_thermal_wt_hint processor_thermal_rfim ucsi_acpi 
processor_thermal_rapl typec_ucsi intel_rapl_common processor_thermal_wt_req 
typec processor_thermal_power_floor roles processor_thermal_mbox igen6_edac 
int3403_thermal apple_mfi_fastcharge int340x_thermal_zone int3400_thermal 
intel_pmc_core intel_hid acpi_thermal_rel acpi_tad sparse_keymap acpi_pad ac 
joydev evdev serio_raw msr parport_pc ppdev lp parport efi_pstore configfs 
nfnetlink efivarfs ip_tables
Nov 06 17:37:27 qaa kernel:  x_tables autofs4 ext4 crc16 mbcache jbd2 
crc32c_generic r8153_ecm cdc_ether usbnet r8152 mii dm_crypt dm_mod hid_apple 
usbhid hid_sensor_custom hid_sensor_hub intel_ishtp_hid nvme nvme_core t10_pi 
crc64_rocksoft_generic crc64_rocksoft crc_t10dif crct10dif_generic crc64 ahci 
libahci libata scsi_mod scsi_common i915 nouveau drm_gpuvm mxm_wmi 
crct10dif_pclmul hid_multitouch drm_exec crct10dif_common crc32_pclmul 
gpu_sched hid_generic drm_buddy crc32c_intel i2c_algo_bit drm_display_helper 
cec xhci_pci ghash_clmulni_intel rc_core drm_ttm_helper sha512_ssse3 xhci_hcd 
i2c_hid_acpi ttm rtsx_pci_sdmmc sha512_generic i2c_hid usbcore mmc_core 
drm_kms_helper hid intel_lpss_pci video intel_ish_ipc sha256_ssse3 i2c_i801 
intel_lpss psmouse drm sha1_ssse3 thunderbolt rtsx_pci i2c_smbus idma64 
intel_ishtp usb_common vmd button battery wmi aesni_intel crypto_simd cryptd
Nov 06 17:37:27 qaa kernel: CPU: 4 PID: 1468 Comm: Xorg.wrap Not tainted 
6.7.12-amd64 #1  Debian 6.7.12-1
Nov 06 17:37:27 qaa kernel: Hardware name: Dell Inc. Precision 5570/01Y4G1, 
BIOS 1.26.0 08/13/2024
Nov 06 17:37:27 qaa kernel: RIP: 0010:__queue_work.part.0+0x2c1/0x3c0
Nov 06 17:37:27 qaa kernel: Code: 83 c1 01 48 63 c9 e8 5e 35 54 00 8b 15 e8 40 
d6 01 89 c1 41 89 c6 39 d0 0f 83 a5 00 00 00 65 89 0d 8c 19 14 4a e9 69 fd ff 
ff <0f> 0b e9 bb fe ff ff 65 8b 05 fd 34 15 4a 89 c0 48 0f a3 05 c7 36
Nov 06 17:37:27 qaa kernel: RSP: 0018:ffffa19dc7d4b9c0 EFLAGS: 00010007
Nov 06 17:37:27 qaa kernel: RAX: ffff89a6bd269a10 RBX: ffff89a6bd269a08 RCX: 
0000000000000000
Nov 06 17:37:27 qaa kernel: RDX: 0000000000000000 RSI: ffff89a680402238 RDI: 
ffff89adef532e80
Nov 06 17:37:27 qaa kernel: RBP: 0000000000002000 R08: ffff89a680402260 R09: 
ffffffffb7a58de0
Nov 06 17:37:27 qaa kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 
ffff89a680050e00
Nov 06 17:37:27 qaa kernel: R13: ffff89adef532e80 R14: 0000000000000004 R15: 
ffff89a680136000
Nov 06 17:37:27 qaa kernel: FS:  00007f6bd8628740(0000) 
GS:ffff89adef500000(0000) knlGS:0000000000000000
Nov 06 17:37:27 qaa kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Nov 06 17:37:27 qaa kernel: CR2: 00007f403e736eec CR3: 0000000116610000 CR4: 
0000000000f50ef0
Nov 06 17:37:27 qaa kernel: PKRU: 55555554
Nov 06 17:37:27 qaa kernel: Call Trace:
Nov 06 17:37:27 qaa kernel:  <TASK>
Nov 06 17:37:27 qaa kernel:  ? __queue_work.part.0+0x2c1/0x3c0
Nov 06 17:37:27 qaa kernel:  ? __warn+0x81/0x130
Nov 06 17:37:27 qaa kernel:  ? __queue_work.part.0+0x2c1/0x3c0
Nov 06 17:37:27 qaa kernel:  ? report_bug+0x171/0x1a0
Nov 06 17:37:27 qaa kernel:  ? handle_bug+0x3c/0x80
Nov 06 17:37:27 qaa kernel:  ? exc_invalid_op+0x17/0x70
Nov 06 17:37:27 qaa kernel:  ? asm_exc_invalid_op+0x1a/0x20
Nov 06 17:37:27 qaa kernel:  ? __queue_work.part.0+0x2c1/0x3c0
Nov 06 17:37:27 qaa kernel:  queue_work_on+0x3b/0x50
Nov 06 17:37:27 qaa kernel:  nouveau_pmops_runtime_resume+0xe6/0x190 [nouveau]
Nov 06 17:37:27 qaa kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Nov 06 17:37:27 qaa kernel:  __rpm_callback+0x41/0x170
Nov 06 17:37:27 qaa kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Nov 06 17:37:27 qaa kernel:  rpm_callback+0x5d/0x70
Nov 06 17:37:27 qaa kernel:  ? __pfx_pci_pm_runtime_resume+0x10/0x10
Nov 06 17:37:27 qaa kernel:  rpm_resume+0x56e/0x7b0
Nov 06 17:37:27 qaa kernel:  __pm_runtime_resume+0x4b/0x80
Nov 06 17:37:27 qaa kernel:  nouveau_drm_open+0x75/0x1f0 [nouveau]
Nov 06 17:37:27 qaa kernel:  ? drm_file_alloc+0x2c/0x260 [drm]
Nov 06 17:37:27 qaa kernel:  drm_file_alloc+0x1b4/0x260 [drm]
Nov 06 17:37:27 qaa kernel:  drm_open_helper+0x7e/0x150 [drm]
Nov 06 17:37:27 qaa kernel:  drm_open+0x7f/0x140 [drm]
Nov 06 17:37:27 qaa kernel:  drm_stub_open+0xab/0xe0 [drm]
Nov 06 17:37:27 qaa kernel:  chrdev_open+0xce/0x250
Nov 06 17:37:27 qaa kernel:  ? __pfx_chrdev_open+0x10/0x10
Nov 06 17:37:27 qaa kernel:  do_dentry_open+0x200/0x550
Nov 06 17:37:27 qaa kernel:  path_openat+0xb1d/0x1220
Nov 06 17:37:27 qaa kernel:  do_filp_open+0xb3/0x160
Nov 06 17:37:27 qaa kernel:  do_sys_openat2+0xab/0xe0
Nov 06 17:37:27 qaa kernel:  ? handle_mm_fault+0xa2/0x360
Nov 06 17:37:27 qaa kernel:  __x64_sys_openat+0x57/0xa0
Nov 06 17:37:27 qaa kernel:  do_syscall_64+0x61/0x120
Nov 06 17:37:27 qaa kernel:  ? exit_to_user_mode_prepare+0x40/0x1e0
Nov 06 17:37:27 qaa kernel:  entry_SYSCALL_64_after_hwframe+0x73/0x7b
Nov 06 17:37:27 qaa kernel: RIP: 0033:0x7f6bd872ddbc
Nov 06 17:37:27 qaa kernel: Code: 83 e2 40 75 51 89 f0 f7 d0 a9 00 00 41 00 74 
46 80 3d b7 c2 0e 00 00 74 6a 89 da 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 
05 <48> 3d 00 f0 ff ff 0f 87 90 00 00 00 48 8b 54 24 28 64 48 2b 14 25
Nov 06 17:37:27 qaa kernel: RSP: 002b:00007ffc5eda68f0 EFLAGS: 00000202 
ORIG_RAX: 0000000000000101
Nov 06 17:37:27 qaa kernel: RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 
00007f6bd872ddbc
Nov 06 17:37:27 qaa kernel: RDX: 0000000000000002 RSI: 00007ffc5eda6a70 RDI: 
00000000ffffff9c
Nov 06 17:37:27 qaa kernel: RBP: 00007ffc5eda6a70 R08: 0000000000000064 R09: 
00000000ffffffff
Nov 06 17:37:27 qaa kernel: R10: 0000000000000000 R11: 0000000000000202 R12: 
00007ffc5eda6a70
Nov 06 17:37:27 qaa kernel: R13: 0000000000000000 R14: 00000000c04064a0 R15: 
0000000000000000
Nov 06 17:37:27 qaa kernel:  </TASK>
Nov 06 17:37:27 qaa kernel: ---[ end trace 0000000000000000 ]---

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to