Skip to contentSkip to conversation

2.6.9-rc3 software suspend (pmdisk) stopped working

DISCUSSION Mitch 2 participants 2 messages Sep 30, 2004

lore
Share & tools
lore

Mitch

author
#0 lore raw
Quoted 5 lines · Kevin Fenzi

What do you get from:

cat /sys/power/disk
?

Do you mean /sys/power/state ? /sys/power/disk is for powering off the disk ? Anyhow here are both of them

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

Remember this worked fine in -rc2.

Quoted 6 lines

If it says "platform" you might try:

echo "shutdown" > /sys/power/disk

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. :)

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

Cheers
Mitch

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mitch" == Mitch <[email protected]> writes:

Quoted 3 lines · Mitch> Kevin Fenzi <kevin-linux-kernel () scrye ! com> wrote:
Quoted 3 lines

What do you get from:

cat /sys/power/disk ?

Mitch> Do you mean /sys/power/state ? /sys/power/disk is for powering Mitch> off the disk ? Anyhow here are both of them

/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 shutdown ~% cat /sys/power/state
Mitch> standby mem disk

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?

Does it work if you boot with:
acpi=off

Quoted 6 lines
Quoted 6 lines

If it says "platform" you might try:

echo "shutdown" > /sys/power/disk

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. ;)

kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBXDvF3imCezTjY0ERAggZAJ45K56uCqeVpuq73m6T2KZsupiDqQCfbArn vXqp6Gr+G63iTzxhNY7CzTo=
=S6ow
-----END PGP SIGNATURE-----