Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 01-08-2005, 10:31 PM   #1
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Software suspend and GRUB - swsusp disabled

For reference, I have followed the kernel-HOWTO for compiling kernels in parallel with the software suspend HOWTO at

In the swsusp-howto it indicates that its necessary to append "resume2=swap:/dev/hdc5" as a kernel parameter in lilo.conf (hdc5 is my swap partition).

However, I don't use the LILO bootloader, I use GRUB. So i have the following entry in my /boot/grub/menu.lst file:

title Fedora Core (2.6.9)
        root (hd0,2)
        kernel /vmlinuz-2.6.9 ro root=LABEL=/ rhgb quiet acpi=on resume2=swap:/dev/hdc5
        initrd /initrd-2.6.9.img
However, dmesg has the following:

Software Suspend 2.1.5: Software suspend is disabled.
This may be because you haven't put something along the lines of


in lilo.conf or equivalent. (Where /dev/hda1 is your swap partition).
Has anyone used software suspend with grub? anyone have an idea why this isn't work? I am 90% sure that hdc5 is my swap partition, the following line is in my /etc/fstab

LABEL=SWAP-hdc5         swap                    swap    defaults        0 0

Last edited by adriaanbw; 01-08-2005 at 10:32 PM.
Old 01-17-2005, 09:46 AM   #2
LQ Addict
Registered: Oct 2003
Location: Australia
Distribution: MX 16
Posts: 5,298

Rep: Reputation: Disabled
I know nothing but you may want to look at this

which suggests you have acpi=off?

and this looks hot

if it works can you provide some feedback and I will eventually stick in in my howto......but I am very reluctant to try it myself as I am a dinosaur
Old 01-17-2005, 06:35 PM   #3
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Original Poster
Rep: Reputation: 16
Thanks Aus9, Tell you what... I will try it out this weekend (I recently reinstalled Linux from scratch in a hurry and dont have a custom kernel compiled yet).

An interesting point about the acpi=off. The first link would suggest that it should be off although they were using apm and not acpi. I thought SoftwareSuspend used ACPI.

Then I read the second link and it has a section on the end on controlling ACPI events, such as lid close etc, and assumes you have acpi on. Now by default the acipd service is started at bootup on my system, but I dont necessarily have the acpi=on parameter passed to my kernel. However, if i want to get an accurate battery status, i must have ACPI turned on.

Nevertheless, i will follow the instructions in the link and give it a shot. I may have to sacrifice accurate battery information for software suspend. I guess the only plus in that is that if my battery is running low, i can suspend!!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
swsusp: Suspend partition has wrong signature? slinky2004 Linux - General 0 10-30-2005 12:04 AM
swap + software suspend astrowill Linux - Software 1 03-27-2005 06:34 AM
Software Suspend 2 error VertX Linux - Laptop and Netbook 0 02-08-2005 08:43 AM
Software suspend won't work . iZvi Linux - Software 2 12-05-2004 06:32 AM
Software suspend won't compile jspenguin Linux - Software 0 07-17-2003 02:53 PM > Forums > Linux Forums > Linux - Software

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

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