Skip to contentSkip to conversation

2.6.9-rc3 software suspend (pmdisk) stopped working

DISCUSSION Mitch 1 participant 1 message Sep 30, 2004

lore
Share & tools
lore

Mitch

author
#0 lore raw
Quoted 9 lines · Kevin Fenzi

/sys/power/disk is for deciding how to do suspend to disk. shutdown = do it with the in kernel code
platform = do it with the BIOS code

Mitch>  ~% cat /sys/power/disk
Mitch>  shutdown
Mitch>  ~% cat /sys/power/state
Mitch>  standby mem disk

Well i've not got 'platform' in my /sys/power/disk, so how do i enable it ?

Quoted 9 lines

Mitch> Remember this worked fine in -rc2.

Yes, but in rc3 the merge between pmdisk and swsusp1 happened. It basically has totally changed between rc2 and rc3.

So, looks like that setting is right.

So if you wait until it's done writing out pages and hard power it off, does it resume?

Well it just continues the script and reenables power to all devices, and starts the network, spins up disk, etc, so i'm not sure it's wise to hard power off. There's no pause inbetween.

Quoted 2 lines

Does it work if you boot with:
acpi=off

I don't use ACPI. My lappie only supports APM. The bios did power off the laptop correctly in -rc2.

Quoted 7 lines
Quoted 2 lines
Quoted 2 lines

I wonder how many of Pavel's speed improvment patches went in with the pmdisk/swsusp merge in rc3? I guess I can try it and see. :)

Mitch> The speed improvement that made it stop working surely went in Mitch> ;-)

Well, thats not one we want. ;)