Sometimes the kexec would allocate not enough memory for kdump kernel itself on IA64 and caused kdump kernel to panic at boot. When it happens, the /proc/iomem would show a kernel RAM segment like this: 3014000000-3015294fff : System RAM 3014000000-3014823ccf : Kernel code 3014823cd0-3014dee8ef : Kernel data 3014dee8f0-301529448f : Kernel bss 3015295000-307bffdfff : System RAM 3018000000-3037ffffff : Crash kernel But kexec would allocate memory 3018000000-3019290000 for the kernel, which is 0x5000 smaller than the regular kernel. In my cases, the physical_node_map and kern_memmap of the kdump kernel overlaped and caused data corruption. This patch fixes the problem. The patch was generated against kexec-tools 2.0.0 and tested in 2.6.27-rc4. Signed-off-by: Jay Lan <jlan at sgi.com> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: bootmem-fix Url: http://lists.infradead.org/pipermail/kexec/attachments/20080903/4f922528/attachment.pl