You are not logged in.

#1 2014-11-28 03:43:36

kirkaptain
Member
Registered: 2014-11-28
Posts: 3

Hibernate to disk: resume not working

Greetings all.

I have just installed Arch into my new Thinkpad w530 and am having difficulties getting hibernate and resume to work with pm-utils (pm-hibernate). Suspend seems to work just fine with pm-suspend.

I have a swap partition on /dev/sdb2. I am using syslinux as the bootloader. I have appended the kernel parameters with "resume=/dev/sdb2". Here is my current syslinux.conf:
http://pastebin.com/raw.php?i=zGEkHHjD

pm-suspend works flawlessly. pm-hibernate causes the screen to go blank for several seconds, back on again, then the machine to power off. When I turn the machine back on, the system boots, but does not resume to it's previous state. Here is the output of /var/log/pm-suspend.log:
http://pastebin.com/raw.php?i=Lg9e47rF

As you can see, the performing suspend is matched by a resume:

Thu Nov 27 19:05:41 PST 2014: performing suspend
Thu Nov 27 19:06:00 PST 2014: Awake.
Thu Nov 27 19:06:00 PST 2014: Running hooks for resume

however, hibernate is not matched by a resume:

Thu Nov 27 19:07:12 PST 2014: performing hibernate

I found the problem described by a Debian user several year back, but no solution:
http://unix.stackexchange.com/questions … is-working

Any ideas? I've been reading the wiki for most of the day trying to figure this out, but I'm tapped.
Thank you all!

Last edited by kirkaptain (2014-11-28 03:43:53)

Offline

#2 2014-11-28 04:10:56

kirkaptain
Member
Registered: 2014-11-28
Posts: 3

Re: Hibernate to disk: resume not working

Additionally, I have run through the hibernate troubleshooting guide:
http://www.mjmwired.net/kernel/Document … ugging.txt
I can run the commands:

echo core > /sys/power/pm_test
echo shutdown > /sys/power/disk
echo disk > /sys/power/state

With no problems... system blanks out and comes right back.

Last edited by kirkaptain (2014-11-28 04:11:56)

Offline

#3 2014-11-29 03:45:53

kirkaptain
Member
Registered: 2014-11-28
Posts: 3

Re: Hibernate to disk: resume not working

Spent 12+ hours trying to troubleshoot. Tried TuxOnIce and uswsusp... hit a wall. Ultimately, gave up and installed another distro. If I knew there was a fix out there, I might try Arch again. For now, I need to get a functional laptop development environment asap.

Sorry to clog your forums, and thank you again for your patience.

Offline

#4 2014-12-09 23:36:05

skrat
Member
Registered: 2013-05-10
Posts: 39

Re: Hibernate to disk: resume not working

It really depends how you get into hibernation. In my case, it helped to edit /etc/mkinitcpio.conf , and add 'resume' hook.

Offline

#5 2014-12-09 23:59:50

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: Hibernate to disk: resume not working

Did you try systemctl hibernate?

Offline

Board footer

Powered by FluxBB