Re: APM crashes when IO is going on

From: Mikulas Patocka
Date: Fri Mar 21 2008 - 17:17:59 EST


> > 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.

> > And why it doesn't?
>
> Hard to tell. You didn't provide much information ...
>
> Thanks,
> Rafael

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