Re: APM crashes when IO is going on

From: Mikulas Patocka
Date: Fri Mar 21 2008 - 18:53:19 EST


On Fri, 21 Mar 2008, Rafael J. Wysocki wrote:

> On Friday, 21 of March 2008, Mikulas Patocka wrote:
> > > > I found another problem --- present in 2.6.23.1, 2.6.25rc3, 2.6.25rc6
> > > >
> > > > --- when I run three threads concurrently reading raw disk partition and
> > > > suspend, I get 100% reproducible failure. (with one thread running it
> > > > usually succeeds, sometimes fail)
> > >
> > > Are they userland threads or kernel threads?
> >
> > Useland threads. Just dd if=/dev/hda of=/dev/null
> >
> > > > 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?
> > >
> > > That depends on the driver, if I understand your question correctly.
> >
> > The driver is normal IDE.
>
> Do you mean IDE_GENERIC/BLK_DEV_GENERIC?

Compaq Triflex IDE. The computer is Compaq Armada 7400 (Pentium 2/300MHz)

Mikulas

> Rafael
>
--
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/