[PATCH] Reserve elfcorehdr memory in CONFIG_CRASH_DUMP

Jay Lan jlan at sgi.com
Thu Nov 6 21:32:32 EST 2008


IA64 kdump kernel failed to initialize /proc/vmcore in 2.6.28-rc2.
A bug was introduced in this patch commit:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d9a9855d0b06ca6d6cc92596fedcc03f8512e062

The problem was that the call to reserve_elfcorehdr() should be placed
in CONFIG_CRASH_DUMP rather than in CONFIG_CRASH_KERNEL, which does
not exist.

The patch fixes the problem.

Signed-off-by: Jay Lan <jlan at sgi.com>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: reserve-elfcorehdr-in-CRASH_DUMP
Url: http://lists.infradead.org/pipermail/kexec/attachments/20081106/bfceded5/attachment.pl 


More information about the kexec mailing list