makedumpfile-1.1.5: Xen support

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Fri Jul 27 05:12:43 EDT 2007


Hi,

makedumpfile version 1.1.5 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.


Changelog:
o Add a new feature that extracting the part of xen hypervisor and
  domain-0 from /proc/vmcore. In most cases under xen environment,
  it is enough to analyze a cause of system crash.
  The patch was provided by Itsuro Oda.
  Usage:
    # makedumpfile -E --xen-syms xen-syms /proc/vmcore dumpfile

o Add a new option '-f' to overwrite existing dumpfile.
  The patch was provided by Bernhard Walle.

o Add a new option '--message-level "message-level"'.
  A user can specify multiple message types by setting the sum of each
  message type for "message-level". The default value is '7' (Print
  the progress indicator, common messages, and error messages).
   0: Print nothing.
   1: Print the progress indicator.
   2: Print common messages.
   4: Print error messages.
   8: Print debugging messages.

o Fix the problem that makedumpfile complains about overlapping memory
  segments. On some machines (ia64, discontigmem, and specific machine),
  one pglist_data has overlapping memory segments with other nodes.
  The existing makedumpfile complains about them, and it fails.
  To fix the problem, overlapping memory segments is separated by
  node_memblk. The idea was provided by Bernhard Walle.

o Rename makedumpfile's config file to "vmcoreinfo file".
  http://lists.infradead.org/pipermail/kexec/2007-July/000349.html

o Change the method for getting the kernel's OSRELEASE if generating
  a vmcoreinfo file. A new makedumpfile gets it from a vmlinux file.
  http://lists.infradead.org/pipermail/kexec/2007-July/000319.html

o Some cleanups
  - Cleanup the linux-version checking method.
    The patch was provided by Neil Horman.
  - Cleanup README for the building problem.
  - Cleanup the method for getting the offset of page.mapping.
  - Cleanup the method for reading a vmcoreinfo file.


You can download the latest makedumpfile(ver. 1.1.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.1.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



More information about the kexec mailing list