From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
To: kexec-ml <kexec@lists.infradead.org>
Cc: Neil Horman <nhorman@redhat.com>, Dan Aloni <da-x@monatomic.org>,
Bernhard Walle <bwalle@suse.de>,
Randy Dunlap <rdunlap@xenotime.net>,
Vivek Goyal <vgoyal@in.ibm.com>, Itsuro ODA <oda@valinux.co.jp>,
Andrew Morton <akpm@linux-foundation.org>
Subject: makedumpfile-1.2.0: Extract vmcoreinfo from /proc/vmcore
Date: Fri, 7 Sep 2007 17:53:05 +0900 [thread overview]
Message-ID: <20070907175305oomichi@mail.jp.nec.com> (raw)
Hi,
makedumpfile version 1.2.0 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 Extract vmcoreinfo from /proc/vmcore.
makedumpfile command extracts the vmcoreinfo data from /proc/vmcore
and uses it for dump filtering. It is a part of the following patchset:
http://lists.infradead.org/pipermail/kexec/2007-August/000521.html
o linux-2.6.23-rc4-mm1 support.
On linux-2.6.23-rc4-mm1, node_states[N_ONLINE] is added instead of
node_online_map. makedumpfile can get the information from it.
o Add the "-d 1" option (skip zero-filled pages) for Xen.
Other dump levels are invalid for Xen.
The patch was provided by Itsuro Oda:
http://lists.infradead.org/pipermail/kexec/2007-August/000490.html
o Add the feature which gets enum number.
makedumpfile can get NR_FREE_PAGES dynamically.
o Some Cleanups
- Cleanup README and comments by Randy Dunlap.
- Cleanup Xen code.
- Cleanup the indents.
- Randomize the filename for the bitmap.
- Unify PAGESHIFT and PAGE_SHIFT() to PAGE_SHIFT() because both
macros have the same content.
You can download the latest makedumpfile(ver. 1.2.0) 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.0.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
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
reply other threads:[~2007-09-07 8:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070907175305oomichi@mail.jp.nec.com \
--to=oomichi@mxs.nes.nec.co.jp \
--cc=akpm@linux-foundation.org \
--cc=bwalle@suse.de \
--cc=da-x@monatomic.org \
--cc=kexec@lists.infradead.org \
--cc=nhorman@redhat.com \
--cc=oda@valinux.co.jp \
--cc=rdunlap@xenotime.net \
--cc=vgoyal@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.