Re: Problems with APM suspend and ext3

Andrew Morton (akpm@zip.com.au)
Fri, 30 Nov 2001 15:59:03 -0800


Kamil Iskra wrote:
>
> I've long since known that the
> suspends are not completely reliable, even with ext2, particularly if
> there was some disk activity going to right before or during a suspend.

Yup. It seems that your BIOS is being asked to suspend all devices
while there is still disk IO being performed. And it refuses to
suspend because the disk is still active.

The patch I sent you attempts to put a one-seond delay in the
APM suspend function before calling into the BIOS. That _should_
improve your suspend success rate, but there's really not much we
can do to prevent disk IO from being started at any time.

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