You are not logged in.

#1 2015-10-31 04:41:27

nurfz
Member
Registered: 2015-10-31
Posts: 11

# systemctl hibernate -> Sleep verb not supported

When I want to hibernate or hybrid-sleep my system, the following error occurs:

# systemctl hibernate
Failed to put hibernate system via logind: Sleep verb not supported

I have got a swap file and it is activated. Output of this commands:

$ swapon -s
Filename				Type		Size	Used	Priority
/swapfile                              	file    	2097148	0	-1
$ systemctl --type swap
UNIT          LOAD   ACTIVE SUB    DESCRIPTION
swapfile.swap loaded active active /swapfile
...

Any ideas? Thank you!

Offline

#2 2015-10-31 21:06:20

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: # systemctl hibernate -> Sleep verb not supported

In my case, hibernation doesn't work with a swap file, well with a swap partition. I think it might work with a tuxonnice kernel (and passing the correct resume and resume_offset kernel parameters); but I prefer to stay with the official kernel. Anyway, you can try to debug such issues by using the kernel interface directly:

echo -n disk > /sys/power/state

and see what happens

Last edited by olive (2015-10-31 21:31:02)

Offline

#3 2015-11-01 19:24:48

nurfz
Member
Registered: 2015-10-31
Posts: 11

Re: # systemctl hibernate -> Sleep verb not supported

Thank you for your response!

Directly after the first setup of hibernate,

systemctl hibernate

worked! After reboot it stopped working.

systemctl hibernate

does not work (see above) and brings this journal logs:

... polkitd[373]: Registered Authentication Agent for unix-process:15732:234298 (system bus name :1.35 [/usr/bin/pkttyagent --notify-fd 4 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
... polkitd[373]: Unregistered Authentication Agent for unix-process:15732:234298 (system bus name :1.35, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
su

followed by

echo -n disk > /sys/power/state

works half way and brings this log:

... su[27014]: (to jakob) root on none
... su[27014]: pam_unix(su:session): session opened for user jakob by (uid=0)
... laptop_mode[26870]: Device "eth0" does not exist.
... su[27014]: pam_unix(su:session): session closed for user jakob
... laptop_mode[26870]: Cannot find device "eth0"
... kernel: NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
... systemd[1]: Reloaded Laptop Mode Tools.
... kernel: EXT4-fs (sda7): re-mounted. Opts: data=ordered,commit=0
... kernel: perf interrupt took too long (2518 > 2495), lowering kernel.perf_event_max_sample_rate to 50100
... kernel: wlp3s0: AP a0:63:91:1b:c6:54 changed bandwidth, new config is 2462 MHz, width 2 (2452/0 MHz)
... kernel: wlp3s0: AP a0:63:91:1b:c6:54 changed bandwidth, new config is 2462 MHz, width 1 (2462/0 MHz)
... kernel: wlp3s0: AP a0:63:91:1b:c6:54 changed bandwidth, new config is 2462 MHz, width 2 (2452/0 MHz)
... su[29008]: (to root) jakob on pts/0
... su[29008]: pam_unix(su:session): session opened for user root by (uid=1000)

With this command the computer went to hibernate but did not woke up correctly. Only a blank black screen appered.

I don't know what the journal log should tell me...

Last edited by nurfz (2015-11-01 19:25:39)

Offline

Board footer

Powered by FluxBB