FS#76579 - [systemd] 252.1-1: systemd-suspend-then-hibernate does not work
Attached to Project:
Arch Linux
Opened by slack3r (slack3r) - Tuesday, 15 November 2022, 07:59 GMT
Last edited by Christian Hesse (eworm) - Friday, 03 March 2023, 14:41 GMT
Opened by slack3r (slack3r) - Tuesday, 15 November 2022, 07:59 GMT
Last edited by Christian Hesse (eworm) - Friday, 03 March 2023, 14:41 GMT
|
Details
Description: system never enter into 'hibernate' mode and
does not resume properly.
Additional info: * package version(s): 252.1-1 Steps to reproduce: - edit /etc/systemd/sleep.conf and set 'HibernateDelaySec=1min'; - call "systemctl suspend-then-hibernate", then wait more than one minute; - try to resume the system. Solution: downgrade to 251.7-4 |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 03 March 2023, 14:41 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 253.1-1
Friday, 03 March 2023, 14:41 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 253.1-1
[1] https://github.com/systemd/systemd/issues/25269
See https://github.com/systemd/systemd/issues/25365
(ArchLinux)User wrote:
"When waking from suspend-then-hibernate, screen comes back on and windows appear but are not interactive."
Same behavior here: screen and keyboard get locked.
FS#77362See: https://github.com/systemd/systemd/issues/26492
Waiting for an official backport, but it seems fine now:
[ 99.680699] PM: suspend entry (deep)
[ 100.389965] ACPI: PM: Preparing to enter system sleep state S3
[ 100.595522] ACPI: PM: Saving platform NVS memory
[ 100.607210] ACPI: PM: Low-level resume complete
[ 100.607249] ACPI: PM: Restoring platform NVS memory
[ 100.612319] ACPI: PM: Waking up from system sleep state S3
[ 101.044250] PM: suspend exit
[ 101.079382] PM: hibernation: hibernation entry
[ 106.368075] PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[ 106.368083] PM: hibernation: Marking nosave pages: [mem 0x0009c000-0x000fffff]
[ 106.368094] PM: hibernation: Marking nosave pages: [mem 0x27f36000-0x27f60fff]
[ 106.368102] PM: hibernation: Marking nosave pages: [mem 0x27fb3000-0x28ce3fff]
[ 106.368317] PM: hibernation: Marking nosave pages: [mem 0x46b82000-0x47ffdfff]
[ 106.368656] PM: hibernation: Marking nosave pages: [mem 0x47fff000-0xffffffff]
[ 106.377768] PM: hibernation: Basic memory bitmaps created
[ 106.378386] PM: hibernation: Preallocating image memory
[ 106.630789] PM: hibernation: Allocated 321560 pages for snapshot
[ 106.630792] PM: hibernation: Allocated 1286240 kbytes in 0.25 seconds (5144.96 MB/s)
[ 106.700555] ACPI: PM: Preparing to enter system sleep state S4
[ 106.910807] ACPI: PM: Saving platform NVS memory
[ 106.922154] PM: hibernation: Creating image:
[ 107.068985] PM: hibernation: Need to copy 310258 pages
[ 107.068987] PM: hibernation: Normal pages needed: 310258 + 1024, available pages: 1507250
[ 106.922327] ACPI: PM: Restoring platform NVS memory
[ 106.928315] ACPI: PM: Waking up from system sleep state S4
[ 109.211902] PM: hibernation: Basic memory bitmaps freed
[ 109.212982] PM: hibernation: hibernation exit
Patch attached.
P.s.
v253 PKGBUILD diff attached.
Builds fine and the issue is gone.