[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] domU can't start, Non-priv warnings


  • To: "Petersson, Mats" <mats.petersson@xxxxxxx>
  • From: Jerone Young <jerone@xxxxxxxxx>
  • Date: Wed, 17 Aug 2005 06:59:55 -0500
  • Cc: Jerone Young <jyoung5@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, Andrew Theurer <habanero@xxxxxxxxxx>
  • Delivery-date: Wed, 17 Aug 2005 11:58:08 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=MsaRT7V1QQkFrJ8BTVbepvzzXVoqhqhtjVFnljWIM3q6FN4nBhkj4fthkA5fa5mbSqZOX8kTgNtGd8ENrpuP/NihkVAXYVAF2O2eio3SdxEOJMx56zLUMKwpLxnuKIkaxEWlZVUpLmE7HMHnG0QuM6+z6yH75tjzA+vU3jz7Vgc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 8/17/05, Petersson, Mats <mats.petersson@xxxxxxx> wrote:
> 
> 
> > -----Original Message-----
> > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Jerone Young
> > Sent: 16 August 2005 20:33
> > To: Andrew Theurer
> > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: Re: [Xen-devel] domU can't start, Non-priv warnings
> >
> > On Tue, 2005-08-16 at 14:19 -0500, Andrew Theurer wrote:
> > > Can't seem to fully boot a domU on either EM64T or Opteron
> > with x86_64
> > > xen-unstable.  Both systems' report this from xen:
> > >
> > > (XEN) (file=traps.c, line=872) Non-priv domain attempted
> > > WRMSR(00000000c0000100.
> > > (XEN) (file=traps.c, line=872) Non-priv domain attempted
> > > WRMSR(00000000c0000102.
> > > (XEN) (file=traps.c, line=880) Non-priv domain attempted
> > > RDMSR(00000000c0000080.
> > >
> > > They boot partially, ending with:
> > >
> > > xen_mem: Initialising balloon driver.
> > > Grant table initialized
> > > IA32 emulation $Id: sys_ia32.c,v 1.32 2002/03/24 13:02:28 ak Exp $
> > > audit: initializing netlink socket (disabled)
> > > audit(1124251914.348:0): initialized
> > > VFS: Disk quotas dquot_6.5.1
> > > Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> > >
> > >
> > > This is with the default kernel configs xen-unstable
> > provides.  NX is
> > > enabled on the EM64T.  I could not find a similar BIOS option for
> > > Opteron.  Even through they are "stuck", cpu time for these domains
> > > increments steadily.  Any ideas?
> >
> > Checking it out...looks like Xen is pretty screwed on Opteron
> > machines at the moment (at least on my dual Opteron
> > workstation). There seems to be some timer issue...takes
> > forever fro the machine to boot up.
> >
> > Oh..AMD does not have an option for the NX bit...the cpu
> > always can understand it.
> 
> That is incorrect. AMD's 64-bit processors use NXE, bit 11, in EFER (MSR
> 0xC0000080) to determine if NX is "in use" or not.

You apparently miss understand this. Intel CPUs have an option in the
bios where if bit 11 is set it has no idea what to do with it. Where
as on AMD 64-bit CPUs if bit 11 is set then it always does. My big
complaint is why Intel made this possible in the first place.

> However, I'm not aware of any way to disable the ability to set this bit
> in the MSR, if that's what you mean by "AMD does not have an option for
> the NX bit".
> 
> --
> Mats
> > >
> > > -Andrew
> > >
> > > _______________________________________________
> > > Xen-devel mailing list
> > > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-devel
> > >
> > --
> > Jerone Young
> > IBM Linux Technology Center
> > jyoung5@xxxxxxxxxx
> > 512-838-1157 (T/L: 678-1157)
> >
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-devel
> >
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.