From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: alan@lxorguk.ukuu.org.uk, linux-kernel@vger.kernel.org
Subject: Re: Direct writing to the IDE on panic?
Date: Fri, 14 Apr 2006 08:52:27 -0700 [thread overview]
Message-ID: <20060414085227.83f73176.rdunlap@xenotime.net> (raw)
In-Reply-To: <Pine.LNX.4.58.0604141048260.11438@gandalf.stny.rr.com>
On Fri, 14 Apr 2006 10:54:19 -0400 (EDT) Steven Rostedt wrote:
>
> On Fri, 14 Apr 2006, Alan Cox wrote:
>
> > 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
> >
>
> Thank you very much for your input Alan!
>
> Now my strength in IDE is not that strong, hence the reason I was asking
> if this was done before. I'd like to look at some examples before I go
> ahead and figure it out on my own. I'm sure that I'm going to need to do
> a rewrite for our specific configuration, but looking at others work might
> make things easier.
>
> Since this is all under GPL (my customer will give all the source to who
> ever they distribute it to), I was hoping to take advantage of free
> software here and not completely reinvent the wheel (and destroying it
> along the way ;)
Rusty Russell had an IDE block dump patch during the 2.4
timeframe IIRC. I don't know where it could be found now.
Maybe in old LKCD tarballs or archives?
---
~Randy
next prev parent reply other threads:[~2006-04-14 15:50 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
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 [this message]
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=20060414085227.83f73176.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=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®