Ken Cobler
2009-Dec-13 21:32 UTC
[Xen-users] Xen 3.4 + GPLPV + physical drive or partition
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? Ken Cobler _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Dec-13 23:53 UTC
RE: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
> > 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. TheWindows> 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 physicalpartition?>Can you send me the contents of /var/log/xen/qemu-dm-<domname>.log at the point where the hang occurs? I use phy: on lvm partitions almost exclusively and have no problems. I use mostly 32 bits but I''ve definitely used 64 bits for well over 3-5 minutes without problems. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Dec-14 08:04 UTC
Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
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. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ken Cobler
2009-Dec-14 13:50 UTC
Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
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/ 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 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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Dec-14 13:54 UTC
Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
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@lists.xensource.com http://lists.xensource.com/xen-users
Pasi Kärkkäinen
2009-Dec-14 14:02 UTC
Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
On Mon, Dec 14, 2009 at 08:03:16AM -0600, Ken Cobler wrote:> Pasi Kärkkäinen wrote: > > 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 > > > > 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? > > > > Unfortunately, no. >Ok. Then you might want to follow the Novell bugzilla entries.. I''ve seen multiple bug entries about 2.6.31 Xen kernel crashes there. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ken Cobler
2009-Dec-14 14:03 UTC
Re: [Xen-users] Xen 3.4 + GPLPV + physical drive or partition
Pasi Kärkkäinen wrote: 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/ 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 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? Unfortunately, no. Ken _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users