Re: [PATCH] reduce swsusp casting

From: Kevin Fenzi
Date: Thu Jul 29 2004 - 14:31:20 EST


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

>>>>> "Dave" == Dave Hansen <haveblue@xxxxxxxxxx> writes:

Dave> On Wed, 2004-07-28 at 14:20, Dave Hansen wrote:
>> On Wed, 2004-07-28 at 14:07, Patrick Mochel wrote: > I don't
>> understand - have you really tested it or just compile-tested it?
>> > If not, please do try it out for real. There is no reason to be
>> scared of > swsusp, and the more people that use it, the more
>> stable it will get.
>>
>> I'm not scared, just lazy :) I'll give it a shot.

Dave> Well, I tried with both 2.6.8-rc2-mm1 with and without my patch
Dave> and got the exact same results:

Dave> # echo disk > /sys/power/state Stopping tasks: =

Dave> Then it freezes.

Does it work if you do:

echo "shutdown" > /sys/power/disk
echo "disk" > /sys/power/state

?

You might also try using the hibernate script to handle unloading
modules, etc:

http://developer.berlios.de/project/showfiles.php?group_id=1412

(It can handle softwaresuspend2 or the pmdisk /sys/power/state)

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

iD8DBQFBCU1G3imCezTjY0ERAmDXAJ9i1uGiL4IatUh+Y+0BQwFeUtQ5oQCffrXM
Q09L8TP9siOomsR5aWWqMsw=
=IRfk
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/