mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: Direct writing to the IDE on panic?
Date: Fri, 14 Apr 2006 15:28:34 +0100	[thread overview]
Message-ID: <1145024914.17531.21.camel@localhost.localdomain> (raw)
In-Reply-To: <1144936547.1336.20.camel@localhost.localdomain>

On Iau, 2006-04-13 at 09:55 -0400, Steven Rostedt wrote:
> 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.

I've seen some 2.4 work here. For 2.6 the current focus is kexec of
course

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

The big issue is 'how am I sure the partition data and code I run are
valid post crash'. You don't want the risk of dumping to the wrong part
of the disk and making a crash into a disaster.



  reply	other threads:[~2006-04-14 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-13 13:55 Steven Rostedt
2006-04-14 14:28 ` Alan Cox [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1145024914.17531.21.camel@localhost.localdomain \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®