[ltp] Hibernate on R50

John M Flinchbaugh linux-thinkpad@linux-thinkpad.org
Thu, 3 Feb 2005 17:20:21 -0500


--+pHx0qQiF2pBVqBT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Feb 03, 2005 at 07:53:44PM +0100, Emmanuel Doguet wrote:
> Hibernate  seem  to  work  with (echo 4 > /proc/acpi/sleep) ... but at
> restart, resume don't work. And the Swap is "bad signature".

you're using swap suspend.  it snapshots your memory and writes it to
your mounted swap partition.

to make the kernel resume from this image, you must specify the location
of this swap partition.

try specifying "resume=3D<your swap partition>" at the lilo prompt or in
an append line in lilo.conf (and run lilo again).  if you're using grub,
i'm not sure how you add to the command prompt there.

to fix your swap partition, just mkswap it again.  then the next time
you suspend, the kernel will fix up your swap for you on resume.
--=20
John M Flinchbaugh
john@hjsoft.com

--+pHx0qQiF2pBVqBT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCAqOlCGPRljI8080RAtkgAJ9Q+B0Zo3ziCbv7i0Cg7B2hTgOIsgCfTBCL
EwUWN3Wv9Ipnz86QC5dXYvo=
=+BNW
-----END PGP SIGNATURE-----

--+pHx0qQiF2pBVqBT--