[PATCH] Fix vmcoreinfo generation on 32bit hosts for 64bit kernels

Bernhard Walle bwalle at suse.de
Fri Jun 27 07:17:01 EDT 2008

Hi Ken'ichi,

* Ken'ichi Ohmichi [2008-06-27 12:15]:
> Bernhard Walle wrote:
> > This bug fixes the generation of vmcoreinfo files on 32bit hosts for ELF64
> > files, i.e. 64bit kernels. The concrete problem was PPC64 which is built in a
> > 32bit environment at SUSE.
> I have one question.
> I guess that the fundamental problem is that makedumpfile cannot
> use vmcoreinfo which is contained in /proc/vmcore on ppc64, right ?
> If yes, could you please test my attached patch for fixing it.
> I created the kernel patch for adding the symbol "node_data" to
> ppc64's vmcoreinfo, but I cannot tested it because I don't have
> any ppc64 machine.

No, not directly. We still ship the makedumpfile.config. Yes, we plan
to switch to /proc/vmcore vmcoreinfo for next release (SLES 11).

I'll test your patch on PPC and give feedback!

But I think the patch is also valid since makedumpfile.config file is
still supported and should work.

Bernhard Walle, SUSE LINUX Products GmbH, Architecture Development

More information about the kexec mailing list