All of lore.kernel.org
 help / color / mirror / Atom feed
* kexec won't --load-panic a 2.6.22 relocatable kernel?
@ 2008-03-19  6:05 Mike Snitzer
  2008-03-21  5:32 ` Simon Horman
  0 siblings, 1 reply; 7+ messages in thread
From: Mike Snitzer @ 2008-03-19  6:05 UTC (permalink / raw)
  To: kexec

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-2.6.22.19.img
/boot/vmlinuz-2.6.22.19

./kexec: unrecognized option `--args-linux'
kexec-tools-testing 20080318-rc released 18th March 2008
Usage: kexec [OPTION]... [kernel]
...
Cannot load /boot/vmlinuz-2.6.22.19

Now if I remove --args-linux kexec successfully loads the panic kernel
but when I trigger a crash it just loads the kernel and doesn't
actually perform a kdump.  So this proves the relocatable nature of
the kernel is working right?  Its just not passing args as would be
needed to trigger a crash dump?

If I use the same commandline above (--args-linux included) with a
RHEL5U1 kernel kexec will load the panic kernel without problems and
kdump will work when I enduce a crash.

So long story short:  is there some fix that went in upstream after
2.6.22 was released that would enable kexec to load a relocatable
x86_64 kernel with the --args-linux option?  Nothing stands out to me
but I could easily be overlooking something...

Mike

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-02 17:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-19  6:05 kexec won't --load-panic a 2.6.22 relocatable kernel? Mike Snitzer
2008-03-21  5:32 ` Simon Horman
2008-03-21 23:54   ` Mike Snitzer
2008-03-24  8:29   ` Simon Horman
2008-03-24 14:18     ` Mike Snitzer
2008-03-24 15:22       ` Mike Snitzer
2008-04-02 17:26         ` Vivek Goyal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.