Skip to contentSkip to conversation

makedumpfile-1.2.5: Follow the changes of page flags

DISCUSSION Ken'ichi Ohmichi 1 participant 1 message Mar 28, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

makedumpfile version 1.2.5 is released. Please test it. Your opinions/comments are welcome.

Changelog:
o New feature
- follow the changes of page flags.
To follow the changes of page flags in linux kernel, a new makedumpfile can get these values from the vmcoreinfo data.
o Code Cleanup
- delete unnecessary flag.
- add create_dumpfile() for readability.
o Bugfix
- fix error return values of vtop().

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.

Download:
You can download the latest makedumpfile(ver. 1.2.5) from the following URL. Details of the change are written on the CVS page of the following site.
https://sourceforge.net/projects/makedumpfile/

Method of installation:
You can compile the makedumpfile command as follows;
1. "tar -zxvf makedumpfile-1.2.5.tar.gz"
2. "cd makedumpfile"
3. "make; make install"

Usage:
makedumpfile [-c] [-E] [-d dump_level] [-x vmlinux] dump_mem dump_file

Example:
If you want to exclude pages filled by zero, cache pages, user pages and free pages and to enable compression, please execute the following command.

  # makedumpfile -c -d 31 -x vmlinux /proc/vmcore dumpfile

Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec