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

RE: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction emulationtoVMXAssist decoder


  • To: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Li, Xin B" <xin.b.li@xxxxxxxxx>
  • Date: Tue, 3 Oct 2006 09:29:26 +0800
  • Cc: tim.deegan@xxxxxxxxxxxxx
  • Delivery-date: Mon, 02 Oct 2006 18:30:04 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcbkTI74AGeDZLhDTZyUkPuNga4A9QAAV/mwAAdmgrAAAVh/wAAAK1VwACEe6dAAG37uUABJt6vQ
  • Thread-topic: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction emulationtoVMXAssist decoder

>
>> >  acpi=0 apic=1 pae=1 vcpus=2
>> 
>> If acpi is 0, it's not a SMP kernel.
>
>Windows should select the MPS HAL (Halmps.dll) which is SMP 
>capable. Have you tried this combination? What HAL are you 
>seeing Windows select?

Force windows installer to use MPS hal, I got:

(XEN) vmx_do_launch(): GUEST_CR3<=00fa77a0, HOST_CR3<=237723000
(XEN) (GUEST: 21) Start AP 1 from 00030000 ...
(XEN) (GUEST: 21) Starting emulated 16-bit real-mode: ip=3000:0000
(XEN) (file=x86_emulate.c, line=1152) Cannot emulate c1
(XEN) sh error: sh_remove_shadows(): can't find all shadows of mfn 216cd3 
(shadow_flags=80000008)
(XEN) domain_crash called from common.c:2197
(XEN) Domain 21 (vcpu#0) crashed on cpu#7:
(XEN) ----[ Xen-3.0-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    7
(XEN) RIP:    0008:[<00000000805255c5>]
(XEN) RFLAGS: 0000000000010283   CONTEXT: hvm
(XEN) rax: 0000000000000002   rbx: 00000000863c4b98   rcx: 00000000863c2008
(XEN) rdx: 0000000000000002   rsi: 00000000863c2020   rdi: 0000000000000000
(XEN) rbp: 00000000f79f6770   rsp: 00000000f79f663c   r8:  0000000000000000
(XEN) r9:  0000000000000000   r10: 0000000000000000   r11: 0000000000000000
(XEN) r12: 0000000000000000   r13: 0000000000000000   r14: 0000000000000000
(XEN) r15: 0000000000000000   cr0: 000000008001003b   cr4: 0000000000000671
(XEN) cr3: 0000000000fa97a0   cr2: 00000000e100f000
(XEN) ds: 0023   es: 0023   fs: 0030   gs: 0000   ss: 0010   cs: 0008


So, it should be a bug in shadow when windows guest is using PAE :-(
But, x86 SMP vista boots fine, although it's using PAE.

-Xin

>
>So: the crash issue you see is only with acpi=1 apic=1 pae=1 
>vcpus=2. How much memory are you giving the VM?
>
>Thanks,
>Ian
>
>
>> >>
>> >debug=y builds of xen may give us a little more idea of what
>> >is going on.
>> >
>> >> >
>> >> >Thanks,
>> >> >Ian
>> >> >
>> >> >
>> >> >> (XEN) sh error: sh_remove_shadows(): can't find all shadows
>> >> >of mfn 23ecf7
>> >> >> (shadow_flags=80000008)
>> >> >> (XEN) domain_crash called from common.c:2197
>> >> >> (XEN) Domain 1 (vcpu#0) crashed on cpu#3:
>> >> >> (XEN) ----[ Xen-3.0-unstable  x86_64  debug=n  Not 
>tainted ]----
>> >> >> (XEN) CPU:    3
>> >> >> (XEN) RIP:    0008:[<000000008086bf9b>]
>> >> >> (XEN) RFLAGS: 0000000000010283   CONTEXT: hvm
>> >> >> (XEN) rax: 0000000000000002   rbx: 00000000821a57a8   rcx:
>> >> >00000000821a3008
>> >> >> (XEN) rdx: 0000000000000002   rsi: 00000000821a3020   rdi:
>> >> >00000000821a54d0
>> >> >> (XEN) rbp: 00000000f885ebd8   rsp: 00000000f885ea98   r8:
>> >> >0000000000000000
>> >> >> (XEN) r9:  0000000000000000   r10: 0000000000000000   r11:
>> >> >0000000000000000
>> >> >> (XEN) r12: 0000000000000000   r13: 0000000000000000   r14:
>> >> >0000000000000000
>> >> >> (XEN) r15: 0000000000000000   cr0: 000000008001003b   cr4:
>> >> >0000000000000671
>> >> >> (XEN) cr3: 00000000002677a0   cr2: 00000000e1005004
>> >> >> (XEN) ds: 0023   es: 0023   fs: 0030   gs: 0000   ss:
>> >0010   cs: 0008
>> >> >>
>> >> >> -Xin
>> >> >>
>> >> >> >-----Original Message-----
>> >> >> >From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>> >> >> >[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>> >> >Li, Xin B
>> >> >> >Sent: 2006年9月30日 12:55
>> >> >> >To: xen-devel@xxxxxxxxxxxxxxxxxxx
>> >> >> >Subject: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction
>> >> >> >emulation toVMXAssist decoder
>> >> >> >
>> >> >> >add RDMSR/WRMSR instruction emulation to VMXAssist decoder
>> >> >> >
>> >> >> >AP of PAE SMP windows will use it to set NX bit in EFER.
>> >> >> >
>> >> >> >Signed-off-by: Xin Li <xin.b.li@xxxxxxxxx>
>> >> >> >
>> >> >>
>> >> >> _______________________________________________
>> >> >> 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®.