On Fri, Nov 19, 2004 at 11:05:01AM +0000, Robert Synnott wrote:
> On Fri, 19 Nov 2004 10:16:15 +0000, Brendan Kehoe <brendan at zen.org> wrote:
> > With John Orford's suggestion that it might be the space used for suspending
> > to disk for hibernation, I paid more attention to what it was doing when I'd
> > put it to sleep (echo 3 > /proc/acpi/sleep, or closing the lid after my
> > 'powermanagement' file change). It's apparently putting the image onto the
> > swap partition, perhaps selecting swap since the laptop only has 240Mb of
> > memory (16Mb are used by the Transmeta chip's morphing engine).
> Yep, the modern suspend does that. Any luck getting hardware
> sleep/suspend going, by the way?
Um - Software Suspend (Swsusp-2) is what's called by ACPI sleep level 4
(echo -n 4 > /sys/power/state) ... and will write an image of your RAM
to swap. It'll awake properly once the kernel command includes
resume2=/dev/swapdevice ... (well - most of the time) - add a noresume
to the command line to skip resume and cold-boot.
ACPI sleep level 3 is iffy at best - it's Suspend to RAM - and works in
some cases on the 2.6.N (N > 6) kernels. It's still under heavy
development - and things break and get fixed at breakneck pace. It's
not to be considered stable for most people though.
ACPI doesn't define a 'hardware sleep/suspend' going ... that's APM -
although S4bios is implemented on some dual-stacked (APM and ACPI)
hardware - no guarantee that'll work either - again it relies on a
suspend-to-disk partition being available - the bios takes care of
writing the image to disk and resuming it - but I have only heard of a
few cases where it's worked properly for new hardware.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!