Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #92008
| From | Peter Müller <PeterMueller@ro.ru> |
|---|---|
| Newsgroups | linux.debian.bugs.dist, linux.debian.kernel |
| Subject | Bug#1106668: Info received (Bug#1106668: The PC freezes on waking up from sleep too often) |
| Date | 2026-04-14 04:10 +0200 |
| Message-ID | <MJBnY-eY1K-7@gated-at.bofh.it> (permalink) |
| References | <LvnZL-fAln-9@gated-at.bofh.it> <MJBnY-eY1K-9@gated-at.bofh.it> <KR4fT-67fh-5@gated-at.bofh.it> <MJBnY-eY1K-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
tags 1106668 -moreinfo
thanks
Here is the beginning of my tests so far from an xterm:
# grep CONFIG_PM_DEBUG /boot/config-$(uname -r)
CONFIG_PM_DEBUG=y
# cat /sys/power/pm_test
[none] core processors platform devices freezer
# date && echo freezer > /sys/power/pm_test && echo mem >
/sys/power/state && date
Tue Apr 14 03:06:27 AM CEST 2026
Tue Apr 14 03:06:33 AM CEST 2026
(My comment: In the break above, the mouse became unresponsive for a few
seconds.)
# date && echo devices > /sys/power/pm_test && echo mem >
/sys/power/state && date
Tue Apr 14 03:07:52 AM CEST 2026
Tue Apr 14 03:08:02 AM CEST 2026
(My comment: In the break above, the screen went black for a few seconds.)
# date && echo platform > /sys/power/pm_test && echo mem >
/sys/power/state && date
Tue Apr 14 03:11:32 AM CEST 2026
Tue Apr 14 03:11:41 AM CEST 2026
(My comment: In the break above, the screen went black for a few seconds.)
# date && echo processors > /sys/power/pm_test && echo mem >
/sys/power/state && date
Tue Apr 14 03:13:15 AM CEST 2026
Tue Apr 14 03:13:24 AM CEST 2026
(My comment: In the break above, the screen went black for a few seconds.)
# date && echo core > /sys/power/pm_test && echo mem > /sys/power/state
&& date
Tue Apr 14 03:14:21 AM CEST 2026
Tue Apr 14 03:14:30 AM CEST 2026
(My comment: In the break above, the screen went black for a few seconds.)
# mount -t debugfs none /sys/kernel/debug
cat /sys/kernel/debug/suspend_stats
success: 7
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume_noirq: 0
failed_resume_early: 0
failed_resume: 0
failures:
last_failed_dev:
last_failed_errno: 0
0
last_failed_step:
# date && echo none > /sys/power/pm_test && cat /sys/kernel/debug/suspend_stats && echo mem > /sys/power/state && date
Tue Apr 14 03:25:58 AM CEST 2026
success: 7
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume_noirq: 0
failed_resume_early: 0
failed_resume: 0
failures:
last_failed_dev:
last_failed_errno: 0
0
last_failed_step:
Tue Apr 14 03:26:41 AM CEST 2026
(My comment: Above, the system went to sleep properly until I typed in this message on another machine and hit a key on the keyboard of the machine being debugged.)
# date && cat /sys/kernel/debug/suspend_stats && dmesg | grep -E 'PM:|ACPI|resume|suspend|freeze|thaw|NVS|platform|TRACE' > /tmp/pm-success-dmesg.log && cat /tmp/pm-success-dmesg.log && lsmod | grep -E 'nvidia|nouveau|drm' && cat /proc/acpi/wakeup | grep -E 'enabled|KEY|PWRB|LID'
Tue Apr 14 03:34:06 AM CEST 2026
success: 8
fail: 0
failed_freeze: 0
failed_prepare: 0
failed_suspend: 0
failed_suspend_late: 0
failed_suspend_noirq: 0
failed_resume_noirq: 0
failed_resume_early: 0
failed_resume: 0
failures:
last_failed_dev:
last_failed_errno: 0
0
last_failed_step:
[ 0.156106] ACPI: PM: Registering ACPI NVS region [mem 0x4bc62000-0x4cd7bfff] (17932288 bytes)
[ 0.159626] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[ 0.159626] ACPI: Added _OSI(Module Device)
[ 0.159626] ACPI: Added _OSI(Processor Device)
[ 0.159626] ACPI: Added _OSI(Processor Aggregator Device)
[ 0.178503] ACPI: 4 ACPI AML tables successfully acquired and loaded
[ 0.183507] ACPI: Dynamic OEM Table Load:
[ 0.186655] ACPI: Dynamic OEM Table Load:
[ 0.189798] ACPI: Dynamic OEM Table Load:
[ 0.208469] ACPI: EC: EC started
[ 0.208470] ACPI: EC: interrupt blocked
[ 0.209019] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.209021] ACPI: \_SB_.PC00.LPC0.EC0_: Boot DSDT EC used to handle transactions
[ 0.209023] ACPI: Interpreter enabled
[ 0.209039] ACPI: PM: (supports S0 S3 S4 S5)
[ 0.209040] ACPI: Using IOAPIC for interrupt routing
[ 0.209520] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 0.209896] ACPI: Enabled 7 GPEs in block 00 to 7F
[ 0.224548] ACPI: PCI Root Bridge [PC00] (domain 0000 [bus 00-15])
[ 0.224591] acpi PNP0A08:00: _OSC: platform does not support [SHPCHotplug AER LTR]
[ 0.240805] ACPI: PCI Root Bridge [PC01] (domain 0000 [bus 16-63])
[ 0.240984] acpi PNP0A08:01: _OSC: platform does not support [SHPCHotplug AER LTR]
[ 0.243822] ACPI: PCI Root Bridge [PC02] (domain 0000 [bus 64-b1])
[ 0.243999] acpi PNP0A08:02: _OSC: platform does not support [SHPCHotplug AER LTR]
[ 0.247155] ACPI: PCI Root Bridge [PC03] (domain 0000 [bus b2-ff])
[ 0.247334] acpi PNP0A08:03: _OSC: platform does not support [SHPCHotplug AER LTR]
[ 0.249016] ACPI: PCI: Interrupt link LNKA configured for IRQ 11
[ 0.249050] ACPI: PCI: Interrupt link LNKB configured for IRQ 10
[ 0.249084] ACPI: PCI: Interrupt link LNKC configured for IRQ 14
[ 0.249117] ACPI: PCI: Interrupt link LNKD configured for IRQ 15
[ 0.249151] ACPI: PCI: Interrupt link LNKE configured for IRQ 3
[ 0.249184] ACPI: PCI: Interrupt link LNKF configured for IRQ 5
[ 0.249218] ACPI: PCI: Interrupt link LNKG configured for IRQ 6
[ 0.249251] ACPI: PCI: Interrupt link LNKH configured for IRQ 11
[ 0.249414] ACPI: EC: interrupt unblocked
[ 0.249415] ACPI: EC: event unblocked
[ 0.249419] ACPI: EC: EC_CMD/EC_SC=0x66, EC_DATA=0x62
[ 0.249420] ACPI: EC: GPE=0x16
[ 0.249421] ACPI: \_SB_.PC00.LPC0.EC0_: Boot DSDT EC initialization complete
[ 0.249422] ACPI: \_SB_.PC00.LPC0.EC0_: EC: Used to handle transactions and events
[ 0.249485] PCI: Using ACPI for IRQ routing
[ 0.255551] pnp: PnP ACPI init
[ 0.256545] pnp: PnP ACPI: found 7 devices
[ 0.282043] platform rtc_cmos: registered platform RTC device (no PNP device found)
[ 0.789965] PM: genpd: Disabling unused power domains
[ 0.957186] ACPI: button: Sleep Button [SLPB]
[ 0.957412] ACPI: button: Power Button [PWRB]
[ 0.957555] ACPI: button: Power Button [PWRF]
[ 1.087106] ACPI: bus type drm_connector registered
[ 1.124554] ACPI: bus type USB registered
[ 7.143674] ipmi_si dmi-ipmi-si.0: ipmi_platform: probing via SMBIOS
[ 7.143676] ipmi_platform: ipmi_si: SMBIOS: io 0xca2 regsize 1 spacing 1 irq 0
[ 7.143724] ipmi_si IPI0001:00: ipmi_platform: probing via ACPI
[ 7.143821] ipmi_si IPI0001:00: ipmi_platform: [io 0x0ca2] regsize 1 spacing 1 irq 0
[ 7.143919] ipmi_si dmi-ipmi-si.0: Removing SMBIOS-specified kcs state machine in favor of ACPI
[ 7.143921] ipmi_si: Adding ACPI-specified kcs state machine
[ 7.144006] ipmi_si: Trying ACPI-specified kcs state machine at i/o address 0xca2, slave address 0x20, irq 0
[ 7.169354] input: PC Speaker as /devices/platform/pcspkr/input/input5
[ 7.384067] input: Eee PC WMI hotkeys as /devices/platform/eeepc-wmi/input/input6
[ 8.983510] input: ACPI Virtual Keyboard Device as /devices/virtual/input/input18
[10377.172423] PM: suspend entry (deep)
[10377.416076] PM: suspend debug: Waiting for 5 second(s).
[10382.396063] PM: suspend exit
[10396.294884] PM: suspend entry (deep)
[10396.540281] PM: suspend debug: Waiting for 5 second(s).
[10401.518219] PM: suspend exit
[10419.462688] PM: suspend entry (deep)
[10419.697588] PM: suspend debug: Waiting for 5 second(s).
[10424.673758] PM: suspend exit
[10504.486425] PM: suspend entry (deep)
[10504.712829] printk: Suspending console(s) (use no_console_suspend to debug)
[10506.120434] PM: suspend debug: Waiting for 5 second(s).
[10511.092865] xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
[10511.093159] xhci_hcd 0000:05:00.0: xHC error in resume, USBSTS 0x401, Reinit
[10514.171755] PM: suspend exit
[10723.623892] PM: suspend entry (deep)
[10723.862857] printk: Suspending console(s) (use no_console_suspend to debug)
[10724.723203] ACPI: EC: interrupt blocked
[10724.759520] ACPI: PM: Preparing to enter system sleep state S3
[10725.009022] ACPI: EC: event blocked
[10725.009026] ACPI: EC: EC stopped
[10725.009027] ACPI: PM: Saving platform NVS memory
[10725.009343] PM: suspend debug: Waiting for 5 second(s).
[10729.980240] ACPI: EC: EC started
[10729.980505] ACPI: PM: Waking up from system sleep state S3
[10730.027507] ACPI: EC: interrupt unblocked
[10730.079969] ACPI: EC: event unblocked
[10733.092710] PM: suspend exit
[10826.710993] PM: suspend entry (deep)
[10826.961559] printk: Suspending console(s) (use no_console_suspend to debug)
[10827.804849] ACPI: EC: interrupt blocked
[10827.837513] ACPI: PM: Preparing to enter system sleep state S3
[10828.085806] ACPI: EC: event blocked
[10828.085810] ACPI: EC: EC stopped
[10828.085812] ACPI: PM: Saving platform NVS memory
[10828.144934] PM: suspend debug: Waiting for 5 second(s).
[10833.182539] ACPI: EC: EC started
[10833.182855] ACPI: PM: Waking up from system sleep state S3
[10833.229963] ACPI: EC: interrupt unblocked
[10833.284624] ACPI: EC: event unblocked
[10836.217513] PM: suspend exit
[10892.635960] PM: suspend entry (deep)
[10892.916897] printk: Suspending console(s) (use no_console_suspend to debug)
[10893.933689] ACPI: EC: interrupt blocked
[10893.966265] ACPI: PM: Preparing to enter system sleep state S3
[10894.214377] ACPI: EC: event blocked
[10894.214382] ACPI: EC: EC stopped
[10894.214383] ACPI: PM: Saving platform NVS memory
[10894.257246] PM: suspend debug: Waiting for 5 second(s).
[10899.294010] ACPI: EC: EC started
[10899.294321] ACPI: PM: Waking up from system sleep state S3
[10899.341381] ACPI: EC: interrupt unblocked
[10899.394843] ACPI: EC: event unblocked
[10902.326576] PM: suspend exit
[11590.250239] PM: suspend entry (deep)
[11590.557325] printk: Suspending console(s) (use no_console_suspend to debug)
[11591.600863] ACPI: EC: interrupt blocked
[11591.637184] ACPI: PM: Preparing to enter system sleep state S3
[11591.886031] ACPI: EC: event blocked
[11591.886035] ACPI: EC: EC stopped
[11591.886037] ACPI: PM: Saving platform NVS memory
[11591.936555] ACPI: PM: Low-level resume complete
[11591.936597] ACPI: EC: EC started
[11591.936598] ACPI: PM: Restoring platform NVS memory
[11591.974789] ACPI: PM: Waking up from system sleep state S3
[11592.021103] ACPI: EC: interrupt unblocked
[11592.027881] ACPI: EC: event unblocked
[11592.028059] xhci_hcd 0000:00:14.0: xHC error in resume, USBSTS 0x411, Reinit
[11592.713473] xhci_hcd 0000:65:00.2: xHC error in resume, USBSTS 0x401, Reinit
[11594.040447] PM: suspend exit
nouveau 3055616 39
drm_gpuvm 45056 1 nouveau
drm_exec 12288 2 drm_gpuvm,nouveau
gpu_sched 65536 1 nouveau
video 81920 2 asus_wmi,nouveau
drm_display_helper 274432 1 nouveau
cec 69632 1 drm_display_helper
drm_ttm_helper 16384 2 nouveau
ttm 106496 2 drm_ttm_helper,nouveau
drm_shmem_helper 36864 1 ast
drm_kms_helper 253952 5 ast,drm_shmem_helper,drm_display_helper,drm_ttm_helper,nouveau
drm 774144 26 gpu_sched,drm_kms_helper,drm_exec,drm_gpuvm,ast,drm_shmem_helper,drm_display_helper,drm_ttm_helper,ttm,nouveau
mxm_wmi 12288 1 nouveau
i2c_algo_bit 16384 3 igb,ast,nouveau
wmi 28672 6 video,intel_wmi_thunderbolt,asus_wmi,wmi_bmof,mxm_wmi,nouveau
button 24576 1 nouveau
XHCI S4 *enabled pci:0000:00:14.0
RP01 S4 *enabled pci:0000:00:1c.0
PXSX S4 *enabled pci:0000:05:00.0
RP03 S4 *enabled pci:0000:00:1c.2
RP04 S4 *enabled pci:0000:00:1c.3
RP05 S4 *enabled pci:0000:00:1c.4
RP09 S4 *enabled pci:0000:00:1d.0
RP17 S4 *enabled pci:0000:00:1b.0
RP19 S4 *enabled pci:0000:00:1b.2
PXSX S4 *enabled pci:0000:02:00.0
RP20 S4 *enabled pci:0000:00:1b.3
BR2A S4 *enabled pci:0000:64:00.0
BR3A S4 *enabled pci:0000:b2:00.0
AWAC S4 *enabled platform:ACPI000E:00
During my tests mentioned here, the freeze on wakeup/resume has not been triggered. (However, the freeze still happened several hours earlier when gdm3 was showing its login screen, then automatically went to sleep, and then I tried to wake it up by hitting some key.)
What next? Reboot with some nondefault kernel parameters, or hunt down “xHC error in resume”, or do anything else?
Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread
Bug#1106668: Info received (Bug#1106668: The PC freezes on waking up from sleep too often) Peter Müller <PeterMueller@ro.ru> - 2026-04-14 04:10 +0200
csiph-web