Re: APM "SuspendToDisk" implementation problem

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 24 Nov 1998 02:12:41 +0000 (GMT)


> The problem is that the settings on the harddisk/io-controller are lost
> and the kernel needs to reset them. Of course, you cannot rely on loading

Well actually the APM bios needs fixing

> I think that bios is supposed to make a call before doing suspend. It may
> make sense (as a hack) to explicitly load needed utils into memory before
> allowing it to suspend. Or, better, make kernel default to the safest mode
> w.r.t. disk i.o. and then switch with hdparm. (this will allow apmd
> to load).

The bios is supposed to save the state of stuff. I understood the problem
as being the disk reverted back to dumb mode, in which case presumably you
can at least slowly run hdparm ..

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/