New: Hibernation not working because of xhci_hcd
https://bugzilla.kernel.org/show_bug.cgi?id=216171
Bug ID: 216171
Summary: Hibernation not working because of xhci_hcd
Product: Drivers
Version: 2.5
Kernel Version: 5.18.6-arch1-1
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: USB
Assignee: [email protected]
Reporter: [email protected]
Regression: NoCreated attachment 301268
--> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
Dmesg log with failed hibernation attempt
Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate - hibernation fails with dmesg errors related to xhci_hcd. I'm attaching dmesg log with failed hibernation attempt. Problem goes away after reverting commit 63acaa8e9c65dc34dc249440216f8e977f5d2748 (USB: hcd-pci: Fully suspend across freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can again successfully hibernate.
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.
Quoted 22 lines · On 25.6.2022 20.19, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=216171
Bug ID: 216171 Summary: Hibernation not working because of xhci_hcd Product: Drivers Version: 2.5 Kernel Version: 5.18.6-arch1-1 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: USB Assignee: [email protected] Reporter: [email protected] Regression: NoCreated attachment 301268
--> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
Dmesg log with failed hibernation attempt
Quoted 7 lines
Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate - hibernation fails with dmesg errors related to
xhci_hcd. I'm attaching dmesg log with failed hibernation attempt. Problem goes away after reverting commit63acaa8e9c65dc34dc249440216f8e977f5d2748(USB: hcd-pci: Fully suspend across freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can again successfully hibernate.
Looks like there is a pending wakeup:
[ 30.475168] xhci_hcd 0000:00:14.0: PM: pci_pm_freeze(): hcd_pci_suspend+0x0/0x30 returns -16
Guessing suspend_common() in hcd-pci.c retruns -EBUSY because HCD_WAKEUP_PENDING(hcd) flag is set.
Does xhci dynamic debug show some port event before this?
mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
Thanks
-Mathias
[Bug 216171] Hibernation not working because of xhci_hcd
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #1 from Mathias Nyman ([email protected]) ---
Quoted 22 lines · On 25.6.2022 20.19, [email protected] wrote:
https://bugzilla.kernel.org/show_bug.cgi?id=216171
Bug ID: 216171 Summary: Hibernation not working because of xhci_hcd Product: Drivers Version: 2.5 Kernel Version: 5.18.6-arch1-1 Hardware: All OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: USB Assignee: [email protected] Reporter: [email protected] Regression: NoCreated attachment 301268
--> https://bugzilla.kernel.org/attachment.cgi?id=301268&action=edit
Dmesg log with failed hibernation attempt
Quoted 7 lines
Starting from 5.18.4 my notebook (Dell Latitude 3340) won't hibernate - hibernation fails with dmesg errors related to
xhci_hcd. I'm attaching dmesg log with failed hibernation attempt. Problem goes away after reverting commit63acaa8e9c65dc34dc249440216f8e977f5d2748(USB: hcd-pci: Fully suspend across freeze/thaw cycle). After reverting this commit on linux 5.18.6 my system can again successfully hibernate.
Looks like there is a pending wakeup:
[ 30.475168] xhci_hcd 0000:00:14.0: PM: pci_pm_freeze():
hcd_pci_suspend+0x0/0x30 returns -16
Guessing suspend_common() in hcd-pci.c retruns -EBUSY because HCD_WAKEUP_PENDING(hcd) flag is set.
Does xhci dynamic debug show some port event before this?
mount -t debugfs none /sys/kernel/debug
echo 'module xhci_hcd =p' >/sys/kernel/debug/dynamic_debug/control echo 'module usbcore =p' >/sys/kernel/debug/dynamic_debug/control
Thanks
-Mathias
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 216171] Hibernation not working because of xhci_hcd
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #2 from Przemyslaw Kopa ([email protected]) --- Created attachment 301288
--> https://bugzilla.kernel.org/attachment.cgi?id=301288&action=edit
Dmesg with dynamic debug enabled
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 216171] Hibernation not working because of xhci_hcd
In reply to [email protected]https://bugzilla.kernel.org/show_bug.cgi?id=216171
--- Comment #3 from Przemyslaw Kopa ([email protected]) --- (In reply to Mathias Nyman from comment #1)
Quoted 4 lines
Guessing
suspend_common()inhcd-pci.cretruns-EBUSYbecauseHCD_WAKEUP_PENDING(hcd)flag is set.Does xhci dynamic debug show some port event before this?
There are a few "Port change events", I attached dmesg log with dynamic debug enabled.
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.