Hibernate / Suspend Not Working - Gnome Power Manager
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.)
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.