Skip to content

Overview

Vivek Goyal lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17vmlinux parameter segment stomping fixkexec/arch/i386/kexec-elf-x86.c+14 -21 reply
2/17Backup region creation and contents copyingkexec/arch/i386/crashdump-x86.h kexec/arch/i386/kexec-beoboot-x86.c kexec/arch/i386/kexec-bzImage.c +23 more+150 -380 replies
3/17Core image elf header creationkexec/arch/i386/Makefile kexec/arch/i386/crashdump-x86.c kexec/arch/i386/crashdump-x86.h +3 more+765 -130 replies
4/17Fill virtual addresses for linearly mapped regionkexec/arch/i386/crashdump-x86.c kexec/arch/i386/crashdump-x86.h+27 -20 replies
5/17Add command line option "--crash-dump"kexec/arch/i386/kexec-elf-x86.c kexec/arch/i386/kexec-x86.c kexec/kexec.c +2 more+30 -170 replies
6/17NMI handler segment selector, stack pointer fixarch/i386/kernel/crash.c+13 -00 replies
7/17Documentation for KdumpDocumentation/00-INDEX Documentation/kdump.txt+120 -00 replies
8/17Retrieve saved max pfnarch/i386/kernel/setup.c include/linux/bootmem.h mm/bootmem.c+24 -00 replies
9/17Kconfig for kdumparch/i386/Kconfig+7 -00 replies
10/17Routines for copying dump pagesarch/i386/mm/highmem.c include/asm-i386/highmem.h include/linux/crash_dump.h +3 more+79 -00 replies
11/17Routines for copying dump pages fixeskernel/crash_dump.c+4 -10 replies
12/17Routines for copying dump pages - more fixesinclude/linux/crash_dump.h kernel/crash_dump.c+7 -60 replies
13/17Retrieve elfcorehdr address from command lineDocumentation/kernel-parameters.txt arch/i386/kernel/setup.c include/linux/crash_dump.h +1 more+16 -00 replies
14/17Access dump file in elf format (/proc/vmcore)fs/Kconfig fs/proc/Makefile fs/proc/proc_misc.c +4 more+476 -10 replies
15/17Parse elf32 headers and export through /proc/vmcorefs/proc/vmcore.c+218 -00 replies
16/17Accessing dump file in linear raw format (/dev/oldmem)Documentation/devices.txt drivers/char/mem.c+75 -00 replies
17/17Cleanups for dump file access in linear raw formatdrivers/char/mem.c+15 -360 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC/PATCH 0/17][Kdump] Overview

Hi,

This patchset restores back the kdump functionality on i386. Patchset contains the patches for user space (kexec-tools-1.101) and kernel space (2.6.12-rc1-mm3). Some of the user space patches are being released for the completeness.

This patch set performs following.

kexec-tool-1.101
(http://www.xmission.com/~ebiederm/files/kexec/kexec-tools-1.101.tar.gz)
-----------------------------------------------------------------------

- Create a backup region and copy the first 640K of memory to backup region over a crash.
- Generate Elf headers representing crashed memory and store in reserved region. Also appends the memmap= and elfcorehdr= parameters to command line internally to be passed to capture kernel.
- Fills in the virtual addresses for linearly mapped region at the elf header creation time. This assists in limited debugging through gdb.
- Adds another command line option "--crash-dump" to differentiate between kexec on panic and kexec on panic with crash dump on.

2.6.12-rc1-mm3
--------------

- Retrieve physical address of elf core headers, stored by crashed kernel.
- Export dump image in ELF format through /proc/vmcore interface.
- Export raw dump image through /dev/oldmem interface.

Following patches (as in series file) need to be dropped before applying the fresh ones.

crashdump-documentation.patch crashdump-memory-preserving-reboot-using-kexec.patch crashdump-routines-for-copying-dump-pages.patch crashdump-routines-for-copying-dump-pages-fixes.patch crashdump-elf-format-dump-file-access.patch crashdump-linear-raw-format-dump-file-access.patch crashdump-linear-raw-format-dump-file-access-coding-style.patch

I look forward for comments and suggestions. I have done basic testing on uni and SMP systems.

Thanks
Vivek