system fails to suspend as it resumes immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My system fails to suspend or, to put it more accurately, wakes up again the very moment that it appears to have gone to sleep. The click that signals the drives parking is immediately followed by the whir that signals they are spinning up. I can try once, twice, three times in a row: the system will not go to sleep.
I do not know whether this is a new bug or something that has been present for a while. Today is the first time I decided to suspend instead of shut down or reboot.
In dmesg and journald logs, I find
xhci_hcd 0000:05:00.0: xHC error in resume, USBSTS 0x401, Reinit
xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
I am not clear, though, whether this indicates the root of the problem or whether it is in fact a consequence. These message actually come AFTER the following, which appears to shows the CPU booting up again as soon as the disks have stopped:
39.209907] sd 4:0:0:0: [sde] Synchronizing SCSI cache
[ 39.209919] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 39.209919] sd 5:0:0:0: [sdf] Synchronizing SCSI cache
[ 39.210008] sd 4:0:0:0: [sde] Stopping disk
[ 39.210021] sd 5:0:0:0: [sdf] Stopping disk
[ 39.210590] sd 0:0:0:0: [sda] Stopping disk
[ 39.225901] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[ 39.225918] sd 3:0:0:0: [sdd] Synchronizing SCSI cache
[ 39.225984] sd 2:0:0:0: [sdc] Stopping disk
[ 39.226000] sd 3:0:0:0: [sdd] Stopping disk
[ 39.229906] sd 1:0:0:0: [sdb] Synchronizing SCSI cache
[ 39.232140] sd 1:0:0:0: [sdb] Stopping disk
[ 40.096710] ACPI: EC: interrupt blocked
[ 40.144752] ACPI: PM: Preparing to enter system sleep state S3
[ 40.453703] ACPI: EC: event blocked
[ 40.453706] ACPI: EC: EC stopped
[ 40.453707] ACPI: PM: Saving platform NVS memory
[ 40.453791] Disabling non-boot CPUs ...
[ 40.455950] smpboot: CPU 1 is now offline
[ 40.458488] smpboot: CPU 2 is now offline
[ 40.460996] smpboot: CPU 3 is now offline
[ 40.463383] smpboot: CPU 4 is now offline
[ 40.465625] smpboot: CPU 5 is now offline
[ 40.467864] smpboot: CPU 6 is now offline
[ 40.468308] Spectre V2 : Update user space SMT mitigation: STIBP off
[ 40.469876] smpboot: CPU 7 is now offline
[ 40.471730] smpboot: CPU 8 is now offline
[ 40.473519] smpboot: CPU 9 is now offline
[ 40.475321] smpboot: CPU 10 is now offline
[ 40.477167] smpboot: CPU 11 is now offline
[ 40.477877] ACPI: PM: Low-level resume complete
[ 40.477895] ACPI: EC: EC started
[ 40.477896] ACPI: PM: Restoring platform NVS memory
[ 40.478031] LVT offset 0 assigned for vector 0x400
[ 40.478538] Enabling non-boot CPUs ...
[ 40.478576] x86: Booting SMP configuration:
[ 40.478576] smpboot: Booting Node 0 Processor 1 APIC 0x2
[ 40.480895] ACPI: \_PR_.C002: Found 2 idle states
[ 40.481556] CPU1 is up
[ 40.481580] smpboot: Booting Node 0 Processor 2 APIC 0x4
[ 40.483871] ACPI: \_PR_.C004: Found 2 idle states
[ 40.485584] CPU2 is up
[ 40.485611] smpboot: Booting Node 0 Processor 3 APIC 0x8
[ 40.487959] ACPI: \_PR_.C006: Found 2 idle states
[ 40.489628] CPU3 is up
[ 40.489652] smpboot: Booting Node 0 Processor 4 APIC 0xa
[ 40.491991] ACPI: \_PR_.C008: Found 2 idle states
[ 40.493681] CPU4 is up
[ 40.493703] smpboot: Booting Node 0 Processor 5 APIC 0xc
[ 40.496041] ACPI: \_PR_.C00A: Found 2 idle states
[ 40.497748] CPU5 is up
[ 40.497772] smpboot: Booting Node 0 Processor 6 APIC 0x1
[ 40.500074] ACPI: \_PR_.C001: Found 2 idle states
[ 40.501837] Spectre V2 : Update user space SMT mitigation: STIBP always-on
[ 40.501841] CPU6 is up
[ 40.501858] smpboot: Booting Node 0 Processor 7 APIC 0x3
[ 40.504167] ACPI: \_PR_.C003: Found 2 idle states
[ 40.505978] CPU7 is up
[ 40.505997] smpboot: Booting Node 0 Processor 8 APIC 0x5
[ 40.508404] ACPI: \_PR_.C005: Found 2 idle states
[ 40.510069] CPU8 is up
[ 40.510119] smpboot: Booting Node 0 Processor 9 APIC 0x9
[ 40.512461] ACPI: \_PR_.C007: Found 2 idle states
[ 40.514050] CPU9 is up
[ 40.514072] smpboot: Booting Node 0 Processor 10 APIC 0xb
[ 40.516431] ACPI: \_PR_.C009: Found 2 idle states
[ 40.518096] CPU10 is up
[ 40.518118] smpboot: Booting Node 0 Processor 11 APIC 0xd
[ 40.520480] ACPI: \_PR_.C00B: Found 2 idle states
[ 40.522162] CPU11 is up
[ 40.523267] ACPI: PM: Waking up from system sleep state S3
[ 40.524048] ACPI: EC: interrupt unblocked
[ 40.526084] ACPI: EC: event unblocked
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: linux-image-
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/seq: jurgen 2599 F.... pipewire
CRDA: N/A
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Fri May 19 10:48:24 2023
InstallationDate: Installed on 2022-10-29 (202 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
MachineType: System manufacturer System Product Name
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 20230323.
RfKill:
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to lunar on 2023-04-12 (36 days ago)
dmi.bios.date: 08/10/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5861
dmi.board.
dmi.board.name: PRIME X470-PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
This change was made by a bot.