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: Ken Cobler <kcobler@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
From: Pasi Kärkkäinen <pasik@xxxxxx>
Date: Mon, 14 Dec 2009 15:54:11 +0200
Cc: Xen Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 14 Dec 2009 05:54:52 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B26429F.90001@xxxxxxxxxxxxxx>
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> <4B26429F.90001@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.13 (2006-08-11)
On Mon, Dec 14, 2009 at 07:50:23AM -0600, Ken Cobler wrote:
>    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=[ '[1]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
>    on_poweroff="destroy"
>    on_reboot="restart"
>    on_crash="destroy"
>    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
> 

OpenSUSE 2.6.31 Xen kernel is known to have problems/bugs causing dom0
kernel crashes.

Could you try earlier (2.6.29 or 2.6.27) dom0 kernel? 

-- Pasi


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