Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: CAI Qian <caiqian@redhat.com>
To: oomichi@mxs.nes.nec.co.jp
Cc: usui@mxm.nes.nec.co.jp, tindoh@redhat.com,
	kexec@lists.infradead.org, caiqian@redhat.com,
	anderson@redhat.com
Subject: Re: makedumpfile-1.3.4: Support kdump-compressed format for input file.
Date: Sat, 10 Oct 2009 16:51:35 +0800 (CST)	[thread overview]
Message-ID: <20091010.165135.12569232.caiqian@redhat.com> (raw)
In-Reply-To: <4ACEA2A3.5090706@mxs.nes.nec.co.jp>

Hallo Ken'ichi!

From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
Subject: makedumpfile-1.3.4: Support kdump-compressed format for input file.
Date: Fri, 09 Oct 2009 11:40:35 +0900

> 
> Hi,
> 
> makedumpfile version 1.3.4 is released.
> Your comments/patches are welcome.
> 
> Changelog:
>  o New feature
>    - Support kdump-compressed format for input file. (by Takao Indoh)
>       A new makedumpfile can read dumpfile which is kdump-compressed format
>       instead of /proc/vmcore and re-filter it.

Does it need to specify either a vmlinux or vmcoreinfo file?  Got a
failure if not. Note, file vmcore is a full VMCore generated from a
2.6.31 x86_64 kernel and kexec-tools-2.0.0.

# ./makedumpfile -c -d 3 vmcore vmcore.1
...
The dumpfile is saved to vmcore.1
...
# /makedumpfile -c -d 31 vmcore.1 vmcore.2
vmcore.1 doesn't contain vmcoreinfo.
Specify '-x' option or '-i' option.
Commandline parameter is invalid.
Try `makedumpfile --help' for more information.

makedumpfile Failed.

Thanks!
CAI Qian

>    - Add dump filtering on an x86_64 xen domain-0.
>       A new makedumpfile can exclude unnecessary pages (cache pages, user
>       process data pages, and free pages) on on x86_64 xen domain-0.
>    - Save utsname data into disk_dump_header.
>       A new makedumpfile saves utsname data into disk_dump_header.
>       The crash utility can output the data from a dumpfile by 'help -n'.
>    - Add linux-2.6.30 - 2.6.31 support.
> 
>  o Bugfix
>    - Fix some lacks of free(). (by Minoru Usui)
> 
>  o Code Cleanup
>    - Add some comments to code for the readability.
>    - Remove VERSION_LINUX_2_6_XX.
>    - Add paddr_to_pfn() and pfn_to_paddr() macros.
>    - Merge the version information of makedumpfile.
>    - Merge the PT_NOTE methods of both elf64 and elf32.
>    - Reduce some indents in exclude_unnecessary_pages().
>    - Remove unnecessary spaces.
>    - read_disk_dump_header() and read_kdump_sub_header().
>    - Use DISKDUMP_HDADER_BLOCKS for the readability.
> 
> 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
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2009-10-10  8:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-09  2:40 makedumpfile-1.3.4: Support kdump-compressed format for input file Ken'ichi Ohmichi
2009-10-09  8:22 ` Ken'ichi Ohmichi
2009-10-10  8:51 ` CAI Qian [this message]
2009-10-13  1:02   ` Ken'ichi Ohmichi
2009-10-13  5:18     ` [PATCH 0/5] make '-x'/'-i' option unnecessary for re-filtering Ken'ichi Ohmichi
2009-10-13  5:19       ` [PATCH 1/5] Cleanup: Set a meaning value for KDUMP_SUB_HEADER_BLOCKS Ken'ichi Ohmichi
2009-10-13  5:19       ` [PATCH 2/5] Cleanup: Fix some indents in write_kdump_header() Ken'ichi Ohmichi
2009-10-13  5:20       ` {PATCH 3/5] Cleanup: Shorten the declaration name of kdump_sub_header Ken'ichi Ohmichi
2009-10-13  5:20       ` [PATCH 4/5] Store vmcoreinfo data into a kdump-compressed dumpfile Ken'ichi Ohmichi
2009-10-13  5:20       ` [PATCH 5/5] Read vmcoreinfo data from " Ken'ichi Ohmichi
2009-10-16 15:59       ` [PATCH 0/5] make '-x'/'-i' option unnecessary for re-filtering CAI Qian
2009-10-19  5:21         ` Ken'ichi Ohmichi

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=20091010.165135.12569232.caiqian@redhat.com \
    --to=caiqian@redhat.com \
    --cc=anderson@redhat.com \
    --cc=kexec@lists.infradead.org \
    --cc=oomichi@mxs.nes.nec.co.jp \
    --cc=tindoh@redhat.com \
    --cc=usui@mxm.nes.nec.co.jp \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox