makedumpfile-1.4.4: Support for LZO compression.

Atsushi Kumagai kumagai-atsushi at
Wed May 30 00:16:44 EDT 2012


makedumpfile version 1.4.4 is released.
Your comments/patches are welcome.

HATAYAMA-san implemented "Support for LZO compression" feature. 
Thanks, HATAYAMA-san.

This feature allows you to compress dump data by each page using 
lzo instead of zlib.

This feature is optional, the user has to prepare lzo library to use
it. Please see the README for more information.

o New feature
   Commits related to "Support for LZO compression"
    - [PATCH v3 1/4] Add LZO Support. (by HATAYAMA Daisuke) 7d6c0cb
    - [PATCH v3 2/4] Avoid LONG_MAX/ULONG_MAX redefinitions. (by HATAYAMA Daisuke) ab9c60b
    - [PATCH v3 3/4] Add help and manual messages about LZO compression support. 
      (by HATAYAMA Daisuke) 5e01993
    - [PATCH v3 4/4] Add build condition for LZO support. (by HATAYAMA Daisuke) b722ff7
   Other commit
    - [PATCH] Support newer kernels. (by Atsushi Kumagai) 4f39edb

o Bugfix
    - [PATCH] sadump: Check if given cpu is online in per-cpu related helper functions. 
      (by HATAYAMA Daisuke) 7844436

    - Send the patch to the LKML to store some symbols in VMCOREINFO.
      (VtoP method for x86 remap allocator needs some symbols that
       relate to remap allocator.)
    - Support newer kernels (Especially DISCONTIGMEM).

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.

  You can download the latest makedumpfile from the following URL.
  Details of the change are written on the git page of the following site.

Method of installation:
  You can compile the makedumpfile command as follows;
  1. "tar -zxvf makedumpfile-x.y.z.tar.gz"
  2. "cd makedumpfile-x.y.z"
  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

Atsushi Kumagai

More information about the kexec mailing list