From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Stabellini Subject: Re: 2.6.32.27 dom0 + latest xen staging boot failure Date: Fri, 11 Feb 2011 14:51:23 +0000 Message-ID: References: <987664A83D2D224EAE907B061CE93D530194305BEA@orsmsx505.amr.corp.intel.com> <20110125201008.GA18756@dumpdata.com> <987664A83D2D224EAE907B061CE93D53019434A43C@orsmsx505.amr.corp.intel.com> <20110126161400.GA3515@dumpdata.com> <987664A83D2D224EAE907B061CE93D53019434A8F7@orsmsx505.amr.corp.intel.com> <20110126212850.GB3578@dumpdata.com> <987664A83D2D224EAE907B061CE93D53019438ECB3@orsmsx505.amr.corp.intel.com> <987664A83D2D224EAE907B061CE93D53019438F211@orsmsx505.amr.corp.intel.com> <20110128152843.GB29440@dumpdata.com> <20110128154754.GA24075@dumpdata.com> <987664A83D2D224EAE907B061CE93D53019D2308A0@orsmsx505.amr.corp.intel.com> <4D54A547.9060201@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-path: In-Reply-To: <4D54A547.9060201@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Keir Fraser , Stefano Stabellini , "Kay, Allen M" , xen-devel , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org On Fri, 11 Feb 2011, Jeremy Fitzhardinge wrote: > On 02/10/2011 05:03 PM, Kay, Allen M wrote: > > Konrad/Stefano, > > > > Getting back to the xen/dom0 boot failure on my Sandybridge SDP I reported a few weeks ago. > > > > I finally got around to narrow down the problem the call to xen_add_extra_mem() in arch/x86/xen/setup.c/xen_memory_setup(). This call increase the top of E820 memory in dom0 beyond what is actually available. > > > > Before xen_add_extra_mem() is called, the last entry of dom0 e820 table is: > > > > 0000000100000000 - 000000016b45a000 (usable) > > > > After xen_add_extra_mem() is called, the last entry of dom0 e820 table becomes: > > > > 0000000100000000 - 000000023a6f4000 (usable) > > > > This pushes the top of RAM beyond what was reported by Xen's e820 table, which is: > > > > (XEN) 0000000100000000 - 00000001de600000 (usable) > > > > AFAICT, the failure is caused by dom0 accessing non-existent physical memory. The failure went away after I removed the call to xen_add_extra_mem(). > > That "extra memory" stuff is reserving some physical address space for > ballooning. It should be completely unused (and unbacked by any pages) > until the balloon driver populates it; it is reserved memory in the > meantime. > > How is that memory getting referenced in your case? > In particular it would be very interesting to know what the RIP of the crash resolves to.