Freeze if Thunderbolt 3 dock is unplugged while suspended - Ubuntu 22.04
I have Ubuntu 22.04 running on a laptop with a Thunderbolt 3 dock connected.
Next I suspend Ubuntu.
Then I remove the dock while Ubuntu is suspended.
Later I resume Ubuntu without reconnecting the dock.
The screen turns on and it looks like Ubuntu is starting to resume, but it freezes with a black screen and never starts up.
Hard reboot is the only way out.
It happens every time.
In the syslog there is a call trace that looks like something crashed:
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_
xhci_pci_
pci_device_
__device_
device_
pci_stop_
pci_stop_
pci_stop_
pci_stop_
pciehp_
pciehp_
pciehp_
pciehp_
? irq_forced_
irq_thread_
irq_thread+
? irq_thread_
? irq_thread_
kthread+
? set_kthread_
ret_from_
</TASK>
$ uname -r
5.15.0-52-generic
$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Any suggestions on what I could try?
My work around has been to try to remember, and remove the dock each time before suspend. This works but is not ideal. For reference, if I suspend and resume without removing the dock, it all works fine.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- Last query:
- Last reply: