Re: kernel BUG at drivers/ide/ide.c:1384!

From: Alan Cox
Date: Mon Jan 09 2006 - 10:58:14 EST


On Llu, 2006-01-09 at 10:30 -0500, linux-os (Dick Johnson) wrote:
> He might be able to do the same thing with `cat /dev/urandom > /dev/hda`.

Or by taking the lid off and painting it purple with pink spots, but
neither are relevant to the problem at hand.

> There are not a lot of file-system checks against bad data in file-systems.

Nothing to do with the file system

> The '-w' reset will guarantee bad data, which may propagate to the
> file-system(s) in use, causing all kinds of problems. So, the OOPS under
> these conditions is expected.

No. If the locking in the drivers is correct then -w is totally boringly
safe. But the locking isn't. Follow ups should probably go to the
linux-ide list.

Alan

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