Skip to content

systemd-hibernate-resume-generator | Call to Hibernate failed: Not enough swap space for hibernation after unable to parse the resume_offset configuration line #28641

@rsramkis

Description

@rsramkis

systemd version the issue has been seen with

254

Used distribution

EndeavourOS \ Arch

Linux kernel version used

6.4.7-zen1-2-zen

CPU architectures issue was seen on

x86_64

Component

other

Expected behaviour you didn't see

The system should go into hibernation when I execute "systemctl hibernate" from terminal.

Unexpected behaviour you saw

On boot I saw the following errors in the journal after upgrading from systemd 253.7 to 254:

Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse resume_offset=36151296..: Invalid argument
Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse kernel command line, ignoring: Invalid argument

I then decided to test the Hibernation by starting it from terminal which failed:

❯ systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation

Note that my swap\hibernation file is 7.5 GB where my physical memory is 16 GB. I did confirm the swap file was still active.

In order to get Hibernation to work again I downgraded to systemd build 253.7 (which was previously installed.

Steps to reproduce the problem

  1. Upgrade from systemd 253.7 to 254 in the Arch Repository.
  2. Reboot the system.
  3. Check the journals and see the error reported:
Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse resume_offset=36151296..: Invalid argument
Aug 01 17:23:42 mani systemd-hibernate-resume-generator[100]: Failed to parse kernel command
  1. Try to hibernate from terminal and get the below error:
❯ systemctl hibernate
Call to Hibernate failed: Not enough swap space for hibernation

Workaround:
Use downgrade to roll back from systemd 254 to 253.7.

Additional program output to the terminal or log subsystem illustrating the issue

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions