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] A different probklem with save/restore on C/S 14823.

To: "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Tim Deegan" <Tim.Deegan@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] A different probklem with save/restore on C/S 14823.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 17 Apr 2007 10:54:12 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Apr 2007 01:53:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C249742E.D5FB%Keir.Fraser@xxxxxxxxxxxx>
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: Acd96tTWE6bfmOneEduH7gAWy6hiGQAACQawAABmlkUAADGnsAABKFp7AJZAkKAAAOryRQAfwysA
Thread-topic: [Xen-devel] A different probklem with save/restore on C/S 14823.
 

> -----Original Message-----
> From: Keir Fraser [mailto:Keir.Fraser@xxxxxxxxxxxx] 
> Sent: 16 April 2007 18:43
> To: Petersson, Mats; Tim Deegan
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] A different probklem with 
> save/restore on C/S 14823.
> 
> On 16/4/07 18:20, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:
> 
> >>> I will look at it on Monday (before I update to the new
> >> version, just to
> >>> make sure I can reproduce it still ;-) ).
> >> 
> > Ok, so some further checks, and it looks like address zero 
> (0-0xfff) is
> > mapped in, read/write. I haven't looked at the page-table, 
> just tried to
> > write to the pointer that is zero and it didn't "crash".
> > 
> > Any thoughts on where I should head off on this for tomorrow.
> 
> What sub-arch is Xen built for (32, pae, 64)? Are you using 
> NPT or shadow
> mode? 

64-bit, shadow mode. [Haven't even got a machine with NPT :-(]

> I'd suggest write a bit of code to dump %cr3, and check 
> e.g., are you
> running on the v->arch.monitor_table. Dump all entries in the 
> top-level page
> directory -- are they all populated, or is entry 0 the only 
> lowmem one to be
> populated? Dump the pagetable walk all the way down to the mapping of
> address 0: what machine address is mapped there?

Whilst I agree this is a good path to go down, I'm not quite sure why
cr3 would point anywhere but to monitor_table, is there any (legal) case
where cr3 isn't this value when in the hypervisor?

--
Mats

> 
> I.e., basically just dump some interesting stuff and let's 
> narrow it down
> from there.
> 
>  -- Keir
> 
> 
> 
> 
> 



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

<Prev in Thread] Current Thread [Next in Thread>