public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-usb@vger.kernel.org
Subject: [Bug 219422] New: Hard crash when USB4 cable is disconnected during sleep
Date: Wed, 23 Oct 2024 20:45:01 +0000	[thread overview]
Message-ID: <bug-219422-208809@https.bugzilla.kernel.org/> (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: drivers_usb@kernel-bugs.kernel.org
          Reporter: me@68x.ca
        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.

-- 
You may reply to this email to add a comment.

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

             reply	other threads:[~2024-10-23 20:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-23 20:45 bugzilla-daemon [this message]
2024-10-23 20:49 ` [Bug 219422] Hard crash when USB4 cable is disconnected during sleep bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-219422-208809@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox