You are not logged in.
Hi,
I use in my Arch Linux hibernation and waking up from hibernation very often. I noticed a bit strange behavior when I switched from kernel 6.4.12 to 6.7.5.
When I was using 6.4.12 everything was working fine but after switch to 6.7.5 every time I'm putting my PC into hibernate state - engine of my HDD turns off and just after that it is powered up.
The same effect occurs when I'm trying to wake up from hibernation: HDD turns off and after that turns on.
Currently I'm using my build of vanilla kernel 6.10.0 and this issue still occurs. I even tried to use newest 6.10.9 build from Arch Linux package. Still the same issue.
Below there is some snippet from dmesg from this PC:
Sep 11 15:48:14 localhost kernel: EXT4-fs (sdc3): re-mounted 74f580dd-0819-46ea-bb1d-761996f80da2 r/w. Quota mode: none.
Sep 11 15:48:14 localhost kernel: PM: hibernation: hibernation entry
Sep 11 15:48:14 localhost kernel: Filesystems sync: 0.001 seconds
Sep 11 15:49:30 localhost kernel: Freezing user space processes
Sep 11 15:49:30 localhost kernel: Freezing user space processes completed (elapsed 0.001 seconds)
Sep 11 15:49:30 localhost kernel: OOM killer disabled.
Sep 11 15:49:30 localhost kernel: PM: hibernation: Preallocating image memory
Sep 11 15:49:30 localhost kernel: PM: hibernation: Allocated 766253 pages for snapshot
Sep 11 15:49:30 localhost kernel: PM: hibernation: Allocated 3065012 kbytes in 0.36 seconds (8513.92 MB/s)
Sep 11 15:49:30 localhost kernel: Freezing remaining freezable tasks
Sep 11 15:49:30 localhost kernel: Freezing remaining freezable tasks completed (elapsed 0.001 seconds)
Sep 11 15:49:30 localhost kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Sep 11 15:49:30 localhost kernel: serial 00:04: disabled
Sep 11 15:49:30 localhost kernel: parport_pc 00:02: disabled
Sep 11 15:49:30 localhost kernel: ata2.00: Entering standby power mode
Sep 11 15:49:30 localhost kernel: ata4.00: Entering standby power mode
Sep 11 15:49:30 localhost kernel: ata1.00: Entering standby power mode
Sep 11 15:49:30 localhost kernel: ACPI: PM: Preparing to enter system sleep state S4
Sep 11 15:49:30 localhost kernel: ACPI: PM: Saving platform NVS memory
Sep 11 15:49:30 localhost kernel: Disabling non-boot CPUs ...
Sep 11 15:49:30 localhost kernel: smpboot: CPU 1 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 2 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 3 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 4 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 5 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 6 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 7 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 8 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 9 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 10 is now offline
Sep 11 15:49:30 localhost kernel: smpboot: CPU 11 is now offline
Sep 11 15:49:30 localhost kernel: PM: hibernation: Creating image:
Sep 11 15:49:30 localhost kernel: PM: hibernation: Need to copy 756937 pages
Sep 11 15:49:30 localhost kernel: ACPI: PM: Restoring platform NVS memory
Sep 11 15:49:30 localhost kernel: Enabling non-boot CPUs ...
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Sep 11 15:49:30 localhost kernel: CPU1 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Sep 11 15:49:30 localhost kernel: CPU2 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Sep 11 15:49:30 localhost kernel: CPU3 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Sep 11 15:49:30 localhost kernel: CPU4 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Sep 11 15:49:30 localhost kernel: CPU5 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 6 APIC 0x1
Sep 11 15:49:30 localhost kernel: CPU6 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 7 APIC 0x3
Sep 11 15:49:30 localhost kernel: CPU7 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 8 APIC 0x5
Sep 11 15:49:30 localhost kernel: CPU8 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 9 APIC 0x7
Sep 11 15:49:30 localhost kernel: CPU9 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 10 APIC 0x9
Sep 11 15:49:30 localhost kernel: CPU10 is up
Sep 11 15:49:30 localhost kernel: smpboot: Booting Node 0 Processor 11 APIC 0xb
Sep 11 15:49:30 localhost kernel: CPU11 is up
Sep 11 15:49:30 localhost kernel: ACPI: PM: Waking up from system sleep state S4
Sep 11 15:49:30 localhost kernel: usb usb1: root hub lost power or was reset
Sep 11 15:49:30 localhost kernel: usb usb2: root hub lost power or was reset
Sep 11 15:49:30 localhost kernel: usb usb3: root hub lost power or was reset
Sep 11 15:49:30 localhost kernel: usb usb4: root hub lost power or was reset
Sep 11 15:49:30 localhost kernel: parport_pc 00:02: activated
Sep 11 15:49:30 localhost kernel: serial 00:04: activated
Sep 11 15:49:30 localhost kernel: sd 0:0:0:0: [sda] Starting disk
Sep 11 15:49:30 localhost kernel: sd 1:0:0:0: [sdb] Starting disk
Sep 11 15:49:30 localhost kernel: sd 3:0:0:0: [sdc] Starting disk
Sep 11 15:49:30 localhost kernel: ata5: SATA link down (SStatus 4 SControl 300)
Sep 11 15:49:30 localhost kernel: ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Sep 11 15:49:30 localhost kernel: ata3: SATA link down (SStatus 4 SControl 300)
Sep 11 15:49:30 localhost kernel: ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ata6: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Sep 11 15:49:30 localhost kernel: ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT0._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT0._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT3._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ata1.00: configured for UDMA/133
Sep 11 15:49:30 localhost kernel: ata1.00: Entering active power mode
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT5._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT5._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT1._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT1._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ata2.00: supports DRM functions and may not be fully accessible
Sep 11 15:49:30 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT5._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:30 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT5._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:30 localhost kernel: ata6.00: configured for UDMA/100
Sep 11 15:49:30 localhost kernel: ata2.00: configured for UDMA/133
Sep 11 15:49:30 localhost kernel: ata2.00: Entering active power mode
Sep 11 15:49:30 localhost kernel: ahci 0000:00:17.0: port does not support device sleep
Sep 11 15:49:30 localhost kernel: ata2.00: Enabling discard_zeroes_data
Sep 11 15:49:30 localhost kernel: usb 1-10: reset low-speed USB device number 2 using xhci_hcd
Sep 11 15:49:30 localhost kernel: OOM killer enabled.
Sep 11 15:49:30 localhost kernel: Restarting tasks ... done.
Sep 11 15:49:30 localhost kernel: PM: hibernation: hibernation exit
Sep 11 15:49:30 localhost kernel: EXT4-fs (sdc3): re-mounted 74f580dd-0819-46ea-bb1d-761996f80da2 r/w. Quota mode: none.
Sep 11 15:49:31 localhost kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.SAT0.PRT3._GTF.DSSP], AE_NOT_FOUND (20240322/psargs-330)
Sep 11 15:49:31 localhost kernel: ACPI Error: Aborting method \_SB.PCI0.SAT0.PRT3._GTF due to previous error (AE_NOT_FOUND) (20240322/psparse-529)
Sep 11 15:49:31 localhost kernel: ata4.00: configured for UDMA/133
Sep 11 15:49:32 localhost kernel: e1000e 0000:00:1f.6 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
As can be seen there are some errors from ACPI reported.
I already have newest version of the BIOS for mainboard. The mainboard is: Gigabyte Z370 HD3P.
Anybody knows what is going on? Why my HDD is powered off and then powered on?
Last edited by wtx (2024-10-15 14:34:08)
Offline
Please use Code Tags and Pos the complete system Journal after waking from hibernation to illustrate the context of what's Happening when - If the Disk ist powered, the system isn't hibernated.
Offline
Here is dmesg from my today's start: https://justpaste.it/e7qlm
Ok, let me describe the issue with more details.
Hibernation process:
1. in shell I type: "pm-hibernate"
2. kernel is preparing system to hibernation
3. hdd is powered off and immediately powered on - it takes about one second or less to do the power switch
4. kernel is saving mem image to swap partition
5. PC and HDD are powered off
Waking up process:
1. my PC and HDD are powered off, I'm pressing any key on my keyboard so it is powering up my PC
2. kernel is starting, recognizes that there is mem image on swap and starting to load it
3. hdd is powered off and immediately powered on - it takes about one second or less to do the power switch
4. system is ready to use and working fine
So to sum up - in both processes described above the problematic step is the step 3.
If the Disk ist powered, the system isn't hibernated.
After the hibernation HDD is in most cases turned off. It is very rare situation when the HDD is still powered on while the rest of hardware (CPU, etc) is already off, but probably it is some other issue.
Offline
Please post the system journal for userspace context and please don't use that pastebin service - it gets you html or a pdf…
sudo journalctl -b | curl -F 'file=@-' 0x0.st
So the system is hibernating but the problem is that the HDD gets spuriously powered off (and then on again, likely to store the hibernation image - tough it's not clear since there're quite some)
How do you btw. assess this, is it noise or some LED? Are we talking about a USB attached device?
Offline
The issue was in kernel and has already been fixed in v6.12-rc3.
Offline