From: "Ken'ichi Ohmichi" <oomichi@mxs.nes.nec.co.jp>
To: kexec-ml <kexec@lists.infradead.org>
Cc: Don Zickus <dzickus@redhat.com>, Bernhard Walle <bwalle@suse.de>,
Vivek Goyal <vgoyal@in.ibm.com>, Neil Horman <nhorman@redhat.com>,
Dan Aloni <da-x@monatomic.org>
Subject: [RFC][PATCH 0/3] Embed vmcoreinfo into kernel file
Date: Mon, 13 Aug 2007 16:32:12 +0900 [thread overview]
Message-ID: <20070813163212oomichi@mail.jp.nec.com> (raw)
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
next reply other threads:[~2007-08-13 7:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-13 7:32 Ken'ichi Ohmichi [this message]
2007-08-13 7:36 ` [RFC][PATCH 1/3] Embed vmcoreinfo into kernel file 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070813163212oomichi@mail.jp.nec.com \
--to=oomichi@mxs.nes.nec.co.jp \
--cc=bwalle@suse.de \
--cc=da-x@monatomic.org \
--cc=dzickus@redhat.com \
--cc=kexec@lists.infradead.org \
--cc=nhorman@redhat.com \
--cc=vgoyal@in.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.