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)
- 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)
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.
If this is solved, please mark it so by editing your initial post and putting [solved] in the subject line.