[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    Re: Problems with APM suspend and ext3
From:       Andrew Morton <akpm () zip ! com ! au>
Date:       2001-11-30 23:59:03
[Download RAW message or body]

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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic