kexec won't --load-panic a 2.6.22 relocatable kernel?
snitzer at gmail.com
Fri Mar 21 19:54:30 EDT 2008
On Fri, Mar 21, 2008 at 1:32 AM, Simon Horman <horms at verge.net.au> wrote:
> On Wed, Mar 19, 2008 at 02:05:46AM -0400, Mike Snitzer wrote:
> > I'm building a x86_64 2.6.22 kernel with the following options set:
> > CONFIG_KEXEC=y
> > CONFIG_CRASH_DUMP=y
> > CONFIG_RELOCATABLE=y
> > CONFIG_PHYSICAL_START=0x200000
> > If I try to load the kernel with the following I get:
> > ./kexec --args-linux -p '--command-line=ro root=LABEL=/1 rhgb quiet
> > irqpoll maxcpus=1' --initrd=/boot/initrd-188.8.131.52.img
> > /boot/vmlinuz-184.108.40.206
> > ./kexec: unrecognized option `--args-linux'
> > kexec-tools-testing 20080318-rc released 18th March 2008
> > Usage: kexec [OPTION]... [kernel]
> > ...
> > Cannot load /boot/vmlinuz-220.127.116.11
> Hi Mike,
> that looks a lot like a problem with kexec-tools parsing command line
> arguments to me. However I'm not having much luck reproducing it here.
> I'll poke a bit more.
I agree it does look like a parsing bug but if I use the same
commandline with a different kernel (e.g. RHEL5's kernel) kexec
doesn't error out.
> Did you get kexec-tools-testing 20080318-rc as a tarball from
> kernel.org? I just want to make sure we are looking at the same code.
Yes, I got 20080318-rc from kernel.org.
I can provide the problematic vmlinuz offlist if you'd like. I've not
yet had a chance to trace kexec with gdb and really dig into this
More information about the kexec