<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0">
</HEAD>
<BODY>
I've got WinXP running on the 2647 kernel on FC6. The guest runs well, but the install was more than a little challenging. I ended up installing the guest using QEMU (which was tremendously slow) but once the install had completed the guest runs well.<BR>
<BR>
<BR>
<BR>
On Mon, 2006-09-25 at 22:04 +0100, Daniel P. Berrange wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Mon, Sep 25, 2006 at 04:51:46PM -0400, Orathai Sukwong wrote:</FONT>
<FONT COLOR="#000000">> Hi,</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> I've tried to bring the 32bit WinXP guest up on the Fedore Core 6-xen. My</FONT>
<FONT COLOR="#000000">> xen release is 2.6.17-1.2647.fc6xen and version #1 SMP Wed Sep 13 13:26:53</FONT>
<FONT COLOR="#000000">> EDT 2006. xen_caps are xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p. My</FONT>
<FONT COLOR="#000000">> machine is running the Fedora Core 6 i686. The problem is that when I booted</FONT>
<FONT COLOR="#000000">> the WinXP guest, it crashed. Here are some debugging info:</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> (XEN) (GUEST: 5) unsupported PCI BIOS function 0x0E</FONT>
<FONT COLOR="#000000">> (XEN) (GUEST: 5) int13_harddisk: function 15, unmapped device for ELDL=81</FONT>
<FONT COLOR="#000000">> (XEN) 0f 6f, This opcode isn't handled yet</FONT>
<FONT COLOR="#000000">> (XEN) handle_mmio: failed to decode instruction</FONT>
<FONT COLOR="#000000">> (XEN) mmio opcode: va 0xf81393c0, gpa 0xf00783c0, len 3: 0f 6f 06</FONT>
<FONT COLOR="#000000">> (XEN) domain_crash_sync called from platform.c:869</FONT>
<FONT COLOR="#000000">> (XEN) Domain 5 (vcpu#0) crashed on cpu#0:</FONT>
<FONT COLOR="#000000">> (XEN) ----[ Xen-3.0-unstable    Not tainted ]----</FONT>
<FONT COLOR="#000000">> (XEN) CPU:    0</FONT>
<FONT COLOR="#000000">> (XEN) EIP:    0008:[<bf902854>]</FONT>
<FONT COLOR="#000000">> (XEN) EFLAGS: 00010202   CONTEXT: hvm</FONT>
<FONT COLOR="#000000">> (XEN) eax: f81393c0   ebx: e10875cc   ecx: 0000002a   edx: 00000008</FONT>
<FONT COLOR="#000000">> (XEN) esi: f81393c0   edi: e10875d2   ebp: f86440d4   esp: f86440c8</FONT>
<FONT COLOR="#000000">> (XEN) cr0: 80010031   cr3: 001f9ea0</FONT>
<FONT COLOR="#000000">> (XEN) ds: 0023   es: 0023   fs: 0030   gs: 0000   ss: 0010   cs: 0008</FONT>
<FONT COLOR="#000000">> (XEN) sh_update_paging_modes: postponing determination of shadow mode</FONT>
<FONT COLOR="#000000">> (XEN) (file=hvm.c, line=195) Allocated port 3 for hvm.</FONT>
<FONT COLOR="#000000">> (XEN) vmx_do_launch(): GUEST_CR3<=001f9ea0, HOST_CR3<=2bd03000</FONT>
<FONT COLOR="#000000">> (XEN) (file=event_channel.c, line=176) EVTCHNOP failure: domain 0, error</FONT>
<FONT COLOR="#000000">> -22, line 176</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> domid: 6</FONT>
<FONT COLOR="#000000">> qemu: the number of cpus is 1</FONT>
<FONT COLOR="#000000">> shared page at pfn:1ffff, mfn: 21d54</FONT>
<FONT COLOR="#000000">> buffered io page at pfn:1fffd, mfn: 21d56</FONT>
<FONT COLOR="#000000">> char device redirected to /dev/pts/2</FONT>
<FONT COLOR="#000000">> bind interdomain ioctl error 22</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">> Any ideas what went wrong? Please help me. Thank you.</FONT>

<FONT COLOR="#000000">This is a bug in the HVM emulation layer. In some cases it needs to emulate</FONT>
<FONT COLOR="#000000">instructions, but it looks like WinXp issues one it was unable to emulate</FONT>
<FONT COLOR="#000000">yet. I checked upstream  xen-unstable.hg  repository there's still no support</FONT>
<FONT COLOR="#000000">for this. Please enter a bugzilla ticket with the details from this mail so</FONT>
<FONT COLOR="#000000">the problem can be tracked.  I'm afraid there's no immediate work around I</FONT>
<FONT COLOR="#000000">can think of to make this work, so you might want to try Windows 2k instead</FONT>
<FONT COLOR="#000000">which I believe has been getting more upstream testing than XP</FONT>

<FONT COLOR="#000000">Regards,</FONT>
<FONT COLOR="#000000">Dan.</FONT>
</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>

Andrew Cathrow
Red Hat, Inc.

(678) 733 0452 - Mobile
(404) 437 6178 - Home Office

<A HREF="mailto:acathrow@redhat.com">acathrow@redhat.com</A>

</PRE>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>