Bug 24300 - unable to hibernate due to "Wakeup pending" error.
Summary: unable to hibernate due to "Wakeup pending" error.
Status: NEW
Alias: None
Product: ANCK 5.10 Dev
Classification: ANCK
Component: general/others (show other bugs) general/others
Version: 5.10.y-19
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 谭钦云
QA Contact:
URL:
Whiteboard:
Keywords: Regression
Depends on:
Blocks:
 
Reported: 2025-08-27 11:27 UTC by guoqzhan
Modified: 2025-08-27 11:31 UTC (History)
0 users

See Also:


Attachments
the full guest kernel log (64.80 KB, text/plain)
2025-08-27 11:31 UTC, guoqzhan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description guoqzhan 2025-08-27 11:27:25 UTC
Description of problem:
hibernation always fail and abort shortly after running 'systemctl hibernate'.


Version-Release number of selected component (if applicable):
reproduced on alinux kernel 5.10.134-19.1.al8.x86_64 and 5.10.134-18.1.al8.x86_64


How reproducible:
run cmd 'systemctl hibernate'


Steps to Reproduce:
1. start libvirt VM with alinux3 guest name alinux.
2. enable guest console by running following commands in guest.

grubby --update-kernel=/boot/vmlinuz-`uname -r` --args="console=tty0 console=ttyS0,115200n8 ignore_loglevel=Y console_suspend=N no_console_suspend"
grub2-mkconfig -o /boot/efi/EFI/alinux/grub.cfg
reboot

2. run 'systemctl hibernate' in the guest to trigger hibernation
3. run 'virsh console --force alinux' to view the guest kernel log.

Actual results:
hibernation is aborted shortly with error log:
[   40.553528] Wakeup pending. Abort CPU freeze
[   40.553528] Non-boot CPUs are not disabled

full guest kernel log during hibernation:
[   39.928399] PM: hibernation: hibernation entry
[   39.931668] Filesystems sync: 0.002 seconds
[   39.932191] Freezing user space processes ... (elapsed 0.001 seconds) done.
[   39.934331] OOM killer disabled.
[   39.935063] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[   39.935915] PM: hibernation: Marking nosave pages: [mem 0x0009f000-0x000fffff]
[   39.936744] PM: hibernation: Marking nosave pages: [mem 0x7ffde000-0xffffffff]
[   39.938684] PM: hibernation: Basic memory bitmaps created
[   39.939313] PM: hibernation: Preallocating image memory
[   40.450979] PM: hibernation: Allocated 797047 pages for snapshot
[   40.451685] PM: hibernation: Allocated 3188188 kbytes in 0.51 seconds (6251.34 MB/s)
[   40.452575] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[   40.454913] printk: Suspending console(s) (use no_console_suspend to debug)
[   40.544159] Disabling non-boot CPUs ...
[   40.544556] kvm-guest: Unregister pv shared memory for cpu 1
[   40.548098] smpboot: CPU 1 is now offline
[   40.548970] kvm-guest: Unregister pv shared memory for cpu 2
[   40.553106] smpboot: CPU 2 is now offline
[   40.553528] Wakeup pending. Abort CPU freeze
[   40.553528] Non-boot CPUs are not disabled
[   40.553529] Enabling non-boot CPUs ...
[   40.553599] x86: Booting SMP configuration:
[   40.553600] smpboot: Booting Node 0 Processor 1 APIC 0x1
[   40.553757] kvm-clock: cpu 1, msr 54de01041, secondary cpu clock
[   40.554136] kvm-guest: KVM setup async PF for cpu 1
[   40.554141] kvm-guest: stealtime: cpu 1, msr 85f6b7080
[   40.554505] CPU1 is up
[   40.554547] smpboot: Booting Node 0 Processor 2 APIC 0x2
[   40.554664] kvm-clock: cpu 2, msr 54de01081, secondary cpu clock
[   40.555048] kvm-guest: KVM setup async PF for cpu 2
[   40.555053] kvm-guest: stealtime: cpu 2, msr 85f737080
[   40.555406] CPU2 is up
[   40.718207] sd 1:0:0:0: [sda] Starting disk
[   40.718579] usb usb1: root hub lost power or was reset
[   40.718581] usb usb2: root hub lost power or was reset
[   40.725019] virtio_blk virtio5: 16/0/0 default/read/poll queues
[   40.991958] usb 1-1: reset high-speed USB device number 2 using xhci_hcd
[   41.031274] ata3: SATA link down (SStatus 0 SControl 300)
[   41.031395] ata4: SATA link down (SStatus 0 SControl 300)
[   41.031511] ata5: SATA link down (SStatus 0 SControl 300)
[   41.031624] ata2: SATA link down (SStatus 0 SControl 300)
[   41.031745] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   41.031877] ata6: SATA link down (SStatus 0 SControl 300)
[   41.031983] ata1.00: configured for UDMA/100
[   41.138908] PM: hibernation: Basic memory bitmaps freed
[   41.139799] OOM killer enabled.
[   41.140614] Restarting tasks ... done.
[   41.142742] PM: hibernation: hibernation exit

Expected results:
the guest VM can hibernate and power off shortly.


Additional info:

5.10.134-16.5.al8.x86_64 is OK.
Comment 1 guoqzhan 2025-08-27 11:31:09 UTC
Created attachment 1368 [details]
the full guest kernel log