Re: Kernel panic on PC with broken hard drive, after DMA errors

From: Alan Cox
Date: Thu Mar 09 2006 - 13:29:08 EST


On Iau, 2006-03-09 at 16:53 +0000, Martin Michlmayr wrote:
> * Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> [2006-03-09 16:45]:
> > Ancient known problem. I'd be interested if you can however break
> > libata and the PATA IDE patches the same way.
>
> I can try, but like I said, the hard drive acts pretty arbitrarily and
> won't always fail when I want it to. Do you know if there's a way to
> trigger the problem? Otherwise I'll just try a couple of times,
> but without a good way to trigger the problem I cannot really say if
> it's gone with libata.

You could try heavy I/O (find / -print type stuff), or if its specific
problem blocks then cp /dev/hda (/dev/sda for libata) /dev/null.

Libata should either error correctly or recover cleanly from the
problems.

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