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

From: H. Peter Anvin
Date: Thu Dec 17 2009 - 09:56:46 EST


On 12/17/2009 05:36 AM, Alexander Beregalov wrote:
>
> #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
>

Nevermind, the equation turns out to be 0x1fffffff, and thus it is an
error... exactly how are you loading the kernel?

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
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/