Li, Xin B
2006-Oct-01 10:36 UTC
RE: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction emulationtoVMXAssist decoder
> >So, acpi=1 apic=1 pae=1 vcpus=2 ? > >Please can you also try an install with: > acpi=1 apic=1 pae=1 vcpus=1For this I got: (file=x86_emulate.c, line=1152) Cannot emulate c1 But it can boot, and windows reports 1 CPU runnning in task manager :-), and PAE is in using.> acpi=1 apic=1 pae=0 vcpus=2Successful boot, and windows reports 2 CPU runnning in task manager :-)> acpi=0 apic=1 pae=1 vcpus=2If acpi is 0, it''s not a SMP kernel. -Xin>> >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@lists.xensource.com >> >> >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of >> >Li, Xin B >> >> >Sent: 2006年9月30日 12:55 >> >> >To: xen-devel@lists.xensource.com >> >> >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@intel.com> >> >> > >> >> >> >> _______________________________________________ >> >> 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
Ian Pratt
2006-Oct-01 14:21 UTC
RE: [Xen-devel] [PATCH] add RDMSR/WRMSR instruction emulationtoVMXAssist decoder
> >So, acpi=1 apic=1 pae=1 vcpus=2 ? > > > >Please can you also try an install with: > > acpi=1 apic=1 pae=1 vcpus=1 > > For this I got: > (file=x86_emulate.c, line=1152) Cannot emulate c1This is harmless, unless its immediately followed by a crash due to being unable to remove all shadows :)> But it can boot, and windows reports 1 CPU runnning in task manager :-), > and PAE is in using.Good.> > acpi=1 apic=1 pae=0 vcpus=2 > > Successful boot, and windows reports 2 CPU runnning in task manager :-)Good.> > 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? 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@lists.xensource.com > >> >> >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of > >> >Li, Xin B > >> >> >Sent: 2006年9月30日 12:55 > >> >> >To: xen-devel@lists.xensource.com > >> >> >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@intel.com> > >> >> > > >> >> > >> >> _______________________________________________ > >> >> 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