LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-08-2005, 09:31 PM   #1
adriaanbw
Member
 
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 http://softwaresuspend.berlios.de/index.html.

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:

Code:
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:

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

resume2=swap:/dev/hda1

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

Code:
LABEL=SWAP-hdc5         swap                    swap    defaults        0 0

Last edited by adriaanbw; 01-08-2005 at 09:32 PM.
 
Old 01-17-2005, 08:46 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I know nothing but you may want to look at this
http://lists.emperorlinux.com/piperm...ay/000001.html

which suggests you have acpi=off?

and this looks hot
http://www.cri.ch/linux/docs/sk0011.html

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, 05:35 PM   #3
adriaanbw
Member
 
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!!
 
  


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
swsusp: Suspend partition has wrong signature? slinky2004 Linux - General 0 10-29-2005 11:04 PM
swap + software suspend astrowill Linux - Software 1 03-27-2005 05:34 AM
Software Suspend 2 error VertX Linux - Laptop and Netbook 0 02-08-2005 07:43 AM
Software suspend won't work . iZvi Linux - Software 2 12-05-2004 05:32 AM
Software suspend won't compile jspenguin Linux - Software 0 07-17-2003 01:53 PM

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

All times are GMT -5. The time now is 05:53 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