Hi all, Today, I released a new makedumpfile related to the following thread. Re: handling missing kdump pages in diskdump format Thank you for the cooperations. Thanks Ken'ichi Ohmichi To: fastboot-ml <fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx> From: "Ken'ichi Ohmichi" <oomichi@xxxxxxxxxxxxxxxxx> Date: Fri, 13 Apr 2007 14:59:01 +0900 Cc: Dave Anderson <anderson@xxxxxxxxxx> Subject: [Fastboot] makedumpfile-1.1.3: linux-2.6.21 support Hi. makedumpfile version 1.1.3 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 linux-2.6.21 is supported. On linux-2.6.21, a member free_pages of struct zone has been removed. Then, the number of free pages is taken from zone.vm_stat[0] if a member free_pages of struct zone is not present. The patch was provided by Sachin P. Sant, Thanks. o The descriptors of the excluded zero-filled pages are changed so that the crash utility (v4.0-3.22, or later) can distinguish between the excluded zero-filled pages and other excluded pages. If the crash utility accesses the excluded zero-filled page, it returns zero-filled page. If accessing other excluded page, it displays the error message and fails. The patch was provided by Bob Montgomery, Thanks. o A member "dump_level" is added into struct kdump_sub_header so that the crash utility (v4.0-3.22, or later) can display the dump_level in case of kdump-compressed format. You can download the latest makedumpfile(ver. 1.1.3) 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.3.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 Todo: - ia64 DISCONTIGMEM support Thanks Ken'ichi Ohmichi _______________________________________________ fastboot mailing list fastboot@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/fastboot ------- ここまでが転送メッセージ -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility