Re: 2.6.32: x86_32: Destination address is too large.

From: Alexander Beregalov
Date: Thu Dec 17 2009 - 09:50:16 EST


2009/12/17 Alexander Beregalov <a.beregalov@xxxxxxxxx>:
> Hi
>
> IBM x345, 2 * Xeon 2GHz, x86_32, 3Gb of RAM
>
> arch/x86/boot/compressed/misc.c:
> asmlinkage void decompress_kernel(
>
>
> #ifdef CONFIG_X86_64
> Â Â Â Âif (heap > 0x3fffffffffffUL)
> Â Â Â Â Â Â Â Âerror("Destination address too large");
> #else
> Â Â Â Âif (heap > ((-__PAGE_OFFSET-(512<<20)-1) & 0x7fffffff))
> Â Â Â Â Â Â Â Âerror("Destination address too large");
> #endif
>
>
> heap is 0x31341b80 here,
> CONFIG_PAGE_OFFSET=0xC0000000
>
> gcc version 4.4.0 20090514 (Red Hat 4.4.0-6.314103)
>
> 2.6.27 works fine.
>

For 2.6.27 heap is 0x0058d360

Config for 2.6.32 is attached

Attachment: config-x345
Description: Binary data