* Current kexec status?
@ 2005-07-13 10:48 Ralf Hildebrandt
2005-07-13 12:22 ` Vivek Goyal
0 siblings, 1 reply; 5+ messages in thread
From: Ralf Hildebrandt @ 2005-07-13 10:48 UTC (permalink / raw)
To: linux-kernel
I want to experiment with kexec and my 2.6.13-rc3 kernel. I'm able to
--load the kernel, but on --exec in /etc/init.d/reboot (I replaced the
reboot command in there), the machine freezes.
I'm using kexec-tools-1.101, are there any more patches needed?
--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to spamtrap@charite.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Current kexec status?
2005-07-13 10:48 Current kexec status? Ralf Hildebrandt
@ 2005-07-13 12:22 ` Vivek Goyal
2005-07-13 12:32 ` Ralf Hildebrandt
0 siblings, 1 reply; 5+ messages in thread
From: Vivek Goyal @ 2005-07-13 12:22 UTC (permalink / raw)
To: Ralf Hildebrandt
Cc: linux kernel mailing list, Fastboot mailing list,
Eric W. Biederman
On Wed, Jul 13, 2005 at 12:48:49PM +0200, Ralf Hildebrandt wrote:
> I want to experiment with kexec and my 2.6.13-rc3 kernel. I'm able to
> --load the kernel, but on --exec in /etc/init.d/reboot (I replaced the
> reboot command in there), the machine freezes.
Can you give more details like
- Which distro release you are running.
- Exactly what changes did you do to /etc/init.d/reboot and what steps
did you follow to load the kernel (command line options).
- What do you see on screen? Did the new kernel start booting at all.
- Would be nice if I can get serial console output.
>
> I'm using kexec-tools-1.101, are there any more patches needed?
>
For normal kexec, no. You don't need any more patches.
Thanks
Vivek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Current kexec status?
2005-07-13 12:22 ` Vivek Goyal
@ 2005-07-13 12:32 ` Ralf Hildebrandt
2005-07-13 12:47 ` Ralf Hildebrandt
2005-07-14 5:53 ` Vivek Goyal
0 siblings, 2 replies; 5+ messages in thread
From: Ralf Hildebrandt @ 2005-07-13 12:32 UTC (permalink / raw)
To: linux kernel mailing list
* 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."
> - What do you see on screen? Did the new kernel start booting at all.
Nope, no booting. I get one line of output which I don't remember;
I'll have to retry.
> - Would be nice if I can get serial console output.
Sorry, no serial port here.
--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to spamtrap@charite.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Current kexec status?
2005-07-13 12:32 ` Ralf Hildebrandt
@ 2005-07-13 12:47 ` Ralf Hildebrandt
2005-07-14 5:53 ` Vivek Goyal
1 sibling, 0 replies; 5+ messages in thread
From: Ralf Hildebrandt @ 2005-07-13 12:47 UTC (permalink / raw)
To: linux kernel mailing list
* Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>:
> Nope, no booting. I get one line of output which I don't remember;
> I'll have to retry.
Retried:
"Starting new kernel" -- and that's it!
--
Ralf Hildebrandt (i.A. des IT-Zentrums) Ralf.Hildebrandt@charite.de
Charite - Universitätsmedizin Berlin Tel. +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin Fax. +49 (0)30-450 570-962
IT-Zentrum Standort CBF send no mail to spamtrap@charite.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Current kexec status?
2005-07-13 12:32 ` Ralf Hildebrandt
2005-07-13 12:47 ` Ralf Hildebrandt
@ 2005-07-14 5:53 ` Vivek Goyal
1 sibling, 0 replies; 5+ messages in thread
From: Vivek Goyal @ 2005-07-14 5:53 UTC (permalink / raw)
To: Ralf Hildebrandt; +Cc: linux kernel mailing list, Fastboot mailing list
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-07-14 5:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 10:48 Current kexec status? Ralf Hildebrandt
2005-07-13 12:22 ` Vivek Goyal
2005-07-13 12:32 ` Ralf Hildebrandt
2005-07-13 12:47 ` Ralf Hildebrandt
2005-07-14 5:53 ` Vivek Goyal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox