[Bug 2057687] Re: systemctl hibernate error: "Call to Hibernate failed: Invalid argument"

mash 2057687 at bugs.launchpad.net
Thu Jun 6 11:07:15 UTC 2024


I had successfully enabled Hibernate in Ubuntu 23.10 (using the very
clear tutorial  https://ubuntuhandbook.org/index.php/2021/08/enable-
hibernate-ubuntu-21-10/) but hibernate stopped working on the upgrade to
Ubuntu 24.04 LTS.

At first, I received 
systemctl hibernate error: "Call to Hibernate failed: Invalid argument"
which is the subject of this bug. 

I implemented the maj:min fix recommended in #10 (@dmitry-a-durnev) and
that resolved this error.

But hibernate still fails.  I have the experienced described in #5
(@xstack) and #14 (@jorisjansen). Here is the relevant item from dmesg:


[ 3676.283879] PM: hibernation: Wakeup event detected during hibernation, rolling back.


I do not understand the advice in #5: 


If anyone met the "Wakeup event detected during hibernation, rolling back" problem, change the /etc/modprobe.d/blacklist.conf and add blacklist kernel module, for example:
blacklist intel_hid

FYI.
https://bbs.archlinux.org/viewtopic.php?id=294111
Bug 218634 - Hibernate fails with "Wakeup event detected during hibernation, rolling back"
https://bugzilla.kernel.org/show_bug.cgi?id=218634


Would it please be possible to explain this fix in more detail?  Thank you,

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/2057687

Title:
  systemctl hibernate error: "Call to Hibernate failed: Invalid
  argument"

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  After upgrading systemd to 255(255.2-3ubuntu2) hibernate stopped
  working.

  Trying to hibernate:
  systemctl hibernate

  I get:
  Call to Hibernate failed: Invalid argument

  systemctl status systemd-hibernate.service

  ---------------------------------------------
  × systemd-hibernate.service - Hibernate
       Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
       Active: failed (Result: exit-code) since Tue 2024-03-12 18:48:12 MSK; 1min 33s ago
         Docs: man:systemd-hibernate.service(8)
      Process: 4473 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)
     Main PID: 4473 (code=exited, status=1/FAILURE)
          CPU: 5ms

  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: Starting systemd-hibernate.service - Hibernate...
  мар 12 18:48:12 ASUSPRO-P3540FA systemd-sleep[4473]: Failed to find location to hibernate to: Invalid argument
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
  мар 12 18:48:12 ASUSPRO-P3540FA systemd[1]: Failed to start systemd-hibernate.service - Hibernate.
  --------------------------------------------------

  Previous version (254.x) worked: swapfile(on EXT4 fs) is used to
  hibernate/resume, resume with resume_offset kernel parameters.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2057687/+subscriptions




More information about the foundations-bugs mailing list