From: Simon Horman Subject: Re: Re: Possible regression in "x86-64: reduce range spanned by 1:1 mapping and frame table indexes" Date: Mon, 7 Dec 2009 23:13:34 +1100 Message-ID: <20091207121333.GE31729@verge.net.au> References: <20091206235307.GA12909@verge.net.au> <4B1CE90702000078000240F3@vpn.id2.novell.com> <20091207104824.GB31729@verge.net.au> <4B1CEFD40200007800024127@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4B1CEFD40200007800024127@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Mon, Dec 07, 2009 at 11:06:44AM +0000, Jan Beulich wrote: > >>> Simon Horman 07.12.09 11:48 >>> > >On Mon, Dec 07, 2009 at 10:37:43AM +0000, Jan Beulich wrote: > >> While I can't determine the exact source location corresponding to the > >> crash (without the disassembly of the function), the page table walk > >> suggests this is a read from to the M2P table, which imposes a couple > >> of questions: How can this be a non-quad-word aligned access? Is the > >> access, if it makes sense, guarded by an mfn_valid() check? Is the > >> memory address corresponding to the M2P slot (mfn 0x3c20001) in a > >> physical memory hole? > > > >Any tips on how I could investigate those questions? > > For the first two, you'd have to connect register/stack values to > source variables (by analyzing the disassembly) to understand what > access it is that causes the issue, and where the values come from. > Or alternatively just add debugging printk()-s to the function in > question (but that could be a lot of output depending on how long the > guest survives). Or whatever else debugging technique you like... Thanks, I was fearing something along those lines. > For the third, all it takes is looking up the memory map in the hypervisor > (boot) log. Ok, thats an easy one :-) I'll poke some more tomorrow.