You are not logged in.

#1 2014-08-22 03:30:52

sonofwatt
Member
Registered: 2013-08-29
Posts: 6

Hibernation on Lenovo X220

I'm trying to get hibernation (suspend-to-disk) working on a ThinkPad X220.  I've started to sink a lot time into this problem.  I've tried a bunch of stuff and so far have made no progress.  Calling hibernation seems to write the snapshot alright (though I haven't found any logs to verify that). but when I power back on, it doesn't resume, it boots.  I'm starting to suspect that it shouldn't be this hard: suspend-to-ram has been working fine, right from the beginning.  So maybe it's something particular to thinkpad_acpi.

I've tried uswsusp as well as swsusp.  I've tried moving the order of the '(u)resume' hook around in mkinitcpio.conf.  I've also tried pass the kernel argument as '/dev/sda2' as well as in UUID (double and triple checked).  I also tried hibernate-script from AUR to no avail.  But I haven't been completely methodical.  Perhaps I've missed the winning combination.  The only log event of interest is a failure to find a resume image on the swap partition. 

Any insights?  Any help would be appreciated!

Last edited by sonofwatt (2014-08-22 03:32:36)

Offline

#2 2014-08-22 18:49:24

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: Hibernation on Lenovo X220

Please post:
- your kernel command line
- what command you are using to hibernate
- the size of your swap partition
- your latest hibernation log (sudo journalctl -b -1 if you get a full boot after resuming).

Last edited by Pse (2014-08-22 18:49:45)

Offline

#3 2014-08-23 17:05:28

sonofwatt
Member
Registered: 2013-08-29
Posts: 6

Re: Hibernation on Lenovo X220

Thanks for the help~! 

After taking a fresh look at some config files, there seemed to be an issue with the lts kernel, or some confusion about the kernels in the boot loader configuration.  I don't need linux-lts so: pacman -R linux-lts seems to have clarified things.

Offline

#4 2014-08-24 00:08:55

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Hibernation on Lenovo X220

If this is solved, please mark it so by editing your initial post and putting [solved] in the subject line.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB