public inbox for kexec@lists.infradead.org
 help / color / mirror / Atom feed
From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
To: kexec@lists.infradead.org
Subject: [PATCH v2 00/14] Support Fujitsu Stand Alone Dump Format
Date: Fri, 28 Oct 2011 18:48:04 +0900	[thread overview]
Message-ID: <20111028094454.20940.1209.stgit@localhost6.localdomain6> (raw)

Hello Tachibana-san,

Since there's certain time until Tachibana-san's review, I made some
cleanups and bugfixes to the previous version. Could you review this
instead to reduce the review time?

==
The following series implements Fujitsu stand-alone dump (sadump)
format support for makedumpfile, converting sadump-related formats
into kdump-compressed format.

Based on makedumpfile version 1.4.0.

Here is summary of the changes.

No debug information on sadump-related formats
==============================================

Unlike other dump mechanisms, VMCORE created by sadump has NO debug
information including VMCOREINFO. So, -x VMLINUX is definitely
necessary.

Debug information gained from VMLINUX is used for:

    1. creating VMCOREINFO dynamically, saved in resulting dumpfiles
       in kdump-compressed format, and

    2. gaining symbolic and type information necessary to refer to ELF
       note information contained in VMCORE generated by kdump at
       crash, and to estimate phys_base value.

If no VMLINUX is specified, dumpfile with no VMCOREINFO and ELF note
is generated on the current implementation.


Command-line interface change
=============================

Introduce --diskset=VMCORE to pass multiple VMCOREs in a single
commnad-line input.

    makedumpfile [OPTION] -x VMLINUX --diskset=VMCORE1 --diskset=VMCORE2 \
    [--diskset=VMCORE3 ..] DUMPFILE


Architectures
=============

X86 and X86_64.

On the other unsupported architectures, sadump-related source files
are never compiled and linked into makedumpfile executable.

---

HATAYAMA Daisuke (14):
      Add description of sadump-related formats in manual page
      Add description of sadump-related formts in usage information
      Read kexec backup region
      Procees CPUs based on online ones
      Generate and save VMCOREINFO and ELF note information
      Estimate phys_base based on linux_banner position
      Implement readmem() interface on sadump-related formats
      Initialize debug information for ELF note extraction
      Initialize internal data according to sadump-related formats
      Export helpers for bitmap table handling
      Verify and read VMCORE(s) in sadump-related formats
      Implement command-line processing
      Extend DumpInfo structure
      Add sadump module header file


 Makefile       |    6 
 elf_info.c     |    2 
 makedumpfile.8 |   22 +
 makedumpfile.c |  455 +++++++++++--
 makedumpfile.h |  207 ++++++
 print_info.c   |   10 
 sadump_info.c  | 1945 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sadump_info.h  |  165 +++++
 sadump_mod.h   |  186 +++++
 9 files changed, 2907 insertions(+), 91 deletions(-)
 create mode 100644 sadump_info.c
 create mode 100644 sadump_info.h
 create mode 100644 sadump_mod.h

-- 
Thanks.
HATAYAMA, Daisuke

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

             reply	other threads:[~2011-10-28  9:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-28  9:48 HATAYAMA Daisuke [this message]
2011-10-28  9:48 ` [PATCH v2 01/14] Add sadump module header file HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 02/14] Extend DumpInfo structure HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 03/14] Implement command-line processing HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 04/14] Verify and read VMCORE(s) in sadump-related formats HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 05/14] Export helpers for bitmap table handling HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 06/14] Initialize internal data according to sadump-related formats HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 07/14] Initialize debug information for ELF note extraction HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 08/14] Implement readmem() interface on sadump-related formats HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 09/14] Estimate phys_base based on linux_banner position HATAYAMA Daisuke
2011-10-28  9:48 ` [PATCH v2 10/14] Generate and save VMCOREINFO and ELF note information HATAYAMA Daisuke
2011-12-20  8:18   ` Atsushi Kumagai
2011-12-20  9:31     ` HATAYAMA Daisuke
2011-12-21  8:22       ` Atsushi Kumagai
2011-12-21  8:39         ` HATAYAMA Daisuke
2011-10-28  9:49 ` [PATCH v2 11/14] Procees CPUs based on online ones HATAYAMA Daisuke
2011-10-28  9:49 ` [PATCH v2 12/14] Read kexec backup region HATAYAMA Daisuke
2011-10-28  9:49 ` [PATCH v2 13/14] Add description of sadump-related formts in usage information HATAYAMA Daisuke
2011-10-28  9:49 ` [PATCH v2 14/14] Add description of sadump-related formats in manual page HATAYAMA Daisuke
2011-10-28 12:05 ` [PATCH v2 00/14] Support Fujitsu Stand Alone Dump Format tachibana
2011-12-15  6:47   ` HATAYAMA Daisuke
2011-12-15  8:55     ` tachibana
2011-12-15  9:09       ` HATAYAMA Daisuke

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=20111028094454.20940.1209.stgit@localhost6.localdomain6 \
    --to=d.hatayama@jp.fujitsu.com \
    --cc=kexec@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox