WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] 3.1/2 live migration panic

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] 3.1/2 live migration panic
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 17 Jan 2008 08:10:15 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Delivery-date: Thu, 17 Jan 2008 00:10:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080117024248.GA5331@xxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AchY4GPHokyO8sTTEdyCvAAWy6hiGQ==
Thread-topic: [Xen-devel] 3.1/2 live migration panic
User-agent: Microsoft-Entourage/11.3.6.070618
On 17/1/08 02:42, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

> On Wed, Jan 16, 2008 at 11:01:21PM +0000, Keir Fraser wrote:
> 
> (I'm back on 3.1 bits here)
> 
> 1894     sl2e = shadow_get_and_create_l2e(v, gw, &sl2mfn, ft);
> 1895     if ( sl2e == NULL ) return NULL;
> 1896     /* Install the sl1 in the l2e if it wasn't there or if we need to
> 1897      * re-do it to fix a PSE dirty bit. */
> 1898     if ( shadow_l2e_get_flags(*sl2e) & _PAGE_PRESENT
> 
> So sl2e is non-zero, but bogus:
> 
>> ffff81c0ffc07c48::dump
>                     0 1 2 3  4 5 6 7 \/ 9 a b  c d e f  01234567v9abcdef
> mdb: failed to read data at 0xffff81c0ffc07c48: no mapping for address
> 
> This pointer is a constant though (right?)

What do you mean by 'a constant'? It's a pointer into the guest linear
pagetable, which I suppose is what we expect, and for some reason there is
no PTE at that location to be read. Clearly a higher-level page directory is
missing. Possibly shadow code has got confused and thought a page directory
was present when it wasn't, or perhaps the page directory went away (and/or
was in the process of disappearing from TLBs) as the shadow fault handler
went about its business. I'm sure Tim will have some insights. :-)

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel