Re: [RFC]Kexec based crash dumping

From: Itsuro Oda
Date: Sun Aug 22 2004 - 18:11:57 EST


Hi,

> areas? Will the booting of the dump kernel simply fail?
yes.

The pre-allocation area used by the dump kernel is set
write protection after loading the dump kernel. It protects
from writing through virtual address space, but does not
protect through DMA writing.

Thank you

On Fri, 20 Aug 2004 16:28:40 +0200
Tonnerre <tonnerre@xxxxxxxxxxx> wrote:

> Salut,
>
> On Thu, Aug 19, 2004 at 08:45:00AM +0900, Itsuro Oda wrote:
> > - prepare a kernel which does only dump real memory to block
> > device. ("dump mini kernel")
> > - pre-allocate the memory (4MB is enough) used by the dump mini
> > kernel and pre-load the dump mini kernel.
> > - when crash occur exec the dump mini kernel.
> > - the dump mini kernel stands in and only uses pre-allocated
> > area.
>
> One question, what happens in your concept when some stubborn zombie
> kernel driver (say Nvidia) comes along and overwrites random memory
> areas? Will the booting of the dump kernel simply fail?
>
> Tonnerre

--
Itsuro ODA <oda@xxxxxxxxxxxxx>

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