If I unplug the Thunderbolt 3 dock while Ubuntu is suspended, Ubuntu freezes with a black screen when I next try to resume.
Can this be fixed?
There are some errors and a stack trace in syslog
:
pcieport 0000:03:02.0: can't change power state from D3hot to D0 (config space inaccessible)
thunderbolt 0000:04:00.0: can't change power state from D3hot to D0 (config space inaccessible)
Call Trace:
<TASK>
usb_hcd_pci_remove+0xac/0x110
xhci_pci_remove+0x72/0xb0 [xhci_pci]
pci_device_remove+0x3b/0xb0
__device_release_driver+0x1a8/0x2a0
device_release_driver+0x29/0x40
pci_stop_bus_device+0x74/0xa0
pci_stop_bus_device+0x30/0xa0
pci_stop_bus_device+0x30/0xa0
pci_stop_and_remove_bus_device+0x13/0x30
pciehp_unconfigure_device+0x7e/0x140
pciehp_disable_slot+0x6c/0x100
pciehp_handle_presence_or_link_change+0xb7/0x110
pciehp_ist+0x19a/0x1b0
? irq_forced_thread_fn+0x90/0x90
irq_thread_fn+0x25/0x70
irq_thread+0xdc/0x1b0
? irq_thread_fn+0x70/0x70
? irq_thread_check_affinity+0x100/0x100
kthread+0x127/0x150
? set_kthread_struct+0x50/0x50
ret_from_fork+0x1f/0x30
</TASK>
$ uname -r
5.15.0-52-generic