2.6.32: x86_32: Destination address is too large.

From: Alexander Beregalov
Date: Thu Dec 17 2009 - 08:36:18 EST


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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/