From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 24 Apr 2007 13:43:25 -0700 From: Andrew Morton Subject: Re: 2.6.21-rc7-mm1 on test.kernel.org Message-Id: <20070424134325.f71460af.akpm@linux-foundation.org> In-Reply-To: References: <20070424130601.4ab89d54.akpm@linux-foundation.org> <20070424132740.e4bdf391.akpm@linux-foundation.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org Return-Path: To: Christoph Lameter Cc: linux-mm@kvack.org, Andy Whitcroft List-ID: On Tue, 24 Apr 2007 13:32:32 -0700 (PDT) Christoph Lameter wrote: > On Tue, 24 Apr 2007, Andrew Morton wrote: > > > On Tue, 24 Apr 2007 13:21:25 -0700 (PDT) Christoph Lameter wrote: > > > > > On Tue, 24 Apr 2007, Andrew Morton wrote: > > > > > > > Naturally, I can't reproduce it (no amd64 boxen). A bisection search would > > > > be wonderful. > > > > > > Cannot compile a UP x86_64 kernel > > > > > > LD arch/x86_64/kernel/pcspeaker.o > > > LD arch/x86_64/kernel/built-in.o > > > AS arch/x86_64/kernel/head.o > > > CC arch/x86_64/kernel/head64.o > > > arch/x86_64/kernel/head64.c: In function 'x86_64_start_kernel': > > > arch/x86_64/kernel/head64.c:70: error: size of array 'type name' is > > > negative > > > > That's a BUILD_BUG_ON. Check the source... > > > > > > /* > > * Make sure kernel is aligned to 2MB address. Catching it at compile > > * time is better. Change your config file and compile the kernel > > * for a 2MB aligned address (CONFIG_PHYSICAL_START) > > */ > > BUILD_BUG_ON(CONFIG_PHYSICAL_START & (__KERNEL_ALIGN - 1)); > > > > You need to change your CONFIG_PHYSICAL_START so it is a multiple of 2MB. > > ???? My old .config wont work anymore. kexec requries 2MB alignment. I think your old config would have just crashed. Now you got told about it at compile time. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org