lkml.org 
[lkml]   [2005]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Current kexec status?
On Wed, Jul 13, 2005 at 02:32:39PM +0200, Ralf Hildebrandt wrote:
> * Vivek Goyal <vgoyal@in.ibm.com>:
>
> > 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@lists.osdl.org).

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-14 07:57    [from the cache]
©2003-2011 Jasper Spaans