WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
From: Ken Cobler <kcobler@xxxxxxxxxxxxxx>
Date: Mon, 14 Dec 2009 07:50:23 -0600
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Dec 2009 05:49:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091214080410.GH16033@xxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B255D81.9040206@xxxxxxxxxxxxxx> <20091214080410.GH16033@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (X11/20090812)
Pasi Kärkkäinen wrote:
On Sun, Dec 13, 2009 at 03:32:49PM -0600, Ken Cobler wrote:
  
Hello.

I have an odd problem, but, easy to replicate.

Xen 3.4 + GPLPV + Windows 2003 guest.  I've tried this on both 
0.10.0.138 and 0.10.0.142 drivers.

If the hard drive is an image file (loaded and set in the xen config 
file), Windows 2003 guest boots and runs great with the GPLPV drivers.

If the hard drive is a physical drive or partition, Windows 2003 guest 
boots and runs fine with the QEMU drivers.

If the hard drive is a physical drive or partition, Windows 2003 guest 
boots and runs with the GPLPV drivers for about 3-5 minutes. At the 
time, the entire machine locks up and I have to power cycle machine to 
recover (no mouse, or keyboard response).

I even took the crashed Windows 2003 partition, dd copied to a file, 
setup xen to point to the image file instead of phy device.  The Windows 
2003 guest came up with the GPLPV drivers and ran great.

Is there something else that I am not doing correct to get the Windows 
2003 guest to run stable with the GPLPV drivers on a physical partition?

    

- What's your Xen version? What's your dom0 kernel version? 
- For the image file, did you use file: or tap:aio: ?
- For the physical partition, did you use phy: ?

And also please paste the whole /etc/xen/<guest> cfgfile.

  

Xen version from xm dmesg:

(XEN) Xen version 3.4.1_19718_04-2.1 (abuild@) (gcc version 4.4.1 [gcc-4_4-branch revision
 150839] (SUSE Linux) ) Tue Oct 27 16:31:01 UTC 2009

OpenSuse 11.2 dmesg out:

[    0.000000] Linux version 2.6.31.5-0.1-xen (geeko@buildhost) (gcc version 4.4.1 [gcc-4_
4-branch revision 150839] (SUSE Linux) ) #1 SMP 2009-10-26 15:49:03 +0100

For the image file used file directive:
disk=[ 'file:/var/lib/xen/images/windows2003/windows2003.img,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]

Here is the windows2003 (physical partition) xen config fie:

name="windows2003"
uuid="d86fa089-97ca-e30a-ab13-b6a7f65adcfc"
memory=1024
maxmem=1024
vcpus=1



localtime=1
keymap="en-us"

builder="hvm"
extid=0
device_model="/usr/lib/xen/bin/qemu-dm"
kernel="/usr/lib/xen/boot/hvmloader"
boot="c"
disk=[ 'phy:/dev/sda3,hda,w', 'phy:/dev/sr0,hdc:cdrom,r', ]
vif=[ 'bridge=br0,model=rtl8139', ]

stdvga=0
vnc=1
vncunused=1
apic=1
acpi=1
pae=1

usb=1
usbdevice='tablet'

serial="pty"

Thanks.  Ken Cobler
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users