makedumpfile-1.2.2: Fix the problem that vmcoreinfo cannot be extracted from ELF32 /proc/vmcore
oomichi at mxs.nes.nec.co.jp
Fri Nov 2 06:35:34 EDT 2007
makedumpfile version 1.2.2 is released.
Please test it. Your opinions/comments are welcome.
Explanation of makedumpfile:
To shorten the size of the dumpfile and the time of creating the
dumpfile, makedumpfile copies only the necessary pages for analysis
to the dumpfile from /proc/vmcore. You can specify the kind of
unnecessary pages with dump_level. If you want to shorten the size
further, enable the compression of the page data.
o Fix the problem that vmcoreinfo cannot be extracted from ELF32 /proc/vmcore.
There was a problem that makedumpfile cannot extract vmcoreinfo from
an ELF32 /proc/vmcore:
# makedumpfile -cd31 /proc/vmcore dumpfile
get_pt_note_info: Can't find PT_NOTE Phdr.
The cause was that makedumpfile checked the address of flag_elf64 instead of
You can download the latest makedumpfile(ver. 1.2.2) from the following URL.
Details of the change are written on the CVS page of the following site.
Method of installation:
You can compile the makedumpfile command as follows;
1. "tar -zxvf makedumpfile-1.2.2.tar.gz"
2. "cd makedumpfile"
3. "make; make install"
makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file
If you want to exclude pages filled by zero, cache pages, user pages
and free pages and to enable compression, please execute the following
# makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile
More information about the kexec