[RFC] makedumpfile: xen extraction

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Fri Jun 1 05:14:24 EDT 2007


Hi Oda-san,

2007/05/28 10:49:49 +0900, Itsuro ODA <oda at valinux.co.jp> wrote:
>I think the part of xen hypervisor and domain-0 is enough to analyze
>a cause of system crash in almost of all cases under xen environment.
>Thus extracting the part of xen and domain-0 from /proc/vmcore under
>the second kernel is useful to reduce down time.
>
>The attached patch enables makedumpfile to extract the part of xen and
>domain-0 from vmcore.
>I implemented this function as an option of makedumpfile since many
>parts of makedumpfile can be used for implement of this function
>and the aim of this function is same as the aim of makedumpfile.
>
>usage: -X option is added for this funtion. -E and "-x xen-syms" must be
>       specified with -X.
>       "makedumpfile -XE -x xen-syms [-D] vmcore output-vmcore"
>
>This patch is for makedumpfile-1.1.3.
>
>This patch supports x86-PAE and ia64 now.
>(x86 and x86_64 is easy to support. I'd like to get feedbacks before
>implement many architectures.)
>
>The output-vmcore can be analyzed by "crash" command for both of
>xen hypervisor and domain-0.
>
>Your comments are welcome.

Thank you for the xen patch, I'm interested in your patch.
I'd like to separate the command of xen from the makedumpfile command,
because the commandline usage should be simple and the binary file should
be small in 2nd-kernel memory. Please let me know your opinion.


Thanks
Ken'ichi Ohmichi



More information about the kexec mailing list