Grr!

Jeremy Paul Bowers bowersj2@pilot.msu.edu
Mon, 11 Jun 2001 18:08:51 -0400 (EDT)


Ben Pfaff, you said. . .
>As I understand it, this is true for BIOS-assisted
>suspend-to-disk.  But I don't think that BIOS-assisted
>suspend-to-disk is supported by Linux.  Fortunately, it doesn't
>need to be: there is a kernel "hibernation" patch that does this
>without any assistance from hardware or BIOS, and this patch
>works on any hardware.  (In theory at least; I haven't tried it,
>and it's still experimental.)  Google for `linux hibernation
>patch' to find it.

It may be worthwhile to try it anyhow before the patch, though I'm not certain
about all the story here.

I run Linux on a P133 laptop, and I really wanted the suspend-to-disk. I
eventually set it up in the BIOS so that after 20 minutes of being suspended,
it saves everything to the disk (to a DOS parition at the start of the drive)
and shuts off. When next I turn on the computer, Linux comes back off the disk
and life is mostly good. The only problem is that I have to reset the PCMCIA
ports and re-start the network, which was easy; the ethernet babbles something
about "eth0: Too much work at interrupt" otherwise.

You may be able to set up a similar thing if your BIOS supports that kind of
option (suspend+time->suspend to disk).  I don't know, though, because this is
an ancient laptop.  It's running kernel 2.4.4 without any special patches,
though I had identical behavior on the 2.2 series.

--
-----------------------------------------------------
- Jeremy Bowers  jerf@jerf.org  http://www.jerf.org -
- http://irights.editthispage.com :                 -
-   * Eternal Vigilance is the Price of Freedom *   -
-----------------------------------------------------