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 "dev" 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 enhance dev 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 --- rfc: - Moved logic to extract device dumps from "devdump" to "dev" command, in patches 3 and 4. - By default, device dumps are output to screen as hexdump, if output file is not provided. Surendra Mobiya (4): parse NT_VMCOREDD ELF notes in ELF vmcore parse NT_VMCOREDD ELF notes in KDUMP vmcore enhance dev command to extract NT_VMCOREDD from ELF vmcore enhance dev command to extract NT_VMCOREDD from KDUMP vmcore defs.h | 10 +++++ dev.c | 80 +++++++++++++++++++++++++++++++++++- diskdump.c | 84 ++++++++++++++++++++++++++++++++++++++ help.c | 23 ++++++++++- memory.c | 10 +++++ netdump.c | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++- netdump.h | 3 ++ vmcore.h | 36 ++++++++++++++++ 8 files changed, 359 insertions(+), 5 deletions(-) create mode 100644 vmcore.h -- 2.21.0 -- Crash-utility mailing list Crash-utility@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/crash-utility