Re: Current kexec status?

From: Vivek Goyal
Date: Thu Jul 14 2005 - 00:54:17 EST


On Wed, Jul 13, 2005 at 02:32:39PM +0200, Ralf Hildebrandt wrote:
> * Vivek Goyal <vgoyal@xxxxxxxxxx>:
>
> > Can you give more details like
> > - Which distro release you are running.
>
> Debian unstable; since it has no kexec-tools, I built those from source.
>
> > - Exactly what changes did you do to /etc/init.d/reboot and what steps
> > did you follow to load the kernel (command line options).
>
> /etc/init.d/reboot:
> ===================
>
> echo -n "Rebooting... "
> #reboot -d -f -i
> /usr/local/sbin/kexec -f --exec --debug
>
> Loading the Kernel in /etc/init.d/umountfs, before umount'ing /boot:
> ====================================================================
>
> echo -n "Loading kernel for kexec()..."
> /usr/local/sbin/kexec --load /vmlinuz
> echo "done."
>

Please copy all the mails related to kexec and kdump problems to
fastboot mailing list also (fastboot@xxxxxxxxxxxxxx).

Instead of modifying reboot scripts, first can you try following simple
steps from shell.

1. Load the kernel.
#kexec -l <kernel-image> --append=<boot time options>

2. Drop to run level 3
# init 3

3. Exec into second kernel
# kexec -e


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