LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't resume after hibernate (https://www.linuxquestions.org/questions/linux-software-2/cant-resume-after-hibernate-4175480616/)

tux360 10-13-2013 11:30 AM

Can't resume after hibernate
 
Im not sure if "software" is the correct subforum for this but I didn't know where else to put it.

I am running debian wheezy 64 bits on a normal desktop pc (so no laptop). I would like to be able to hibernate this pc (I assume that this is possible also for non-laptops?).

I have a swap partition which is big enough to store my ram and have the option to hibernate in my desktop environment and can also initiate it with "sudo pm-hibernate".
First time I tried it, it looked like it actually hibernated but when I started the pc it just did a normal boot instead of resuming.

After googling a bit I found out that I might have to tell grub2 to resume and where to find the swap partition, so i added this to /etc/default/grub:
GRUB_CMDLINE_LINUX="resume=/dev/disk/by-uuid/b9bf1ffa-312b-4576-9e60-d1626bab93fe"

and updated the grub2 configuration.
Now after a hibernate the system seems to try and load something but I only get a blank terminal with a blinking cursor after selecting debian in grub.
I tried waiting for a couple of minutes to see if something would change but it just seems to be stuck.

any suggestions?

rtmistler 10-14-2013 11:30 AM

Do you know your kernel ACPI configuration options? There are several, and if you can rebuild your kernel, you should consider enabling ACPI debug. CONFIG_ACPI_DEBUG. I can't imagine that ACPI is not enabled for most distributions, but one never knows.

tux360 10-14-2013 12:53 PM

How do I figure out those kernel ACPI configuration options?
It is the default debian wheezy kernel. uname -r gives 3.2.0-4-amd64

rtmistler 10-14-2013 12:59 PM

When you build your kernel, in the top level of your source, there is the .config file which contains all this information. If you're not building your kernel and are just running, I don't know how to determine how it was configured. It seems like that would be something viewable though. I'll see if I can find that out.


All times are GMT -5. The time now is 11:43 PM.