LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack 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 10.x, Fedora 9, OpenSuSE 11.3, Mythbuntu (Don't know it? Try - it rocks!)
Posts: 225

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 10.x, Fedora 9, OpenSuSE 11.3, Mythbuntu (Don't know it? Try - it rocks!)
Posts: 225

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
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,589

Rep: Reputation: 161Reputation: 161
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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/Novell 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


All times are GMT -5. The time now is 08:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration