Re: [lkcd-devel] Re: What's left over.

Alan Cox (alan@lxorguk.ukuu.org.uk)
10 Nov 2002 14:35:13 +0000


On Sun, 2002-11-10 at 02:58, Eric W. Biederman wrote:
> > What I'm trying to say is that I think the new kernel must
> > already be loaded when the panic happens.
> > Is that what you describe later (below)?
>
> Yes that was my meaning. The new kernel must be preloaded.
> And only started on panic.

Another question from the point of view of unifying things. What is
wrong with

insmod kexec
creates /dev/kexec (or kexecfs is you are Al Viro)
hooks the reboot and panic final notifiers
user copies file to /dev/kexec (which stuffs it into ram)

reboot
kexec module handler jumps to the first page of the
kexec data in a defined state assuming its PIC

At which point we have clearly reduced kexec/oops reporter/lkcd/netdump
to a single common tiny interface.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/