Skip to contentSkip to conversation

New: Hard crash when USB4 cable is disconnected during sleep

Bug 219422 [email protected] 1 participant 2 messages Oct 23, 2024 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=219422

            Bug ID: 219422
           Summary: Hard crash when USB4 cable is disconnected during
                    sleep
           Product: Drivers
           Version: 2.5
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 307062
--> https://bugzilla.kernel.org/attachment.cgi?id=307062&action=edit
Error after USB4 cable is disconnected and

Hi, my current setup is a Lenovo Legion Go with a USB4 based external GPU (Onex GPU with a 7600M XT). I am running these tests on EndeavorOS with 6.12 rc4 kernel and stock 6.11.2-arch kernel.

My device crashes and hard locks when the USB4 cable is disconnected or when the device is not inaccessible upon a sleep and wake cycle.

I have been able to reliably crash system with this external GPU with the following steps:

1. Connect my eGPU dock
2. Wait a few seconds
3. Put the device to sleep
4. Wait for the device to sleep
5. Disconnect the USB4 cable
6. Wake the device up and the system will hard lock

I attached a photo of the logs. The error message is: 'Unable to change power state from Dcold to DO, device inaccessible' and this occurs for all PCI devices on the USB4 dock.

The above also occurs intermittently even when I have the cable attached.

To isolate if it was my device or the USB4 eGPU enclosure, I have also tried a Thunderbolt 3 laptop dock and that works reliably. I am able to disconnect the TB3 device during sleep and my system successfully recovers.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 219422] Hard crash when USB4 cable is disconnected during sleep

https://bugzilla.kernel.org/show_bug.cgi?id=219422

Mario Limonciello (AMD) ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|USB                         |PCI
           Assignee|[email protected] |[email protected]
                   |nel.org                     |l.org
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.