Skip to content

vmcoreinfo support for dump filtering #2

Ken'ichi Ohmichi kexec 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Changelog from the cover letter

- Add the size of nodemask_t and the value of NR_FREE_PAGES to the vmcoreinfo data.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add vmcoreinfo #2arch/i386/kernel/machine_kexec.c arch/ia64/kernel/machine_kexec.c arch/ia64/mm/discontig.c +5 more+207 -10 replies
2/2Pass vmcoreinfo's address and size #2kexec/crashdump-elf.c kexec/crashdump.c kexec/crashdump.h+52 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] vmcoreinfo support for dump filtering #2

Hi,

I released a new makedumpfile (version 1.2.0) with vmcoreinfo support. I updated the patches for linux and kexec-tools.

- Change of linux patch:
Old makedumpfile assumed some values (the size of nodemask_t and the value of NR_FREE_PAGES), and it was not good on the reliability viewpoint. For the reliability improvement, makedumpfile came to need these values and I updated the kernel patch to output them.

- Chage of kexec-tools patch:
Vivek Goyal informed that the kexec command with old vmcoreinfo patch didn't work on kernels without vmcoreinfo patch. It gave the following error message, so I updated the patch of kexec-tools for fixing the problem:
Could not open "/sys/kernel/vmcoreinfo": No such file or directory

PATCH SET:
[1/2] [linux-2.6.22] Add vmcoreinfo
The patch is for linux-2.6.22.
The patch adds the vmcoreinfo data. Its address and size are output to /sys/kernel/vmcoreinfo.

Changelog:
- Add the size of nodemask_t and the value of NR_FREE_PAGES to the vmcoreinfo data.

[2/2] [kexec-tools] Pass vmcoreinfo's address and size
The patch is for kexec-tools-testing-20070330.
(http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/)
kexec command gets the address and size of the vmcoreinfo data from /sys/kernel/vmcoreinfo, and passes them to the second kernel through ELF header of /proc/vmcore. When the second kernel is booting, the kernel gets them from the ELF header and creates vmcoreinfo's PT_NOTE segment into /proc/vmcore.

Changelog:
- Fix the problem that the kexec command cannnot be executed on kernels without vmcoreinfo.

Thanks
Ken'ichi Ohmichi

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec