[Patch 00/12] Support Fujitsu Stand Arone Dump Format

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Tue Oct 11 11:13:38 EDT 2011


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 (12):
      Add description of sadump-related formats in manual page
      Add description of sadump-related formts in usage information
      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 |  397 ++++++++++---
 makedumpfile.h |  163 +++++
 print_info.c   |   10 
 sadump_info.c  | 1713 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sadump_info.h  |  159 +++++
 sadump_mod.h   |  186 ++++++
 9 files changed, 2578 insertions(+), 80 deletions(-)
 create mode 100644 sadump_info.c
 create mode 100644 sadump_info.h
 create mode 100644 sadump_mod.h

-- 
Thanks,
HATAYAMA, Daisuke




More information about the kexec mailing list