Re: APM crashes when IO is going on

From: Pavel Machek
Date: Tue Mar 25 2008 - 10:43:38 EST


Hi!

> > > Either the on-going I/O will jam BIOS and I need to remove power to
> > > continue.
> > >
> > > Or the machine suspends, wakes up and reports "hda: lost interrupt"
> > > (2.6.23.1 was able to recover from this condition, 2.6.25rc3,6 does not
> > > recover and it is not able to send any more disk IOs).
> > >
> > > How is suspending disk IO supposed to work?

Suspending IO is not supposed to be needed in APM case, try ACPI.

(We could work around this.. You should be able to reuse
kernel/power/main.c to stop all user processes, then stop the
drivers...)

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/