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] Re: Oops when loading xen_platform_pci module in HVM dom

To: Steve Dobbelstein <steved@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Oops when loading xen_platform_pci module in HVM domain on CS 11429
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 07 Sep 2006 22:11:37 +0100
Delivery-date: Thu, 07 Sep 2006 14:10:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <OF202C29D8.6ABB40EA-ON052571E2.0068A3F3-052571E2.006E4CD7@xxxxxxxxxx>
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: AcbSwjRTcqeJSj61Edue4QAX8io7RQ==
Thread-topic: [Xen-devel] Re: Oops when loading xen_platform_pci module in HVM domain on CS 11429
User-agent: Microsoft-Entourage/11.2.5.060620


On 7/9/06 21:04, "Steve Dobbelstein" <steved@xxxxxxxxxx> wrote:

> I tried hacking some code to turn off the NX bit in the PTE for the
> hypercall stubs page, but I still get the oops.  I'm thinking it's because
> the NX bit is set in the PMD.
> 
> I'm quite new to the paging mechanism, so I'm not sure how to fix this at
> the moment.   I'll keep poking around.  thought I'd share my findings so
> far.

Page directory entries use permissions _PAGE_TABLE, which does not include
_PAGE_NX. So clearing _PAGE_NX from the PTEs, using
change_page_attr(PAGE_KERNEL_EXEC), should suffice.

 -- Keir



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