APM crashes when IO is going on

From: Mikulas Patocka
Date: Fri Mar 21 2008 - 16:01:24 EST


Hi

> > > > I have an old notebook with APM and I am experiencing occasional APMD
> > > > lockups after resume, with kernels 2.6.25rc1 snd 2.6.25rc3. They didn't
> > > > happen with 2.6.24 or before.
> > > >
> > > > The bug happens about once a week or so.
> > > >
> > > > If you have any idea how to debug it, you can send me a test code.
> > >
> > > It is possible that the bug was fixed in -rc4. Can you please test -rc6 and
> > > see if it's still present?
> > >
> > > Thanks,
> > > Rafael
> >
> > I'm now running on -rc6, so I'll see (it takes some days for the bug to
> > appear). Where is that patch that went to -rc4 and that may fix it?
>
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7a8d37a37380e2b1500592d40b7ec384dbebe7a0
>
> Thanks,
> Rafael

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)

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? And why it doesn't?

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/