[PATCH 0/5] make '-x'/'-i' option unnecessary for re-filtering.

Ken'ichi Ohmichi oomichi at mxs.nes.nec.co.jp
Tue Oct 13 01:18:44 EDT 2009


Hi,

Ken'ichi Ohmichi wrote:
> Hi CAI,
> 
> Thank you for testing and a good point.
> 
> CAI Qian wrote:
>>> 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?
> 
> Yes, we need to do it for re-filtering now.
> But it is not difficult to implement a feature that it is not
> necessary to specify either a vmlinux or vmcoreinfo file for
> re-filtering. I will try to implement the feature.

I created the patchset for implementing the above feature.
Any comments/patches are welcome.

---
[PATCH 0/5] make '-x'/'-i' option unnecessary for re-filtering.

makedumpfile v1.3.4 can read a dumpfile which is kdump-compressed
format instead of /proc/vmcore and re-filter it.

When re-filtering, it is necessary to specify '-x'/'-i' option.
If not specifying, makedumpfile fails like the following:

 # ./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.
 #

For usability, this patchset makes '-x'/'-i' option unnecessary
for re-filtering.


Thanks
Ken'ichi Ohmichi




More information about the kexec mailing list