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] Page fault on mapped pages with reserved bits set

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Page fault on mapped pages with reserved bits set
From: Trammell Hudson <hudson@xxxxxxxxxxxxxx>
Date: Wed, 20 Jun 2007 18:23:00 -0400
Delivery-date: Wed, 20 Jun 2007 15:21:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C29F6456.97D2%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>
References: <20070620215910.GE13971@xxxxxxxxxxxxxx> <C29F6456.97D2%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.10i
On Wed, Jun 20, 2007 at 11:10:14PM +0100, Keir Fraser wrote:
> It's a protection violation on a write, because none of your page directory
> entries have bit 1 (_PAGE_RW) set. That bit gets ANDed down the entire page
> walk, so it needs to be set at every level for the page to actually be
> writable.

Super!  That was it.

The kernel was originally written for a CPU and system that allowed
the ring 0 code to write to memory, even if it was flagged as
non-writable.  Moving it into ring 3 has been problematic in other
areas, too, so it isn't booting all the way yet, but is making much
quicker progress now!

-- Trammell

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

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