From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx103.postini.com [74.125.245.103]) by kanga.kvack.org (Postfix) with SMTP id 1FFB56B0062 for ; Mon, 18 Jun 2012 18:32:08 -0400 (EDT) Received: by dakp5 with SMTP id p5so9339664dak.14 for ; Mon, 18 Jun 2012 15:32:07 -0700 (PDT) Date: Mon, 18 Jun 2012 15:32:03 -0700 From: Tejun Heo Subject: Re: Early boot panic on machine with lots of memory Message-ID: <20120618223203.GE32733@google.com> References: <1339623535.3321.4.camel@lappy> <20120614032005.GC3766@dhcp-172-17-108-109.mtv.corp.google.com> <1339667440.3321.7.camel@lappy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1339667440.3321.7.camel@lappy> Sender: owner-linux-mm@kvack.org List-ID: To: Sasha Levin Cc: Andrew Morton , David Miller , hpa@linux.intel.com, linux-mm , "linux-kernel@vger.kernel.org" On Thu, Jun 14, 2012 at 11:50:40AM +0200, Sasha Levin wrote: > On Thu, 2012-06-14 at 12:20 +0900, Tejun Heo wrote: > > On Wed, Jun 13, 2012 at 11:38:55PM +0200, Sasha Levin wrote: > > > Hi all, > > > > > > I'm seeing the following when booting a KVM guest with 65gb of RAM, on latest linux-next. > > > > > > Note that it happens with numa=off. > > > > > > [ 0.000000] BUG: unable to handle kernel paging request at ffff88102febd948 > > > [ 0.000000] IP: [] __next_free_mem_range+0x9b/0x155 > > > > Can you map it back to the source line please? > > mm/memblock.c:583 > > phys_addr_t r_start = ri ? r[-1].base + r[-1].size : 0; > 97: 85 d2 test %edx,%edx > 99: 74 08 je a3 <__next_free_mem_range+0xa3> > 9b: 49 8b 48 f0 mov -0x10(%r8),%rcx > 9f: 49 03 48 e8 add -0x18(%r8),%rcx > > It's the deref on 9b (r8=ffff88102febd958). * Can you please post disassembly of the whole function? It seems like rsv->regions[] was corrupt. I want to verify other registers too. * Can you please try the following patch? https://lkml.org/lkml/2012/6/15/510 Thanks. -- tejun -- 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