New: xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
https://bugzilla.kernel.org/show_bug.cgi?id=220667
Bug ID: 220667
Summary: xhci_hcd prevents S3 suspend to RAM from working on
Zen 5 system
Product: Drivers
Version: 2.5
Hardware: AMD
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: No
Created attachment 308808
--> https://bugzilla.kernel.org/attachment.cgi?id=308808&action=edit
boot excerpt, followed by suspend errors
As of upgrading my system to a slightly patched build of 6.18-rc1 (not patched in ways which should affect this bug), S3 suspend fails due to an empty USB 2.0 hub in the system.
Log lines related to the USB hub's PCI device, in attached log excerpts.
Using sysfs to remove the following device path:
echo 1 | sudo tee /sys/devices/pci0000:00/0000:00:08.3/0000:1a:00.0/remove
Allows the machine to suspend normally, and the device stays removed upon resume.
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.
[Bug 220667] xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
https://bugzilla.kernel.org/show_bug.cgi?id=220667
Christopher Snowhill ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |6.18-rc1
--- Comment #1 from Christopher Snowhill ([email protected]) --- Log messages from 6.17.1, where it appears to connect without the suspend message, but reports that it has no ports:
Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: xHCI Host Controller Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: new USB bus registered, assigned bus number 9 Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: USB3 root hub has no ports Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: hcc params 0x0110ffc5 hci version 0x120 quirks 0x0000000200000010 Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: xHCI Host Controller Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: new USB bus registered, assigned bus number 10 Oct 14 00:01:16 copycat kernel: xhci_hcd 0000:1a:00.0: Host supports USB 3.0 SuperSpeed Oct 14 00:01:16 copycat kernel: usb usb9: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.17 Oct 14 00:01:16 copycat kernel: usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Oct 14 00:01:16 copycat kernel: usb usb9: Product: xHCI Host Controller Oct 14 00:01:16 copycat kernel: usb usb9: Manufacturer: Linux 6.17.1-3-cachyos xhci-hcd Oct 14 00:01:16 copycat kernel: usb usb9: SerialNumber: 0000:1a:00.0 Oct 14 00:01:16 copycat kernel: hub 9-0:1.0: USB hub found Oct 14 00:01:16 copycat kernel: hub 9-0:1.0: 1 port detected Oct 14 00:01:16 copycat kernel: usb usb10: We don't know the algorithms for LPM for this host, disabling LPM. Oct 14 00:01:16 copycat kernel: usb usb10: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.17 Oct 14 00:01:16 copycat kernel: usb usb10: New USB device strings: Mfr=3, Product=2, SerialNumber=1 Oct 14 00:01:16 copycat kernel: usb usb10: Product: xHCI Host Controller Oct 14 00:01:16 copycat kernel: usb usb10: Manufacturer: Linux 6.17.1-3-cachyos xhci-hcd Oct 14 00:01:16 copycat kernel: usb usb10: SerialNumber: 0000:1a:00.0 Oct 14 00:01:16 copycat kernel: hub 10-0:1.0: USB hub found Oct 14 00:01:16 copycat kernel: hub 10-0:1.0: config failed, hub doesn't have
any ports! (err -19)
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.
[Bug 220667] xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220667
Michał Pecio ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #2 from Michał Pecio ([email protected]) --- The empty USB 3.0 hub should be gone in v6.18.
The non-empty USB 2.0 hub is gone too, which is a bug to be fixed in v6.18-rc2.
Please start with checking if this commit also solves your suspend issue.
https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/commit/?h=usb-linus&id=8607edcd1748503f4f58e66ca0216170f260c79b
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.
[Bug 220667] xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220667
--- Comment #3 from Christopher Snowhill ([email protected]) --- Yes, that fixed it. Excellent.
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.
[Bug 220667] xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220667
Christopher Snowhill ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |PATCH_ALREADY_AVAILABLE--- Comment #4 from Christopher Snowhill ([email protected]) --- Oops, forgot to mark the solution.
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.
[Bug 220667] xhci_hcd prevents S3 suspend to RAM from working on Zen 5 system
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=220667
--- Comment #5 from Christopher Snowhill ([email protected]) --- Looks like this fix didn't make it into rc2.
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.