Re: Direct writing to the IDE on panic?

From: Alan Cox
Date: Fri Apr 14 2006 - 10:48:28 EST


On Gwe, 2006-04-14 at 10:27 -0400, Steven Rostedt wrote:
> Nice point. But fortunately, this is for a custom application running on
> an embedded device, such that the data that is on another part of the disk
> (which btw is an IDE flash) is just the application and the rest of the
> OS. So, although a bad write to the disk will cause much more work, it
> wont destroy data that cant be replaced.

If you know the controller as well then you are correct in assuming the
code to do the dump is very simple indeed providing you stick to PIO,
especially if you know the set up is already done before crash

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