When kernel panic happens and kdump crash kernel is loaded, device drivers enabled in the kdump crash kernel collect device specific snapshot of the hardware/firmware state of their underlying devices. These snapshots are exported as ELF notes with note type NT_VMCOREDD (i.e., 0x700) in vmcore [1]. This series of patches enhance crash utility to analyze and extract these hardware specific device dumps from vmcore using a new "devdump" command. Patches 1 and 2 enhance help -D to parse NT_VMCOREDD ELF notes in ELF vmcore and KDUMP vmcore, respectively. Patches 3 and 4 implement devdump command to analyze and extract hardware specific device dumps from ELF vmcore and KDUMP vmcore, respectively. Suggestions and feedback will be much appreciated. Thanks, Surendra [1] https://lkml.org/lkml/2018/5/2/190 Surendra Mobiya (4): parse NT_VMCOREDD ELF notes in ELF vmcore parse NT_VMCOREDD ELF notes in KDUMP vmcore add devdump command to extract NT_VMCOREDD from ELF vmcore enhance devdump command to extract NT_VMCOREDD from KDUMP vmcore Makefile | 4 +-- defs.h | 16 +++++++++ devdump.c | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diskdump.c | 71 +++++++++++++++++++++++++++++++++++- global_data.c | 1 + help.c | 23 ++++++++++++ memory.c | 7 ++++ netdump.c | 89 +++++++++++++++++++++++++++++++++++++++++++-- netdump.h | 3 ++ vmcore.h | 36 +++++++++++++++++++ 10 files changed, 359 insertions(+), 5 deletions(-) create mode 100644 devdump.c create mode 100644 vmcore.h -- 1.8.3.1 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility