mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Direct writing to the IDE on panic?
@ 2006-04-13 13:55 Steven Rostedt
  2006-04-14 14:28 ` Alan Cox
  0 siblings, 1 reply; 8+ messages in thread
From: Steven Rostedt @ 2006-04-13 13:55 UTC (permalink / raw)
  To: LKML

Hi,

I was wondering if anyone has done some work to directly write and poll
to the IDE?  This is to store data on a panic or oops.  So it would need
to bypass pretty much all the normal Linux mechanisms to do low lever
IDE work.

So lets say we have a special partition on a hard drive to be reserved
for just this purpose.  Even set it up to be a swap partition.  So on a
system crash, turn off interrupts, stop all other processors, and then
through polling (to avoid interrupt handling), write as much data as
possible about the state of the machine to this special partition.
After a reboot, this data can then be retrieved for review to see why
the system crashed.

Obviously, this would be a slow process, but the system has crashed and
we care more about retrieving information than speed.

Has this already been done and what issues need to be addressed?

Thanks,

-- Steve



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-04-15 16:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-13 13:55 Direct writing to the IDE on panic? Steven Rostedt
2006-04-14 14:28 ` Alan Cox
2006-04-14 14:27   ` Steven Rostedt
2006-04-14 14:52     ` Alan Cox
2006-04-14 14:54       ` Steven Rostedt
2006-04-14 15:52         ` Randy.Dunlap
2006-04-15 15:05           ` Steven Rostedt
2006-04-15 16:45             ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®