[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] How to convert windows 2003 from XenServer to Xen



I'm having some trouble converting a MS Windows 2003 server from
XenServer 5.6 to Xen.

What I've done:
1) Export of the VM from XenCenter and saved to a file
2) Converted the tar file, and re-built a raw image file
3) Wrote the final file to a LVM, fdisk -l <LVM> shows the partition table
4) Exported the LVM via iSCSI, the remote physical machine can see the
partition table on the iSCSI device
5) Started the VM

What I get:
Normal boot up process, except when doing a normal boot, I get stuck
with the black screen, windows logo, and the moving blue bar across the
bottom. This continues for more than 6 hours.... ie, it hangs, though
the blue bar is still moving.

root@pm08:/etc/xen# xm list
Name                                        ID   Mem VCPUs      State  
Time(s)
Domain-0                                     0  9967     6     r-----  
1121.0
win2003                                       3  6144     2     -b----  
1154.3

Copy of the config file:
kernel        = "/usr/lib/xen-default/boot/hvmloader"
builder        = 'hvm'
memory        = 6144
shadow_memory    = 12
device_model    = '/usr/lib/xen-default/bin/qemu-dm'
#extra        = "clocksource=jiffies"
localtime    = 1
name        = "win2003"
cpus        = "1,2"        # Which physical CPU's to allow
vcpus        = 2        # How many Virtual CPU's to present
viridian    = 1
disk = [
'phy:/dev/disk/by-path/ip-10.66.3.12:3260-iscsi-iqn.2012-06.trojanworkforce:win2003-lun-0,hda,w',
'file:/mnt/images/XenGPL_PV.iso,ioemu:hdc:cdrom,r' ]
boot        = 'c'
sdl        = 0
vnc        = 1
vncviewer    = 0
vncconsole    = 0
vncunused    = 1
stdvga        = 0
usb        = 1
usbdevice    = 'tablet'
acpi        = 1
apic        = 1
on_reboot    = 'restart'
on_poweroff    = 'destroy'
on_crash    = 'restart'
audio        = 1
soundhw        = 'sb16'

I've copied this config from another machine which is running a windows
2003 VM successfully....

root@pm08:/etc/xen# dpkg -l | grep xen
ii  libxen-4.1                         
4.1.3~rc1+hg-20120614.a9c0a89c08f2-2 Public libs for Xen
ii  libxenstore3.0                     
4.1.3~rc1+hg-20120614.a9c0a89c08f2-2 Xenstore communications library for Xen
ii  linux-image-2.6.32-5-xen-amd64     
2.6.32-45                            Linux 2.6.32 for 64-bit PCs, Xen
dom0 support
ii  xen-hypervisor-4.0-amd64           
4.0.1-5.2                            The Xen Hypervisor on AMD64
ii  xen-linux-system-2.6-xen-amd64     
3.2+45                               Xen system with Linux for 64-bit
PCs (dummy package)
ii  xen-linux-system-2.6.32-5-xen-amd64
2.6.32-45                            Xen system with Linux 2.6.32 on
64-bit PCs (meta-package)
ii  xen-linux-system-3.2.0-3-amd64     
3.2.21-3                             Xen system with Linux 3.2 on 64-bit
PCs (meta-package)
ii  xen-linux-system-amd64             
3.2+45                               Xen system with Linux for 64-bit
PCs (meta-package)
ii  xen-qemu-dm-4.0                    
4.0.1-2+squeeze1                     Xen Qemu Device Model virtual
machine hardware emulator
ii  xen-utils-4.0                      
4.0.1-5.2                            XEN administrative tools
ii  xen-utils-common                   
4.1.3~rc1+hg-20120614.a9c0a89c08f2-2 Xen administrative tools - common files
ii  xenstore-utils                     
4.1.3~rc1+hg-20120614.a9c0a89c08f2-2 Xenstore utilities for Xen

I get exactly the same result from Debian Stable as I do from Debian
Testing (above packages are Debian Testing)
Linux pm08 3.2.0-3-amd64 #1 SMP Thu Jun 28 09:07:26 UTC 2012 x86_64
GNU/Linux
The last few lines from xm dmesg:
(XEN) Freed 176kB init memory.
(XEN) traps.c:2308:d0 Domain attempted WRMSR 00000000c0010004 from
00000007:d99dc798 to 00000000:0000abcd.
(XEN) physdev.c:103: dom0: wrong map_pirq type 3
(XEN) hvm.c:3129:d2 Bad HVM op 259.
(XEN) hvm.c:3129:d3 Bad HVM op 259.

The last few lines from /var/log/xen/qemu-dm-win2003.log
 XENUTIL: WARNING: CloseFrontend: timed out in
XenbusWaitForBackendStateChange: /local/domain/0/backend/vfb/3/0 in
state INITIALISING; retry.
 XENUTIL: WARNING: CloseFrontend: timed out in
XenbusWaitForBackendStateChange: /local/domain/0/backend/vfb/3/0 in
state INITIALISING; retry.
 XENUTIL: WARNING: CloseFrontend: timed out in
XenbusWaitForBackendStateChange: /local/domain/0/backend/vfb/3/0 in
state INITIALISING; retry.
 XENUTIL: WARNING: CloseFrontend: timed out in
XenbusWaitForBackendStateChange: /local/domain/0/backend/vfb/3/0 in
state INITIALISING; retry.
 XENUTIL: WARNING: CloseFrontend: timed out in
XenbusWaitForBackendStateChange: /local/domain/0/backend/vfb/3/0 in
state INITIALISING; retry.
Just realised, this seems to repeat approx once per minute.

I can boot into "safe mode" and get a working system, but obviously I
need to be able to boot normally...

If any additional information needs to be provided, please let me know.

Can anybody suggest a solution to make this work?
PS, yes, I made an iso image of all the GPLPV drivers (current version)
so that once the machine boots I can install them, but I don't seem to
get far enough to install them....

Regards,
Adam

-- 
Adam Goryachev
Website Managers
www.websitemanagers.com.au


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.