[PATCH] [makedumpfile] Follow debuginfo link of vmlinux file

Bernhard Walle bwalle at suse.de
Tue May 29 14:42:35 EDT 2007


* Jay Lan <jlan at sgi.com> [2007-05-29 19:44]:
> 
> If i run makedumpfile -x option to produce a dumpfile as below:
>  # makedumpfile -c -d 31 -x VMLINUX VMCORE DUMPFILE
> 
> The size of these files are:
>   16468 -rw-------  1 jlan wheel   16983716 2007-05-29 10:23 DUMPFILE
> 
> 1719048 -r--------  1 jlan wheel 1760303684 2007-05-24 11:35 VMCORE
>   55488 -rwxr-xr-x  1 jlan wheel   56819470 2007-05-24 11:33 VMLINUX
> 
> and crash was able to read and analyze the DUMPFILE together with the
> VMLINUX.
> 
> Now when i used makedumpfile -g option to generate a CONFIGFILE:
> 
>  # makedumpfile -g CONFIGFILE -x VMLINUX
> 
> the size of CONFIGFILE is only 696 bytes. 

And what's the problem? Did you look at the config file? It's not a
.config.

> Besides, makedumpfile failed to generate a DUMPFILE using the
> CONFIGFILE:
> 
>  # makedumpfile -c -d 31 -i CONFIGFILE VMCORE DUMPFILE
>  CONFIGFILE and VMCORE don't match.
> 
>  makedumpfile Failed.

Try to replace the VERSION field of the config file by the version of
the kernel. I have here the behaviour that the VERSION is filled with
the version of the running kernel, not of the kernel for which the
config file is generated. I'm looking into this.


Thanks,
   Bernhard



More information about the kexec mailing list