You are not logged in.

#1 2012-12-16 09:45:29

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 90

Systemd Hibernate takes terribly long and reboots instead of poweroff

Hello,

problem as described:
Hibernate itself works perfectly. The RAM gets saved and restored on the (encrypted) swap partition but:
1. hibernate and resume take much too long (>1min) (at least I guess, that its too long)
2. when hibernating, the computer doesnt poweroff but reboots (so I have to shut it down manually)

grub.cfg

linux   /vmlinuz-linux root=UUID=28e02d70-69ae-45c6-88f4-900ff34ce992 ro cryptdevice=/dev/sdb1:root root=/dev/mapper/root resume=/dev/mapper/swap init=/usr/lib/systemd/systemd quiet

fstab

/dev/mapper/swap swap swap defaults 0 0

mkinitcpio.conf

HOOKS="base udev autodetect block usbinput encrypt swap resume filesystems"

swap-hook

# vim: set ft=sh:
run_hook ()
{
    cryptsetup luksOpen /dev/disk/by-uuid/3c7918a0-5cf6-46d9-b698-8a5181c1a635 swap 
}

Does anybody know the problem (and solution)?

Last edited by weltio (2012-12-16 09:45:50)

Offline

#2 2013-02-18 19:00:37

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 430

Re: Systemd Hibernate takes terribly long and reboots instead of poweroff

Hey,

have you got any news on this one? Since switching from hibernate-script to pure systemd-hibernate, I've got the same problem here (when doing hybrid-sleep or hibernate. Suspend works fine)…

System goes to sleep quickly (less than 5s), but then restarts after being off for 1-2 secs…

Offline

#3 2013-03-30 23:27:49

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 90

Re: Systemd Hibernate takes terribly long and reboots instead of poweroff

I couldnt solve the problem itself but used a workaround-script which hibernates without rebooting

echo "shutdown" > /sys/power/disk
echo "disk" > /sys/power/state

However, it doesnt solve the time consumption problem either sad
With another mainboard it goes well so its probably some incompatibility

Offline

Board footer

Powered by FluxBB