"Hearty AOL" for kexec

From: Pavel Roskin (proski@gnu.org)
Date: Wed Oct 23 2002 - 08:47:27 EST


I have tested the latest kexec patch (linux-2.5.44.x86kexec.diff) with
the kernel 2.5.44. It works for me on AOpen AK-33 motherboard with 1GHz
Athlon. I tried the same kernel and 2.4.20-pre10.

I really want to see this feature in the kernel. It is very useful in
embedded systems. Just imagine loading the bootstrap kernel, then
downloading the new kernel over anything - HDLC, 802.11, USB, decrypting
it from flash etc. Possibilities are infinite.

Believe me, this code is needed, and there will be kernel hackers using
it, so if anything needs fixing, it will be fixed by people who know to
fix it. It will be more an asset than a responsibility for the kernel

That said, I don't like the name kexec, and especially the work "execing"
in arch/i386/config.in. I think "in-kernel bootloader" or something like
that would be better. It is a reboot after all.

Little fix: there is no need to add kexec.o twice to obj-$(CONFIG_KEXEC)
in kernel/Makefile - it causes rebuilding kexec.o on every make. One time
is enough.

Little bug (missing feature): I cannot execute memtest.bin

./kexec /boot/memtest.bin
read error: Success
Cannot determine the file type of /boot/memtest.bin

I'm using kexec-tools-1.2. The rest of the system is Red Hat 8.0.

Pavel Roskin

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

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:01:04 EST