RFC Embed vmcoreinfo into kernel file
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 10 repliesIn review
Changelog from the cover letter
* Rename "mkdfinfo" to "vmcoreinfo".
* Multi memory models (FLATMEM, DISCONTIGMEM, and SPASEMEM) are supported.
* The elf note typedef for vmcoreinfo is added because the original elf note size is limited to 1024.
* The generation of the elf note is moved to boot time instead of crash time.
- [2/3] patch for kexec-tools-testing-20070330.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Embed vmcoreinfo into kernel filearch/ include/ kernel/ +1 more | +161 | 8 replies | |
| 2/3 | Embed vmcoreinfo into kernel filekexec/ kexec/ kexec/ | +55 | 0 replies | |
| 3/3 | Embed vmcoreinfo into kernel fileia64.c makedumpfile.c makedumpfile.h +1 more | +262 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC][PATCH 0/3] Embed vmcoreinfo into kernel file
Hi all,
# I resend this mail, because former mail had a suspicious header.
I updated Dan Aloni's patches for adding the feature that embeds vmcoreinfo (information for dump filtering) into a kernel file. This feature frees the restriction that makedumpfile user should install a vmlinux file (including the debugging information). Please test it. Your opinions/comments are welcome.
makedumpfile command is the dump filtering feature for kdump. It creates a small dumpfile by filtering unnecessary pages for the analysis. To distinguish unnecessary pages, it needs a vmlinux file including the debugging information. Now, the debugging package becomes a huge file, and it is hard to install it into each system. Then, Dan Aloni created the patch set to embed only necessary information into a kernel binary file, and a vmlinux file including the debugging informaion is not necessary.
Dan Aloni's patch:
http://lists.infradead.org/pipermail/kexec/2007-July/000303.html
Patches:
- [1/3] patch for linux-2.6.22.
Changelog:
* Rename "mkdfinfo" to "vmcoreinfo".
* Multi memory models (FLATMEM, DISCONTIGMEM, and SPASEMEM) are supported.
* The elf note typedef for vmcoreinfo is added because the original elf note size is limited to 1024.
* The generation of the elf note is moved to boot time instead of crash time.
- [2/3] patch for kexec-tools-testing-20070330.
Changelog:
* Rename "mkdfinfo" to "vmcoreinfo".
- [3/3] patch for makedumpfile-v1.1.6.
Usage:
- Run the kernel applied the attached patch as the first kernel.
- Preload the second kernel by the kexec-tools applied the attached patch.
- Panic and switch to the second kernel.
- Get a dumpfile by the makedumpfile applied the attached patch:
(Ex.) # makedumpfile -cd31 /proc/vmcore dumpfile
Todo:
- ia64 support.
Translating the virtual address of "vmcoreinfo_note" to the physical address. (kernel-vmcoreinfo-note.patch)
- ppc64 support
Thanks
Ken'ichi Ohmichi
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec