All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: domU can't start, Non-priv warnings
@ 2005-08-16 21:32 Ian Pratt
  2005-08-17 19:35 ` Andrew Theurer
  0 siblings, 1 reply; 21+ messages in thread
From: Ian Pratt @ 2005-08-16 21:32 UTC (permalink / raw)
  To: Andrew Theurer, David F Barrera; +Cc: xen-devel


Please could you lookup the symbols for the eip and maybe the first
couple of text addresses on the stack.

Thanks,
Ian

> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com 
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of 
> Andrew Theurer
> Sent: 16 August 2005 22:25
> To: David F Barrera
> Cc: xen-devel@lists.xensource.com
> Subject: Re: [Xen-devel] domU can't start, Non-priv warnings
> 
> David F Barrera wrote:
> 
> >I was able to boot domU on 3 EMT64T machines, SLES 9 SP2 based.
> >  
> >
> 
> I seem to have problems on that changeset:
> 
> (XEN) (file=traps.c, line=880) Non-priv domain attempted 
> RDMSR(00000000c0000080.
> (XEN) DOM2: (file=mm.c, line=461) Non-privileged attempt to 
> map I/O space 000000
> (XEN) Domain 2 (vcpu#0) crashed on cpu#3:
> (XEN) CPU:    3
> (XEN) EIP:    e033:[<ffffffff8011ee11>] ???
> (XEN) EFLAGS: 0000000000000282
> (XEN) rax: 00000000ffffffea   rbx: ffffffffff578000   rcx: 
> ffffffff8011ee0d   r0
> (XEN) rsi: 0000000000000001   rdi: ffffffff80599e90   rbp: 
> 8000000000000067   r8
> (XEN) r8:  0000000000000100   r9:  0000000000020000   r10: 
> 0000000000007ff0   r6
> (XEN) r12: ffff880001703fd0   r13: ffff880001704bc0   r14: 
> 8000000000000067   r0
> (XEN) Guest stack trace from rsp=ffffffff80599e58:
> (XEN)    ffffffff8011ee0d 0000000000000206 ffffffff8011ee11 
> 000000010000e030 00
> (XEN)    8000000000000067 0000000000fc1000 ffffffff8011c91a 
> 0000000000000000 00
> (XEN)    ffffffff805c21fe 0000000000000e00 ffffffff805cab05 
> 0000000000001000 00
> (XEN)    ffffffff805c2233 0000000000000e00 ffffffff805c10a5 
> 0000000004a93830 ff
> (XEN)    ffffffff80103000 ffffffff0000000f 0000000007020800 
> ffffffff8047cb00 ff
> (XEN)    ffffffff805ba558 ffffffff80537c40 ffffffff805ba193 
> 80108e0000100038 00
> (XEN)    0000000000000000 0000000000000000 0000000000000000 
> 0000000000000000 00
> 
> >changeset:   6192:3d187585c1415fbb14cb285cc71e0ff0faf81e67
> >tag:         tip
> >user:        kaf24@firebug.cl.cam.ac.uk
> >date:        Tue Aug 16 06:20:47 2005
> >summary:     Use a SWIOTLB to use pre-reserved bounce 
> buffers for high
> >memory
> >
> >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?
> >>
> >>-Andrew
> >>
> >>_______________________________________________
> >>Xen-devel mailing list
> >>Xen-devel@lists.xensource.com
> >>http://lists.xensource.com/xen-devel
> >>
> >>    
> >>
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: domU can't start, Non-priv warnings
@ 2005-08-17 19:39 Ian Pratt
  2005-08-17 19:53 ` Andrew Theurer
  0 siblings, 1 reply; 21+ messages in thread
From: Ian Pratt @ 2005-08-17 19:39 UTC (permalink / raw)
  To: Andrew Theurer; +Cc: David F Barrera, xen-devel

 

Do you not get a couple of lines from Xen imediately preceeding the
crash? Might be worth a debug=y build.

Ian

> > Please could you lookup the symbols for the eip and maybe the first 
> > couple of text addresses on the stack.
> >
> I reproduced with a recent pull:
> 
> Latest ChangeSet: Wed Aug 17 13:22:18 2005 
> fbdbe4fc218de40d5176e0104908e05fb6e2c6ce
> 
> Looks like we are stuck in xen_l1_entry_update():
> 
> void xen_l1_entry_update(pte_t *ptr, pte_t val) {
>     mmu_update_t u;
>     u.ptr = virt_to_machine(ptr);
>     u.val = pte_val_ma(val);
>     BUG_ON(HYPERVISOR_mmu_update(&u, 1, NULL, DOMID_SELF) < 0); }
> 
> ...assuming we are hitting the BUG
> 
> stack trace:
> 
> xen_l1_entry_update
> __set_fixmap
> acpi_find_rsdp
> acpi_table_init
> acpi_boot_table_init
> setup_arch
> level3_kernel_pgt
> init_task
> start_kernel
> 
> (XEN) Domain 3 (vcpu#0) crashed on cpu#3:
> (XEN) CPU:    3
> (XEN) EIP:    e033:[<ffffffff8011ee91>] ???
> (XEN) EFLAGS: 0000000000000282
> (XEN) rax: 00000000ffffffea   rbx: ffffffffff578000   rcx: 
> ffffffff8011ee8d   r0
> (XEN) rsi: 0000000000000001   rdi: ffffffff80599e90   rbp: 
> 8000000000000067   r8
> (XEN) r8:  0000000000000100   r9:  0000000000020000   r10: 
> 0000000000007ff0   r6
> (XEN) r12: ffff880001703fd0   r13: ffff880001704bc0   r14: 
> 8000000000000067   r0
> (XEN) Guest stack trace from rsp=ffffffff80599e58:
> (XEN)    ffffffff8011ee8d 0000000000000206 ffffffff8011ee91 
> 000000010000e030 00
> (XEN)    8000000000000067 00000000001eb000 ffffffff8011c9aa 
> 0000000000000000 00
> (XEN)    ffffffff805c226e 0000000000000e00 ffffffff805cab75 
> 0000000000001000 00
> (XEN)    ffffffff805c22a3 0000000000000e00 ffffffff805c1115 
> 00000000d7c93830 ff
> (XEN)    ffffffff80103000 ffffffff0000000f 0000000007020800 
> ffffffff8047cc00 ff
> (XEN)    ffffffff805ba558 ffffffff80537740 ffffffff805ba193 
> 80108e0000100038 00
> (XEN)    0000000000000000 0000000000000000 0000000000000000 
> 0000000000000000 00
> 
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: domU can't start, Non-priv warnings
@ 2005-08-17  7:41 Petersson, Mats
  2005-08-17 11:59 ` Jerone Young
  0 siblings, 1 reply; 21+ messages in thread
From: Petersson, Mats @ 2005-08-17  7:41 UTC (permalink / raw)
  To: Jerone Young, Andrew Theurer; +Cc: xen-devel

 

> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com 
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of 
> Jerone Young
> Sent: 16 August 2005 20:33
> To: Andrew Theurer
> Cc: xen-devel@lists.xensource.com
> 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.

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@lists.xensource.com
> > http://lists.xensource.com/xen-devel
> > 
> --
> Jerone Young
> IBM Linux Technology Center
> jyoung5@us.ibm.com
> 512-838-1157 (T/L: 678-1157)
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: domU can't start, Non-priv warnings
@ 2005-08-16 20:23 Nakajima, Jun
  0 siblings, 0 replies; 21+ messages in thread
From: Nakajima, Jun @ 2005-08-16 20:23 UTC (permalink / raw)
  To: Jerone Young, Keir Fraser; +Cc: Andrew Theurer, xen-devel

Try to remove the network stuff. The warnings are harmless. I've got
domU working at least yesterday, seeing the warnings.

Jun
---
Intel Open Source Technology Center

Jerone Young wrote:
> On Tue, 2005-08-16 at 20:45 +0100, Keir Fraser wrote:
>> On 16 Aug 2005, at 20:19, Andrew Theurer wrote:
>> 
>>> 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?
>> 
>> Probably getting stuck in a page-fault loop. We also have observed
>> this probnlem but haven;t narrowed down what changeset causes the
>> problem. We think it's one from sometime last week though (before
>> the weekend). If you can give info on the last changeset that works
>> for you, that would be very useful.
> I'll take sometime tonight & go through the changesets & see if I can
> narrow it down further.
>> 
>>   -- Keir
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 21+ messages in thread
* domU can't start, Non-priv warnings
@ 2005-08-16 19:19 Andrew Theurer
  2005-08-16 19:32 ` Jerone Young
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Andrew Theurer @ 2005-08-16 19:19 UTC (permalink / raw)
  To: xen-devel

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?

-Andrew

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-08-17 19:58 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-16 21:32 domU can't start, Non-priv warnings Ian Pratt
2005-08-17 19:35 ` Andrew Theurer
  -- strict thread matches above, loose matches on Subject: below --
2005-08-17 19:39 Ian Pratt
2005-08-17 19:53 ` Andrew Theurer
2005-08-17 19:58   ` Chris Wright
2005-08-17  7:41 Petersson, Mats
2005-08-17 11:59 ` Jerone Young
2005-08-17 17:13   ` Jerone Young
2005-08-16 20:23 Nakajima, Jun
2005-08-16 19:19 Andrew Theurer
2005-08-16 19:32 ` Jerone Young
2005-08-16 19:45 ` Keir Fraser
2005-08-16 19:56   ` Andrew Theurer
2005-08-16 20:02   ` Jerone Young
2005-08-16 20:01 ` David F Barrera
2005-08-16 21:24   ` Andrew Theurer
2005-08-16 21:53     ` David F Barrera
2005-08-16 21:52       ` Keir Fraser
2005-08-16 21:59     ` David F Barrera
2005-08-16 22:14       ` Keir Fraser
2005-08-17 16:54         ` David F Barrera

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.