LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2007, 10:19 AM   #1
ls37
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Rep: Reputation: 0
Hibernate / Suspend Not Working - Gnome Power Manager


Hi,

I am having trouble getting my system to hibernate or suspend. I'm running Debian Etch on a Pentium 4 CPU w/ hyperthreading (shows up as 2 CPUs).

When the system tries to go into Hibernate (using Gnome Power Manager), the screen goes black for a moment, then comes back on. However, at this point nothing works when I try to launch any application and I have to restart.

I have checked the /var/log/syslog after this happens, and the sleep process stalls after the line:

"SMP Alternatives: Switching to UP Code"

I have tried some solutions I found by searching internet, among them enabling Frequency Scaling and changing the Frequency Scaling Governor to "Performance" or "Powersave". Neither of these worked.

I also tried switching the sleep mode in BIOS from "S1" to "S3", which changes my "Hibernate" option to "Suspend". When I set the system to Suspend, the exact same thing happens. Changing the Frequency Scaling Governor did not work with this either.

I also tried disabling Hyperthreading in BIOS. I get the same results when trying to Sleep.

I have run out of options that I can think of. Does anyone have any other ideas?

Thanks
 
Old 12-16-2007, 01:14 PM   #2
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
Did you find these posts? Looks like you aren't alone.

http://www.mail-archive.com/debian-k.../msg28755.html

http://www.mail-archive.com/linux-ac.../msg09596.html
 
Old 12-23-2007, 01:19 PM   #3
ls37
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Bump. I was still unable to fix the problem. Any other suggestions?
 
Old 12-23-2007, 04:09 PM   #4
Unknown_User
Member
 
Registered: Jan 2003
Location: EU (UK)
Distribution: Ubuntu 14.x, Raspbian, Kali
Posts: 226

Rep: Reputation: 30
What version of kernel are you using? Have you tried moving to the latest version (2.6.23.12 at the time of writing)?

(Type "% uname -r" in a shell to find out)

I'm not sure if this has been addressed in later kernel releases but it seems to be an issue in and around 2.6.18.3. SMP switching being a kernel issue it has to be worth a try. (I run the above kernel in Fedora 8 on a dual core machine without a hibernate issue.)

If you haven't compiled a kernel before then there's a useful guide at http://www.debianhelp.co.uk/kernel2.6.htm
 
Old 12-23-2007, 04:59 PM   #5
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Try this page http://en.opensuse.org/S2ram
Also, you need the parameter 'resume=/dev/hdax' for suspend to disk,
In the kernel line in '/boot/grub/menu.lst', where '/dev/hdax' is a swap partition, and x is a number. You can try 'fdisk -l /dev/hda' to find the swap partition.
 
Old 12-30-2007, 01:14 PM   #6
ls37
LQ Newbie
 
Registered: Dec 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help. I did notice something when I disabled hyperthreading. The same thing happens (hibernate fails and freezes), but the last line of the syslog is different. It hangs on the line "sky2 eth0: disabling interface". I am currently using a wireless network.

I think I am going to try to upgrade the kernel because I have read that sky2 has had a lot of patches between 2.6.18-4-686 (what I am running now) and the latest kernel. I have just been hesitant to do so becuase this will mean I will have to reinstall the NVIDIA driver for my graphics card and I have had a hard time with that.
 
  


Reply

Tags
hibernate, kernel, smp



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
how to configure gnome suspend and hibernate? xaos5 Debian 6 02-19-2010 10:36 AM
Power Saving Modes (Hibernate vs Suspend) carlosinfl Linux - General 3 06-29-2007 09:19 AM
hibernate, suspend, is it safe to unplug mains power when battery in? lugoteehalt Linux - Laptop and Netbook 8 03-08-2007 07:58 AM
Wireless not working after suspend/hibernate fatbeaver SUSE / openSUSE 9 04-26-2006 02:16 PM
battery meter not working - GNOME Power Manager 0.2.8.1 Jup Linux - Laptop and Netbook 0 11-15-2005 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:06 PM.

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