LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2013, 11:30 AM   #1
tux360
LQ Newbie
 
Registered: Oct 2013
Distribution: Debian
Posts: 13

Rep: Reputation: Disabled
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?
 
Old 10-14-2013, 11:30 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
Old 10-14-2013, 12:53 PM   #3
tux360
LQ Newbie
 
Registered: Oct 2013
Distribution: Debian
Posts: 13

Original Poster
Rep: Reputation: Disabled
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
 
Old 10-14-2013, 12:59 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hibernate does not Resume - Slackware 13.37 xp19375 Linux - Newbie 2 01-25-2012 11:07 AM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
DISCUSSION: Mini HOW-TO: Hibernate and resume cwwilson721 LinuxAnswers Discussion 6 04-23-2006 02:49 AM
Mini HOW-TO: Hibernate and resume cwwilson721 Slackware 12 03-13-2006 03:54 PM
Fedora Core 5 T2 resume from hibernate IBall Fedora 0 02-05-2006 09:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration