RE: [PATCH] IA64 kexec-tools: efi_memmap overflow on large systems

From: Zou, Nanhai <>
Date: 2007-02-01 13:43:31
> -----Original Message-----
> From: Jay Lan []
> Sent: 200721 9:54
> To: fastboot
> Cc: Linux-IA64; Zou, Nanhai
> Subject: [PATCH] IA64 kexec-tools: efi_memmap overflow on large systems
> This patch fixes a efi_memmap overflow problem on large system.
> Currently the kexec allocates statically 16k buffer to contain
> efi_memmap. It can hold about 333 entries. It causes data
> corruption on large system.
> This patch would let kexec allocate the efi_memmap at run time using
> the actual size allocated in the production kernel.
> Signed-off-by: Jay Lan <>

Another hardcode limit needs to be eliminated, the CRASH_MAX_MEMORY_RANGE in crashdump-ia64.c. 
Since SN systems may scale to hundreds of nodes, each node may contain up to 12 DIMMs.

I guess the current 1024 limit is not enough for those super computers.

So we need to count crash memory ranges from /proc/iomem and allocated crash_memory_range dynamically.

Zou Nan hai 
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Feb 01 13:44:31 2007

This archive was generated by hypermail 2.1.8 : 2007-02-01 13:44:44 EST