All of lore.kernel.org
 help / color / mirror / Atom feed
* makedumpfile-1.1.6: linux-2.6.22 support
@ 2007-08-13  2:18 Ken'ichi Ohmichi
  2007-08-17 22:15 ` Akira Imamura
  0 siblings, 1 reply; 2+ messages in thread
From: Ken'ichi Ohmichi @ 2007-08-13  2:18 UTC (permalink / raw)
  To: kexec-ml; +Cc: Akira Imamura


Hi,

makedumpfile version 1.1.6 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:

Changelog:
o linux-2.6.22 support.
  The method for getting the member offset of "page.mapping" is
  applied for linux-2.6.22.
  Old makedumpfile assumed that there was "mapping" in the first
  union in structure "page". But on linux-2.6.22, there is "mapping"
  in the second union, because "_mapcount" and structure for slub
  are packed in the first union. Then, new makedumpfile gets the
  offset by searching "mapping" in each union.

o Change the check method of free_pages for linux-2.6.21 or later.
  On linux-2.6.21 or later, the number of free_pages (vm_stat[0])
  is sometimes different from the one of the pages listed in
  "free_area" actually, because the former is flushed asynchronously.
  Then, new makedumpfile doesn't check these numbers, and confirms
  the free_pages only by checking whether the list "free_area" is
  not corrupted.

o Some cleanups
  - Cleanup the description for '--message-level' by Akira Imamura.
  - Cleanup the structures DumpInfo and vm_table.
  - Cleanup the dwarf method.
  - Cleanup page_to_pfn() method.


You can download the latest makedumpfile(ver. 1.1.6) 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.6.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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: makedumpfile-1.1.6: linux-2.6.22 support
  2007-08-13  2:18 makedumpfile-1.1.6: linux-2.6.22 support Ken'ichi Ohmichi
@ 2007-08-17 22:15 ` Akira Imamura
  0 siblings, 0 replies; 2+ messages in thread
From: Akira Imamura @ 2007-08-17 22:15 UTC (permalink / raw)
  To: Ken'ichi Ohmichi; +Cc: RH Imamura, kexec-ml

Hi Ohmichi-san,

I'm sorry for my late reply.

> o Some cleanups
>  - Cleanup the description for '--message-level' by Akira Imamura.

Thank you for applying it. I verified the latest package.

Thanks,
Akira Imamura

>
> Hi,
>
> makedumpfile version 1.1.6 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:
>
> Changelog:
> o linux-2.6.22 support.
>  The method for getting the member offset of "page.mapping" is
>  applied for linux-2.6.22.
>  Old makedumpfile assumed that there was "mapping" in the first
>  union in structure "page". But on linux-2.6.22, there is "mapping"
>  in the second union, because "_mapcount" and structure for slub
>  are packed in the first union. Then, new makedumpfile gets the
>  offset by searching "mapping" in each union.
>
> o Change the check method of free_pages for linux-2.6.21 or later.
>  On linux-2.6.21 or later, the number of free_pages (vm_stat[0])
>  is sometimes different from the one of the pages listed in
>  "free_area" actually, because the former is flushed asynchronously.
>  Then, new makedumpfile doesn't check these numbers, and confirms
>  the free_pages only by checking whether the list "free_area" is
>  not corrupted.
>
> o Some cleanups
>  - Cleanup the description for '--message-level' by Akira Imamura.
>  - Cleanup the structures DumpInfo and vm_table.
>  - Cleanup the dwarf method.
>  - Cleanup page_to_pfn() method.
>
>
> You can download the latest makedumpfile(ver. 1.1.6) 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.6.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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-17 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13  2:18 makedumpfile-1.1.6: linux-2.6.22 support Ken'ichi Ohmichi
2007-08-17 22:15 ` Akira Imamura

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.