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] DomU Ubuntu Feisty running Windows XP or Windows 2003 se

To: Aidan Carty <bobdob@xxxxxxxxx>
Subject: Re: [Xen-users] DomU Ubuntu Feisty running Windows XP or Windows 2003 server
From: Thomas Traeger <t.traeger@xxxxxxxxx>
Date: Mon, 21 May 2007 17:48:29 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 21 May 2007 08:47:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <d98ad30705170528x5684b5afo2e3f40bc7c20cdc@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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <d98ad30705170528x5684b5afo2e3f40bc7c20cdc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
try enabling acpi and/or apic

during my tests I used acpi and apic on for XP/2003, but W2K only worked with both disabled.

Good luck!

Aidan Carty schrieb:
Anybody out there running Windows XP, Windows XP SP2 or Windows 2003 server with the default XEN 3.0.3 on Ubuntu Feisty ?

Have Ubuntu Feisty Dom0 with a number of Ubuntu 6.1/7.04 and Debian DomUs all working lovely. But it will not work for any windows versions. The install gets as far as the blue "Setup is Starting Windows" screen.
Intel VT extensions are enabled and the F5 trick makes no difference.

>config
kernel = "/usr/lib/xen-ioemu-3.0/boot/hvmloader"
builder = "hvm"
memory = "768"
name = "WindowsXP"
vcpus = "1"
disk=['phy:/dev/vg-xen-fs/xen-winxp-test,ioemu:hda,w', 'file:/xen-iso/en_winxp_pro_with_sp2.iso,hdc:cdrom,r']
device_model = "/usr/lib/xen-ioemu-3.0/bin/qemu-dm"
ne2000=0
boot = "d"
vnc=1
vncviewer=1
serial='pty'
pae=0
acpi=0
apic=0
vif=['type=ioemu, mac=00:16:3e:01:01:25, bridge=xenbr1']

Also tried an image
disk = [ 'file:/etc/xen/winxp.img,ioemu:hda,w', 'file:/xen-iso/en_winxp_pro_with_sp2.iso,hdc:cdrom,r' ]

xm dmesg
(XEN) (GUEST: 47) ata0-0: PCHS=16383/16/63 translation=lba LCHS=1024/255/63
(XEN) (GUEST: 47) ata0 master: QEMU HARDDISK ATA-7 Hard-Disk (8192 MBytes)
(XEN) (GUEST: 47) ata0 slave: Unknown device
(XEN) (GUEST: 47) ata1 master: QEMU CD-ROM ATAPI-4 CD-Rom/DVD-Rom
(XEN) (GUEST: 47) ata1 slave: Unknown device
(XEN) (GUEST: 47)
(XEN) (GUEST: 47) Booting from Hard Disk...
(XEN) (GUEST: 47) unsupported PCI BIOS function 0x0E
(XEN) (GUEST: 47) int13_harddisk: function 15, unmapped device for ELDL=81

cat xend.log
[2007-05-17 10:27:59 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'winxp'], ['memory', '512'], ['vcpus', '1'], ['image', ['hvm', ['kernel', '/usr/lib/xen- ioemu-3.0/boot/hvmloader'], ['args', 'VNC_VIEWER=darknight:5501 '], ['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/vg-xen-fs/xen-winxp-test'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/xen-iso/en_winxp_pro_with_sp2.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge', 'xenbr1'], ['mac', '00:16:3e:01:01:25'], ['type', 'ioemu']]]]) [2007-05-17 10:27:59 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'winxp'], ['memory', '512'], ['vcpus', '1'], ['image', ['hvm', ['kernel', '/usr/lib/xen- ioemu-3.0/boot/hvmloader'], ['args', 'VNC_VIEWER=darknight:5501 '], ['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/vg-xen-fs/xen-winxp-test'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/xen-iso/en_winxp_pro_with_sp2.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge', 'xenbr1'], ['mac', '00:16:3e:01:01:25'], ['type', 'ioemu']]]] [2007-05-17 10:27:59 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen- ioemu-3.0/boot/hvmloader'], ['args', 'VNC_VIEWER=darknight:5501 '], ['device_model', '/usr/lib/xen-ioemu-3.0/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'winxp', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/vg-xen-fs/xen-winxp-test'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/xen-iso/en_winxp_pro_with_sp2.iso'], ['dev', 'hdc:cdrom'], ['mode', 'r']]), ('vif', ['vif', ['bridge', 'xenbr1'], ['mac', '00:16:3e:01:01:25'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2007-05-17 10:27:59 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:1262) XendDomainInfo.construct: None [2007-05-17 10:27:59 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:1294) XendDomainInfo.initDomain: 47 1.0
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: boot, val: d
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: fda, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: fdb, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: soundhw, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: localtime, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: serial, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: std-vga, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: isa, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: vcpus, val: 1
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: acpi, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: usb, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: usbdevice, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (image:329) args: k, val: None
[2007-05-17 10:27:59 xend 9237] DEBUG (balloon:127) Balloon: 806308 KiB free; need 541904; done. [2007-05-17 10:27:59 xend 9237] INFO (image:136) buildDomain os=hvm dom=47 vcpus=1
[2007-05-17 10:27:59 xend 9237] DEBUG (image:282) dom            = 47
[2007-05-17 10:27:59 xend 9237] DEBUG (image:283) image = /usr/lib/xen-ioemu-3.0/boot/hvmloader
[2007-05-17 10:27:59 xend 9237] DEBUG (image:284) store_evtchn   = 1
[2007-05-17 10:27:59 xend 9237] DEBUG (image:285) memsize        = 512
[2007-05-17 10:27:59 xend 9237] DEBUG (image:286) vcpus          = 1
[2007-05-17 10:27:59 xend 9237] DEBUG (image:287) pae            = 0
[2007-05-17 10:27:59 xend 9237] DEBUG (image:288) acpi           = 0
[2007-05-17 10:27:59 xend 9237] DEBUG (image:289) apic           = 0
[2007-05-17 10:27:59 xend 9237] DEBUG (image:417) hvm shutdown watch registered [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/47/768'} to /local/domain/47/device/vbd/768. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:112) DevController: writing {'domain': 'winxp', 'frontend': '/local/domain/47/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/dev/vg-xen-fs/xen-winxp-test', 'mode': 'w', 'online': '1', 'frontend-id': '47', 'type': 'phy'} to /local/domain/0/backend/vbd/47/768. [2007-05-17 10:28:00 xend 9237] DEBUG (blkif:24) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc' [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/47/5632'} to /local/domain/47/device/vbd/5632. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:112) DevController: writing {'domain': 'winxp', 'frontend': '/local/domain/47/device/vbd/5632', 'dev': 'hdc', 'state': '1', 'params': '/xen-iso/en_winxp_pro_with_sp2.iso', 'mode': 'r', 'online': '1', 'frontend-id': '47', 'type': 'file'} to /local/domain/0/backend/vbd/47/5632. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/47/0'} to /local/domain/47/device/vif/0. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr1', 'domain': 'winxp', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/47/device/vif/0', 'mac': '00:16:3e:01:01:25', 'online': '1', 'frontend-id': '47', 'type': 'ioemu'} to /local/domain/0/backend/vif/47/0. [2007-05-17 10:28:00 xend 9237] INFO (image:400) spawning device models: /usr/lib/xen-ioemu-3.0/bin/qemu-dm ['/usr/lib/xen-ioemu-3.0/bin/qemu-dm', '-d', '47', '-m', '512', '-boot', 'd', '-vcpus', '1', '-domain-name', 'winxp', '-net', 'nic,vlan=1,macaddr=00:16:3e:01:01:25,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr1', '-vncunused', '-vnclisten', ' 0.0.0.0 <http://0.0.0.0>']
[2007-05-17 10:28:00 xend 9237] INFO (image:402) device model pid: 16958
[2007-05-17 10:28:00 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:713) Storing VM details: {'shadow_memory': '4', 'uuid': 'b4ac9939-a3f6-ec81-6ff8-f3ed95d159bd', 'on_reboot': 'restart', 'start_time': ' 1179394080.21', 'on_poweroff': 'destroy', 'name': 'winxp', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash': 'restart', 'image': "(hvm (kernel /usr/lib/xen- ioemu-3.0/boot/hvmloader) (args 'VNC_VIEWER=darknight:5501 ') (device_model /usr/lib/xen-ioemu-3.0/bin/qemu-dm) (vcpus 1) (boot d) (vnc 1) (vncunused 1) (xauthority /root/.Xauthority))", 'maxmem': '512'} [2007-05-17 10:28:00 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:748) Storing domain details: {'console/port': '2', 'name': 'winxp', 'console/limit': '1048576', 'vm': '/vm/b4ac9939-a3f6-ec81-6ff8-f3ed95d159bd', 'domid': '47', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '1796772', 'store/port': '1'} [2007-05-17 10:28:00 xend 9237] DEBUG (image:440) hvm_shutdown fired, shutdown reason=None [2007-05-17 10:28:00 xend.XendDomainInfo 9237] DEBUG (XendDomainInfo:938) XendDomainInfo.handleShutdownWatch [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:143) Waiting for devices vif.
[2007-05-17 10:28:00 xend 9237] DEBUG (DevController:149) Waiting for 0.
[2007-05-17 10:28:00 xend 9237] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/47/0/hotplug-status. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/47/0/hotplug-status. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:478) hotplugStatusCallback 1. [2007-05-17 10:28:00 xend 9237] DEBUG (DevController:143) Waiting for devices usb. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices vbd.
[2007-05-17 10:28:01 xend 9237] DEBUG (DevController:149) Waiting for 768.
[2007-05-17 10:28:01 xend 9237] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/47/768/hotplug-status. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:478) hotplugStatusCallback 1. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:149) Waiting for 5632. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/47/5632/hotplug-status. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/47/5632/hotplug-status. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:478) hotplugStatusCallback 1. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices irq. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices pci. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices ioports. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices tap. [2007-05-17 10:28:01 xend 9237] DEBUG (DevController:143) Waiting for devices vtpm. [2007-05-17 10:28:01 xend 9237] INFO (XendDomain:370) Domain winxp (47) unpaused.
------------------------------------------------------------------------

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

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