Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] No resume from hibernate with systemd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 153

PostPosted: Sat May 24, 2014 9:37 pm    Post subject: [solved] No resume from hibernate with systemd? Reply with quote

Does anyone have hibernate working properly with systemd?

I followed the instructions here http://alonbl.wikinet.org/wiki/Gentoo/Suspend_To_Disk_Using_uswsusp_and_genkernel to generate the initramfs.

My boot command line looks like this:
ro root=/dev/md22 domdadm rootfstype=ext4 real_init=/usr/lib/systemd/systemd initrd=initramfs-genkernel-x86_64-3.12.13-gentoo resume=/dev/md23

And I have the same resume partition specified in the kernel too.

I have invoked hiberate in various ways including "systemctl hibernate". They all seem to work.

However, when I boot up, it just boots normally. No resume. Looking at the syslog output (/var/log/messages) I see no evidence that it even tried to resume.


Last edited by ese002 on Fri Jun 20, 2014 4:29 am; edited 1 time in total
Back to top
View user's profile Send private message
ese002
Apprentice
Apprentice


Joined: 20 Sep 2006
Posts: 153

PostPosted: Fri Jun 20, 2014 4:29 am    Post subject: Reply with quote

It looks like I missed the overlay when running genkernel. Once I redid that part, hibernate started to work. Of course, now I have other problems but the basic hibernate procedure is now working reliably so this thread is solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum