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] [patch] (resend) mask out nx bits when calculatingpfn/mf

To: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
Subject: Re: [Xen-devel] [patch] (resend) mask out nx bits when calculatingpfn/mfn
From: "Scott Parish" <srparish@xxxxxxxxxx>
Date: Tue, 7 Jun 2005 16:23:10 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Scott Parish <srparish@xxxxxxxxxx>
Delivery-date: Tue, 07 Jun 2005 17:05:10 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7F740D512C7C1046AB53446D37200173042FE7E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <7F740D512C7C1046AB53446D37200173042FE7E4@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Tue, Jun 07, 2005 at 09:58:20AM -0700, Nakajima, Jun wrote:

> But did you really see the NX bit? I think that (NX bit) would be a good
> catch and it explains several failures of device drivers.  We should fix
> the creator of the pte (by __supported_pte_mask), not the consumer of
> it.

I was seeing it in xen_contig_memory(), which was getting called by
e100_alloc_cbs(). The crash was happening when i would run "xend start"

By "fix the creator", your suggesting that there shouldn't be an NX bit
set? Why?

> We also need to fix Xen because Xen should not reject the request just
> because it has the NX bit on.

An NX bit is now an official part of a page frame number???

i'm confused

sRp

-- 
Scott Parish
Signed-off-by: srparish@xxxxxxxxxx

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