summaryrefslogtreecommitdiff
path: root/makedumpfile.8
Commit message (Collapse)AuthorAge
* [v1.6.6] Update versionKazuhito Hagio2019-06-27
| | | | | | Update makedumpfile to version 1.6.6. Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* [v1.6.5] Update versionKazuhito Hagio2018-12-04
| | | | | | This patch updates makedumpfile to version 1.6.5. Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* [v1.6.4] Update versionMasaki Tachibana2018-07-03
| | | | | | | This patch updates makedumpfile to version 1.6.4. Signed-off-by: Masaki Tachibana <mas-tachibana@vf.jp.nec.com> Signed-off-by: Kazuhito Hagio <k-hagio@ab.jp.nec.com>
* Documentation: Update documentation regarding --mem-usage' optionBhupesh Sharma2018-04-03
| | | | | | | | | | | | | Earlier patch in this patchset, enables the '--mem-usage' makedumpfile option on arm64 platforms. In addition, I have validated the '--mem-usage' makedumpfile option on several ppc64/ppc64le and s390x machines, so update the 'makedumpfile.8' documentation to indicate that '--mem-usage' option is supported not only on x86_64, but also on ppc64, s390x and arm64 platforms. Signed-off-by: Bhupesh Sharma <bhsharma@redhat.com>
* [v1.6.3] Update versionAtsushi Kumagai2018-01-26
| | | | | | This patch updates makedumpfile to version 1.6.3. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.6.2] Update versionAtsushi Kumagai2017-07-26
| | | | | | This patch updates makedumpfile to version 1.6.2. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH v2] Add the --partial-dmesg option to dump only non-cleared dmesgIvan Delalande2017-06-14
| | | | | | | | | | | This option will make --dump-dmesg save only the part of the dmesg buffer since it was last cleared on the crashed kernel (with dmesg --clear and such) instead of the whole buffer since boot or wrap-around. It works on kernels with commit f468908bb55a ("printk: add clear_idx symbol to vmcoreinfo") merged in v4.6 and otherwise will default to the regular behavior. Signed-off-by: Ivan Delalande <colona@arista.com>
* [PATCH v3 7/7] mem-usage: allow to work only with -f for kernel version < 4.11Pratyush Anand2017-03-03
| | | | | | | | | | | | | | PT_LOAD of kcore does not have valid p_paddr values for kernel version less that v4.11. Therefore, older kernel will no long work for mem-usage with current makedumpfile code. They can only work when they are patched with fix to "update physical address for kcore ram and text". This patch fixes the makedumpfile so that it does not allow to work older kernel for --mem-usage until someone is sure that kernel is rightly patched and so uses -f in command line. It also updates man page and usage info accordingly. Signed-off-by: Pratyush Anand <panand@redhat.com>
* [v1.6.1] Update versionAtsushi Kumagai2016-12-27
| | | | | | This patch updates makedumpfile to version 1.6.1. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH] Add more descriptions of multi-threads featureZhou Wenjian2016-10-14
| | | | | | | It will have a bad performance if the threads number is larger than the usable cpu number. So we should remind user of it. Signed-off-by: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
* [v1.6.0] Update versionAtsushi Kumagai2016-06-08
| | | | | | This patch updates makedumpfile to version 1.6.0. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH] Fix man page to add -p optionAtsushi Kumagai2016-05-12
| | | | | | This is just omission of previous fix. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH] Remove useless definitions of return value.Atsushi Kumagai2016-01-04
| | | | | | | | | | | | | | | | | The five return values are defined in makedumpfile, but the latter two are useless. #define COMPLETED (0) #define FAILED (1) #define WRONG_RELEASE (2) /* utsname.release does not match. */ #define ANALYSIS_FAILED (3) /* detected illegal page descriptor. */ #define OUTPUT_FAILED (4) /* detected an output error. */ ANALYSIS_FAILED will be returned only when free_list is broken, but I can't find any reason to give this case special treatment. As for OUTPUT_FAILED, it isn't used at all. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.5.9] Update versionAtsushi Kumagai2015-10-28
| | | | | | This patch updates makedumpfile to version 1.5.9. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH v5 10/10] Add usage and manual about multiple threads process.Qiao Nuohan2015-08-11
| | | | | Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com> Signed-off-by: Zhou wenjian <zhouwj-fnst@cn.fujitsu.com>
* [PATCH 2/2] Remove notes about ELF being the only available format for Xen ↵Petr Tesarik2015-07-29
| | | | | | | | | dumps. Since Xen dumps can now be stored in compressed formats, adjust documentation that claims the opposite. Signed-off-by: Petr Tesarik <ptesarik@suse.com>
* [PATCH 13/13] Remove --non-cyclic option.Atsushi Kumagai2015-05-28
| | | | | | | | | | | --non-cyclic option is no longer useful, should be removed. Additionally, since cyclic mode and non-cyclic mode are merged into the same code, info->flag_cyclic means whether multi-cycle processing is necessary or not, the related descriptions should be fixed. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH 02/13] Add option to specify working directory for the bitmap.Atsushi Kumagai2015-05-28
| | | | | | | | Introduce the new option "--work-dir" to specify the directory used to store the bitmap. This is the alternative to the combination of --non-cyclic and TMPDIR. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [v1.5.8] Update versionAtsushi Kumagai2015-03-24
| | | | | | This patch updates makedumpfile to version 1.5.8. Signed-off-by: Atsushi Kumagai <ats-kumagai@wm.jp.nec.com>
* [PATCH 1/2] Modify the description of the dump level.Atsushi Kumagai2014-11-17
| | | | | | | | | | | | | | | | There are two kinds of dump level related to cache pages as: - Exclude cache pages without private flag (level:2) - Exclude all cache pages (level:4) The former excludes only the cache pages which don't have private flag while the latter excludes all cache pages. However, the man page occasionally make users misunderstood due to the incomplete description, so it would be better to add the description of each base dump level and to unify the expression. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v5 5/5] Add support for --splitblock-size.Zhou Wenjian2014-11-07
| | | | | | | | | Use --splitblock-size to specify splitblock size (KB) When --split is specified in cyclic mode,splitblock table will be generated in create_dump_bitmap(). Signed-off-by: Qiao Nuohan <qiaonuohan@cn.fujitsu.com> Signed-off-by: Zhou Wenjian <zhouwj-fnst@cn.fujitsu.com>
* [v1.5.7] Update versionAtsushi Kumagai2014-09-18
| | | | | | This patch updates makedumpfile to version 1.5.7. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v2 1/2] Supplement the description of option --mem-usage.Baoquan He2014-09-09
| | | | | | | For now option --mem-usage is only used for x86-64, so supplement the description in man page and help message. Signed-off-by: Baoquan He <bhe@redhat.com>
* [PATCH v6 8/8] Add a new interface to show the memory usage of 1st kernel.Baoquan He2014-09-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently people complained that they don't know how to decide how much disk size need be reserved for kdump. E.g there are lots of machines with different memory size, if the memory usage information of current system can be shown, that can help them to make an estimate how much storage space need be reserved. In this patch, a new interface is added into makedumpfile. By the help of this, people can know the page number of memory in different use. The implementation is analyzing the "System Ram" and "kernel text" program segment of /proc/kcore excluding the crashkernel range, then calculating the page number of different kind per vmcoreinfo. The print is like below: ~$ ./makedumpfile --mem-usage /proc/kcore The kernel version is not supported. The makedumpfile operation may be incomplete. Excluding unnecessary pages : [100.0 %] | ---------------------------------------------------------------------- TYPE PAGES EXCLUDABLE DESCRIPTION ZERO 28823 yes Pages filled with zero CACHE 197932 yes Cache pages CACHE_PRIVATE 15862 yes Cache pages + private USER 30778 yes User process pages FREE 3671105 yes Free pages KERN_DATA 105168 no Dumpable kernel data Total pages on system: 4049668 makedumpfile Completed. BTW, in formal version of kernel which maintainer declares to support after sufficient test, the warning message about kernel version won't occur. Signed-off-by: Baoquan He <bhe@redhat.com>
* [PATCH] Fix description about filtering for Xen.Atsushi Kumagai2014-09-02
| | | | | | | | | | | Correct the following points for Xen dump: - Add how to filter the pages of domain-0. - Fix the difference between man and help. Reported-by: Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH 1/3] Remove the 1st bitmap buffer from the ELF path in cyclic mode.Atsushi Kumagai2014-06-17
| | | | | | | | | We can create the 2nd bitmap without creating the 1st bitmap by commit 363d53fc8, so we don't need to create the 1st bitmap in cyclic mode in the ELF path since it isn't used. Thus, we can use the whole bitmap buffer only for the 2nd bitmap like the kdump path. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.6] Update versionAtsushi Kumagai2014-04-21
| | | | | | This patch updates makedumpfile to version 1.5.6. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.5] Update versionAtsushi Kumagai2013-12-17
| | | | | | This patch updates makedumpfile to version 1.5.5. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Add --non-mmap option to disable mmap() manually.Atsushi Kumagai2013-12-13
| | | | | | | When --non-mmap option is specified, makedumpfile doesn't use mmap() even if /proc/vmcore supports mmap(). Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH 2/2] Add help and man message for '--help'.Baoquan He2013-07-02
| | | | | | | Conventionally '-h' and '--help' are all provided. Currently makedumpfile lacks help and man message for '--help'. Here add it. Signed-off-by: Baoquan He <bhe@redhat.com>
* [v1.5.4] Update versionAtsushi Kumagai2013-07-01
| | | | | | This patch updates makedumpfile to version 1.5.4. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Add a help message into man page of makedumpfile for -b option.Jingbai Ma2013-06-04
| | | | | | | | | | | | This is a minor change that only adds a help message to -b option in makedumpfile man page. This message has been in Red Hat's makedumpfile source, they would like it in upstream also. Signed-off-by: Jingbai Ma <jingbai.ma@hp.com> Fix the content of message. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.3] Update versionAtsushi Kumagai2013-02-18
| | | | | | This patch updates makedumpfile to version 1.5.3. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.2] Update versionAtsushi Kumagai2013-02-13
| | | | This patch updates makedumpfile to version 1.5.2.
* [PATCH v4 9/9] Update Documentation.Aravinda Prasad2013-02-06
| | | | | | | | | | This patch updates usage message and man page. Signed-off-by: Aravinda Prasad <aravinda@linux.vnet.ibm.com> Update README. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.5.1] Update versionAtsushi Kumagai2012-12-03
| | | | | | This patch updates makedumpfile to version 1.5.1. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v2 2/2] Calculate the size of cyclic buffer automatically.Atsushi Kumagai2012-11-22
| | | | | | | | | | | | | | | | | | | | The size of cyclic buffer is set to DEFAULT_BUFSIZE_CYCLIC(1MB) when the size isn't specified. But 1MB is too small for large memory machine and the number of cycle will be so large. As a result, a lot of time will be spend for dump filtering. To resolve the issue above, I add calculate_cyclic_buffer_size() to calculate the buffer size as needed. Concretely, the logic is to choose the lesser value of the two below as the size of cyclic buffer: a. the size enough for storing the 1st/2nd bitmap for the whole of vmcore b. 80% of free memory (as safety limit) calculate_cyclic_buffer_size() uses max_mapnr, so it needs to be done after get_max_mapnr(). Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH 8/9] Add manual description.HATAYAMA Daisuke2012-11-16
| | | | Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
* [v1.5.0] Update versionAtsushi Kumagai2012-09-06
| | | | | | This patch updates makedumpfile to version 1.5.0. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v4 12/12] Add --cyclic-buffer option to specify buffer size for ↵Atsushi Kumagai2012-09-06
| | | | | | | | | | | | cyclic mode. Introduce --cyclic-buffer option to specify buffer size for the cyclic mode. This option requires a integer as buffer size in kilo bytes. Usage: # makedumpfile --cyclic-buffer 1024 /proc/vmcore dumpfile Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v4 1/12] Introduce cyclic mode to keep memory usage constant.Atsushi Kumagai2012-09-06
| | | | | | | | | | | | | | | | | | This patchset introduces new filtering logic called "cyclic mode" as a default. In the cyclic mode, makedumpfile reads regions of a fixed size from /proc/vmcore, analyzes it, and writes pages to dumpfile repeatedly from start of memory to the end. As a result, memory usage will be kept constant regardless of system memory size. However, the cyclic mode has performance issue in the logic to exclude free pages. (I'm going to improve this issue in feature release.) If you feel the cyclic mode is too slow, you can specify --non-cyclic option. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp> sadump: Disable the cyclic mode on sadump dumpfiles. Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
* [v1.4.4] Update versionAtsushi Kumagai2012-05-25
| | | | | | This patch updates makedumpfile to version 1.4.4. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v3 4/4] Add build condition for LZO support.HATAYAMA Daisuke2012-05-11
| | | | | | | | | | | | | | | To enable lzo compression support, build makedumpfile as: $ make USELZO=on To disable, as: $ make In default, lzo compression support is disabled. Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH v3 3/4] Add help and manual messages about LZO compression support.HATAYAMA Daisuke2012-05-11
| | | | | Signed-off-by: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.3] Update versionAtsushi Kumagai2012-02-28
| | | | | | This patch updates makedumpfile to version 1.4.3. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.2] Update versionAtsushi Kumagai2012-01-24
| | | | | | This patch updates makedumpfile to version 1.4.2. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [v1.4.1] Update versionAtsushi Kumagai2012-01-05
| | | | | | This patch updates makedumpfile to version 1.4.1. Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Fix man page section number of makedumpfile.conf.Atsushi Kumagai2012-01-05
| | | | Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Cleanup: Add description of analysis tools in man page.Atsushi Kumagai2012-01-05
| | | | Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>
* [PATCH] Cleanup: Fix description of DUMP levels.Atsushi Kumagai2012-01-05
| | | | | | | | | | | | | | | | Correct description of page types that are excluded for each DUMP levels. (Based on "[PATCH]: fix makedumpfile cache page exclusion dump levels." by Thayumanavar S) cache without private: - Cache pages without private pages are excluded. - Corresponding DUMP levels are 2-7, 10-15, 18-23 and 26-31. cache with private: - All cache pages are excluded. - Corresponding DUMP levels are 4-7, 12-15, 20-23 and 28-31. Reported-by: Thayumanavar S <thayumker@gmail.com> Signed-off-by: Atsushi Kumagai <kumagai-atsushi@mxc.nes.nec.co.jp>