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/
Home Products Support Community News


[Xen-devel] Re: [Xen-changelog] Fix NX/XD enable on secondary CPUs.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: [Xen-changelog] Fix NX/XD enable on secondary CPUs.
From: Gerd Knorr <kraxel@xxxxxxx>
Date: 13 Jul 2005 12:17:30 +0200
Delivery-date: Wed, 13 Jul 2005 10:18:45 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1DscXL-0000Y9-14@xxxxxxxxxxxxxxxxxxxxx>
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>
Organization: SUSE Labs, Berlin
References: <E1DscXL-0000Y9-14@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx> writes:

> Fix NX/XD enable on secondary CPUs.
> Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

I think I have this problem with PAE as well.  Machine is SMP
(hyperthreaded).  PAE dom0 boots fine on CPU #0.  PAE domU is bound to
CPU #1 by default and boots to the login prompt as well, but only with
NX disabled (and network disabled, but that's another story ...).

With NX-enabled domU boot I get this ...

  (XEN) (file=traps.c, line=872) Non-priv domain attempted 
  (XEN) (file=traps.c, line=864) Non-priv domain attempted 

... and the kernel crashes shortly later, I guess due to NX pte entry
without NX being enabled on CPU #1.  It crashes right after the first
set_fixmap call which creates a pte entry with NX set.


panic("it works"); /* avoid being flooded with debug messages */

Xen-devel mailing list

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