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] set_gdt failing in translated mode

To: Tim Wood <twwood@xxxxxxxxx>, Keir Fraser <keir@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] set_gdt failing in translated mode
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 12 Dec 2006 07:30:35 +0000
Cc: Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 11 Dec 2006 23:30:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9c92ada10612111212p19e8115drffe0fdcc03666f66@xxxxxxxxxxxxxx>
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: Accdv2mKqCuKBImyEduj9wANk04WTA==
Thread-topic: [Xen-devel] set_gdt failing in translated mode
User-agent: Microsoft-Entourage/11.2.5.060620
On 11/12/06 8:12 pm, "Tim Wood" <twwood@xxxxxxxxx> wrote:

> In get_page_type, I am getting this error message:
> Error while validating mfn 53be (pfn 1091) for type a0000000:
> caf=80000002 taf=00000000
> 
> Digging down as deep as I can, the root error is in check_descriptor()
> because [b & _SEGMENT_TYPE) != 0xc00] is true, so the call fails.  I'm
> not 100% sure on the significance of that yet.
> 
> I see that alloc_segdesc_page is calling check_descriptor() multiple
> times and that the first 30 iterations succeed.
> 
> any advice? --thanks in advance,

What segment type are you seeing? Can you dump the offending descriptor? The
likely fix is to ensure that the guest does not poke this particular
descriptor type into its GDT, but if necessary we may be able to make the
descriptor-validation code a little bit more flexible.

 -- Keir



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