Skip to contentSkip to conversation

makedumpfile-1.3.1: Support linux-2.6.27 and linux-2.6.28.

DISCUSSION Ken'ichi Ohmichi 2 participants 3 messages Nov 27, 2008 – Nov 28, 2008

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

Hi,

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

Changelog:
o New feature
- Support linux-2.6.26 sparsemem on i386.
- Support linux-2.6.27 and linux-2.6.28. (a part by Bernhard Walle)

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 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-x.y.z.tar.gz"
2. "cd makedumpfile-x.y.z"
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

#1 lore raw
Quoted 4 lines · Ken'ichi Ohmichi

Changelog:
o New feature
- Support linux-2.6.26 sparsemem on i386.

BTW: Which option must be enabled for the kernel that this is 'sparsemem', i.e. that this support is needed?

CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_SPARSEMEM_MANUAL
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE

Bernhard

Signature · 6 lines
Bernhard Walle, SUSE Linux Products GmbH, Architecture Development

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

Hi Bernhard,

Quoted 5 lines · Bernhard Walle
Quoted 3 lines · Ken'ichi Ohmichi

Changelog:
o New feature
- Support linux-2.6.26 sparsemem on i386.

Quoted 7 lines

BTW: Which option must be enabled for the kernel that this is 'sparsemem', i.e. that this support is needed?

CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_SPARSEMEM_MANUAL
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE

My kernel .config contains the following items, and I had tested on the kernel.

CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_SPARSEMEM_STATIC=y
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not set

Thanks
Ken'ichi Ohmichi

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