From: Martin Pool <mbp@samba.org>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Dump driver module
Date: Wed, 14 May 2003 02:32:17 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590723705772@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590723705751@msgid-missing>
On 13 May 2003, David Mosberger <davidm@napali.hpl.hp.com> wrote:
> It strikes me that for a really reliable crash-dump, you'd want to
> read _all_ the bits needed to do the dumping from ROM.
But you also need to know which disk to write to, and where. And
presumably "which disk" actually means knowing the PCI path to the
SCSI host adapter, and then the path to the disk. "Where" might be
just the index of start block, if you reserved a contiguous partition,
or it might be more complex. If any of this got screwed up, you might
write your dump over /home instead -- and then rather than a possibly
once-off kernel crash, you've lost lots of data.
So for a really reliable dump, you'd want to check and "lock down"
these variables at startup into a region of memory not easily changed
by the kernel, and accessible by EFI. NVRAM? I don't know if there's
anything suitable on IPF.
It would be an interesting project, although since network dumps run a
lower risk of clobbering filesystems they're probably a smarter
design. It would be cool to do it in EFI, if that's possible.
> Assuming you have a (minimal) disk driver/network driver written in
> EFI byte code, all you'd need is the EFI byte-code interpreter which
> hopefully would fit in a fixed (and reasonable) amount of space.
> Hence you could reserve some memory for this purpose and on a crash,
> load the byte-code interpreter from ROM and get going that way.
--
Martin
next prev parent reply other threads:[~2003-05-14 2:32 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-13 7:02 [Linux-ia64] Dump driver module Bruno Vidal
2003-05-13 7:18 ` Stephane Eranian
2003-05-13 7:25 ` David Mosberger
2003-05-13 7:38 ` Bruno Vidal
2003-05-13 8:08 ` David Mosberger
2003-05-13 13:29 ` Howell, David P
2003-05-13 14:39 ` Bruno Vidal
2003-05-14 2:13 ` Keith Owens
2003-05-14 2:14 ` Martin Pool
2003-05-14 2:21 ` David Mosberger
2003-05-14 2:32 ` Martin Pool [this message]
2003-05-14 2:40 ` David Mosberger
2003-05-14 6:33 ` Grant Grundler
2003-05-14 6:50 ` Bruno Vidal
2003-05-14 13:29 ` Matthew Wilcox
2003-05-14 15:41 ` Grant Grundler
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=marc-linux-ia64-105590723705772@msgid-missing \
--to=mbp@samba.org \
--cc=linux-ia64@vger.kernel.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