You are not logged in.

#1 2022-06-23 03:02:52

ImDevinC
Member
Registered: 2016-10-15
Posts: 4

Cannot hibernate twice

I'm having an issue trying to hibernate my laptop more than one time using systemd-hibernate. The first time works great, but anytime after that the computer won't hibernate and I see the following message in the systemctl status:

Jun 22 19:48:19 rowboat systemd-sleep[2781847]: Failed to put system to sleep. System resumed again: No such device

I've attached a journalctl that includes a successful hibernate followed by a failed hibernate dmesg output

× systemd-hibernate.service - Hibernate
     Loaded: loaded (/usr/lib/systemd/system/systemd-hibernate.service; static)
     Active: failed (Result: exit-code) since Wed 2022-06-22 19:48:19 PDT; 2min 10s ago
       Docs: man:systemd-hibernate.service(8)
    Process: 2781847 ExecStart=/usr/lib/systemd/systemd-sleep hibernate (code=exited, status=1/FAILURE)
   Main PID: 2781847 (code=exited, status=1/FAILURE)
        CPU: 749ms

Jun 22 19:48:16 rowboat systemd[1]: Starting Hibernate...
Jun 22 19:48:16 rowboat systemd-sleep[2781847]: Entering sleep state 'hibernate'...
Jun 22 19:48:19 rowboat systemd-sleep[2781847]: Failed to put system to sleep. System resumed again: No such device
Jun 22 19:48:19 rowboat systemd[1]: systemd-hibernate.service: Main process exited, code=exited, status=1/FAILURE
Jun 22 19:48:19 rowboat systemd[1]: systemd-hibernate.service: Failed with result 'exit-code'.
Jun 22 19:48:19 rowboat systemd[1]: Failed to start Hibernate.

I'm also using systemd-boot, which I realize could have some impact. So I'm attaching the output for my boot entry (I only have one) located at /boot/loader/entries/arch.conf

title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=9916992c-d5f9-4a08-9303-1841d3bf0c3a rw
options resume=UUID=531f7970-fda5-4c71-8c3f-d7111ece5ef3
options resume_offset=12353536

Filefrag for the swapfile (it's not a separate partitoin, just a file on my main partition)

filefrag -v /swapfile
Filesystem type is: ef53
File size of /swapfile is 18253611008 (4456448 blocks of 4096 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        0..   32767:   12353536..  12386303:  32768:
   1:    32768..   63487:   16713728..  16744447:  30720:   12386304:
   2:    63488..   92159:   16650240..  16678911:  28672:   16744448:
...

And /etc/fstab

cat /etc/fstab                                                                                                                         [19:57:03]
# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p2
UUID=531f7970-fda5-4c71-8c3f-d7111ece5ef3	/         	ext4      	rw,relatime	0 1

# /dev/nvme0n1p1
UUID=788D-4247	/boot     	vfat      	rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro	0 2

# swapfile
/swapfile	none	swap	defaults 0 0

Thanks in advance for any advice.

Offline

Board footer

Powered by FluxBB