swsusp1 not working

rasmit.ranjan
2005-12-30T04:27:50Z

[-- Attachment #1.1: Type: text/plain, Size: 1679 bytes --]

Hello,
i am new to linux power management system. my requirement is to put
my system in low power mode.
so i tried swsusp1 and suspend2. in my system suspend2 works properly.
but i am getting problem with
swsusp1.
i am using linux-2.6.13.3. stpes i followed for swsusp1 are:
-- compiled my kernel with software suspend,power management and
acpi enabled
-- added the following line to my grub.conf as kernel parameter.
resume=swap:/dev/hdb2 ( /dev/hdb2 is my swap partition )
--executed the following command
echo shutdown > /sys/power/disk
echo disk > /sys/power/state

my system did not suspend and i got the following message ( looking into
dmesg )

PM: suspend-to-disk mode set to 'shutdown'
Freeing memory... ^H-^Hdone (6139 pages freed)
ACPI: PCI interrupt for device 0000:00:0c.0 disabled
PM: Attempting to suspend to disk.
PM: snapshotting memory.
swsusp: FATAL: cannot find swap device, try swapon -a!

then i thought my swap partition is not active. so i executed
"swapon -a" command to do so.
but still i got the same set of messages. i hope my swap space is enough
to store the image as
suspend2 is working properly.
another thing is standby option is working properly.that is when
i executed the following
echo standby > /sys/power/state.
This worked and my system suspended and resumed as well.
so please suggest where things went wrong in doing swsusp1. Thanks in
advance.

Thanks and regards,

Rasmit Ranjan Swain.
Project Engineer.
Semiconductors and Consumer Electronics.
Wipro Technologies.

[-- Attachment #1.2: Type: text/html, Size: 5413 bytes --]