All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC][PATCH 0/3] Embed vmcoreinfo into kernel file
@ 2007-08-13  7:32 Ken'ichi Ohmichi
  2007-08-13  7:36 ` [RFC][PATCH 1/3] " Ken'ichi Ohmichi
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Ken'ichi Ohmichi @ 2007-08-13  7:32 UTC (permalink / raw)
  To: kexec-ml; +Cc: Don Zickus, Bernhard Walle, Vivek Goyal, Neil Horman, Dan Aloni


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
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-13  7:32 [RFC][PATCH 0/3] Embed vmcoreinfo into kernel file Ken'ichi Ohmichi
2007-08-13  7:36 ` [RFC][PATCH 1/3] " Ken'ichi Ohmichi
2007-08-13 17:38   ` Dan Aloni
2007-08-14 22:00     ` Bernhard Walle
2007-08-16  4:20   ` Vivek Goyal
2007-08-17  6:43     ` Ken'ichi Ohmichi
2007-08-17  9:44       ` Bernhard Walle
2007-08-22  6:40         ` Ken'ichi Ohmichi
2007-08-17 12:28       ` Vivek Goyal
2007-08-22 10:54         ` Ken'ichi Ohmichi
2007-08-13  7:38 ` [RFC][PATCH 2/3] " Ken'ichi Ohmichi
2007-08-13  7:39 ` [RFC][PATCH 3/3] " Ken'ichi Ohmichi
2007-08-14 21:59   ` Bernhard Walle
2007-08-17  7:09     ` Ken'ichi Ohmichi

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.