Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753946Ab2FRWcJ (ORCPT ); Mon, 18 Jun 2012 18:32:09 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:32910 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753003Ab2FRWcH (ORCPT ); Mon, 18 Jun 2012 18:32:07 -0400 Date: Mon, 18 Jun 2012 15:32:03 -0700 From: Tejun Heo To: Sasha Levin Cc: Andrew Morton , David Miller , hpa@linux.intel.com, linux-mm , "linux-kernel@vger.kernel.org" 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> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1459 Lines: 41 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 from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/