I'm still trying to run winxp on xen. This time, installed a fresh debian-amd64 stable version [1]. When I run xm create winxp.cfg [2], I got the message "Error: Invalid mode". I've attached xend.log [3] output, xm dmesg [4] and xm info [5].
Googling I've found some posts saying problems with asus_acpi module and during boot process dmesg complains about loading an acpi module. How should I disable acpi module and give a try without it? regards, -- edu gargiulo [1] dpkg -l ii linux-image-2.6.18-6-xen-amd64 2.6.18.dfsg.1-22 Linux 2.6.18 image on AMD64 ii linux-modules-2.6.18-6-xen-amd64 2.6.18.dfsg.1-22 Linux 2.6.18 modules on AMD64 ii xen-hypervisor-3.0.3-1-amd64 3.0.3-0-4 The Xen Hypervisor on AMD64 ii xen-ioemu-3.0.3-1 3.0.3-0-4 XEN administrative tools ii xen-linux-system-2.6.18-6-xen-amd64 2.6.18.dfsg.1-22 XEN system with Linux 2.6.18 image on AMD64 ii xen-utils-3.0.3-1 3.0.3-0-4 XEN administrative tools ii xen-utils-common 3.0.3-0-2 XEN administrative tools - common files [2] cat /etc/xen/winxp.cfg kernel = "/usr/lib/xen-default/boot/hvmloader" builder = 'hvm' memory = 512 shadow_memory = 8 name = "winxp" vcpus = 1 vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'file:/winxp.img,ioemu:hda,w', 'file:/opt/xen/winxp-install.iso,ioemu:hdc,cdrom,r' ] device_model = '/usr/lib/xen-default/bin/qemu-dm' boot = "dc" apic = 0 acpi = 0 sdl = 0 vnc = 1 vncserver = 1 [3] cat /var/log/xen/xend.log [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) XendDomainInfo.create(['vm', ['name', 'winxp'], ['memory', 512], ['shadow_memory', 8], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen-default/boot/hvmloader'], ['vcpus', 1], ['boot', 'dc'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib/xen-default/bin/qemu-dm']]], ['device', ['vbd', ['uname', 'file:/winxp.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/opt/xen/winxp-install.iso'], ['dev', 'ioemu:hdc'], ['mode', 'cdrom'], ['backend', 'r']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]]) [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) parseConfig: config is ['vm', ['name', 'winxp'], ['memory', 512], ['shadow_memory', 8], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen-default/boot/hvmloader'], ['vcpus', 1], ['boot', 'dc'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib/xen-default/bin/qemu-dm']]], ['device', ['vbd', ['uname', 'file:/winxp.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/opt/xen/winxp-install.iso'], ['dev', 'ioemu:hdc'], ['mode', 'cdrom'], ['backend', 'r']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]] [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) parseConfig: result is {'shadow_memory': 8, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen-default/boot/hvmloader'], ['vcpus', 1], ['boot', 'dc'], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['device_model', '/usr/lib/xen-default/bin/qemu-dm']], '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', 'file:/winxp.img'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vbd', ['vbd', ['uname', 'file:/opt/xen/winxp-install.iso'], ['dev', 'ioemu:hdc'], ['mode', 'cdrom'], ['backend', 'r']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None} [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) XendDomainInfo.construct: None [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) XendDomainInfo.initDomain: 6 1.0 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: boot, val: dc [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: fda, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: fdb, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: soundhw, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: localtime, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: serial, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: std-vga, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: isa, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: vcpus, val: 1 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: acpi, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: usb, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) args: usbdevice, val: None [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) Balloon: 546024 KiB free; need 546000; done. [2008-08-28 22:11:00 xend 2498] INFO (__init__:1072) buildDomain os=hvm dom=6 vcpus=1 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) dom = 6 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) image = /usr/lib/xen-default/boot/hvmloader [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) store_evtchn = 1 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) memsize = 512 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) vcpus = 1 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) pae = 0 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) acpi = 0 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) apic = 0 [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) hvm shutdown watch registered [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/6/768'} to /local/domain/6/device/vbd/768. [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) DevController: writing {'domain': 'winxp', 'frontend': '/local/domain/6/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/winxp.img', 'mode': 'w', 'online': '1', 'frontend-id': '6', 'type': 'file'} to /local/domain/0/backend/vbd/6/768. [2008-08-28 22:11:00 xend.XendDomainInfo 2498] ERROR (__init__:1072) Domain construction failed Traceback (most recent call last): File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 195, in create vm.initDomain() File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1355, in initDomain self.createDevices() File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1515, in createDevices self.createDevice(n, c) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/XendDomainInfo.py", line 1086, in createDevice return self.getDeviceController(deviceClass).createDevice(devconfig) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/DevController.py", line 80, in createDevice (devid, back, front) = self.getDeviceDetails(config) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/server/blkif.py", line 69, in getDeviceDetails raise VmError('Invalid mode') VmError: Invalid mode [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) XendDomainInfo.destroy: domid=6 [2008-08-28 22:11:00 xend.XendDomainInfo 2498] DEBUG (__init__:1072) XendDomainInfo.destroyDomain(6) [2008-08-28 22:11:00 xend 2498] DEBUG (__init__:1072) hvm shutdown watch unregistered [2008-08-28 22:11:00 xend 2498] ERROR (__init__:1072) read_watch failed Traceback (most recent call last): File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/xenstore/xswatch.py", line 66, in watchMain res = watch.fn(we[0], *watch.args, **watch.kwargs) File "/usr/lib/xen-3.0.3-1/lib/python/xen/xend/image.py", line 431, in hvm_shutdown reason = vm.readDom('control/shutdown') AttributeError: 'NoneType' object has no attribute 'readDom' [4] xm dmesg Xen version 3.0.3-1 (Debian 3.0.3-0-4) ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) Mon Oct 22 21:30:18 UTC 2007 Latest ChangeSet: Tue Oct 17 22:09:52 2006 +0100 (XEN) Command line: /boot/xen-3.0.3-1-amd64.gz (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 00000000000f0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007def0000 (usable) (XEN) 000000007def0000 - 000000007def3000 (ACPI NVS) (XEN) 000000007def3000 - 000000007df00000 (ACPI data) (XEN) 000000007e000000 - 0000000080000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 0000000100000000 (reserved) (XEN) System RAM: 2014MB (2062908kB) (XEN) Xen heap: 14MB (14420kB) (XEN) found SMP MP-table at 000f5ab0 (XEN) DMI 2.4 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v002 Nvidia ) @ 0x00000000000f7570 (XEN) ACPI: XSDT (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007def30c0 (XEN) ACPI: FADT (v003 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007defb480 (XEN) ACPI: HPET (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000098) @ 0x000000007defb680 (XEN) ACPI: MCFG (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007defb700 (XEN) ACPI: MADT (v001 Nvidia ASUSACPI 0x42302e31 AWRD 0x00000000) @ 0x000000007defb5c0 (XEN) ACPI: DSDT (v001 NVIDIA ASUSACPI 0x00001000 MSFT 0x03000000) @ 0x0000000000000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled) (XEN) Processor #0 15:11 APIC version 16 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled) (XEN) Processor #1 15:11 APIC version 16 (XEN) ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 17, address 0xfec00000, GSI 0-23 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) ACPI: IRQ14 used by override. (XEN) ACPI: IRQ15 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) ACPI: HPET id: 0x10de8201 base: 0xfefff000 (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 2004.226 MHz processor. (XEN) CPU0: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) (XEN) CPU: L2 Cache: 512K (64 bytes/line) (XEN) CPU 0(2) -> Core 0 (XEN) AMD SVM Extension is enabled for cpu 0. (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU1: AMD Flush Filter disabled (XEN) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) (XEN) CPU: L2 Cache: 512K (64 bytes/line) (XEN) CPU 1(2) -> Core 1 (XEN) AMD: Disabling C1 Clock Ramping Node #0 (XEN) AMD SVM Extension is enabled for cpu 1. (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CPU1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: (XEN) CPU#0 had 443 usecs TSC skew, fixed it up. (XEN) CPU#1 had -443 usecs TSC skew, fixed it up. (XEN) Platform timer is 25.000MHz HPET (XEN) Brought up 2 CPUs (XEN) Machine check exception polling timer started. (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000001f }. (XEN) Domain 0 kernel requires features = { 00000000 }. (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000006000000->0000000008000000 (465863 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80200000->ffffffff80588310 (XEN) Init. ramdisk: ffffffff80589000->ffffffff81350800 (XEN) Phys-Mach map: ffffffff81351000->ffffffff816eee38 (XEN) Start info: ffffffff816ef000->ffffffff816ef49c (XEN) Page tables: ffffffff816f0000->ffffffff816ff000 (XEN) Boot stack: ffffffff816ff000->ffffffff81700000 (XEN) TOTAL: ffffffff80000000->ffffffff81800000 (XEN) ENTRY ADDRESS: ffffffff80200000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Initrd len 0xdc7800, start at 0xffffffff80589000 (XEN) Scrubbing Free RAM: .....................done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). [5] xm info host : debian release : 2.6.18-6-xen-amd64 version : #1 SMP Mon Jun 16 23:42:47 UTC 2008 machine : x86_64 nr_cpus : 2 nr_nodes : 1 sockets_per_node : 1 cores_per_socket : 2 threads_per_core : 1 cpu_mhz : 2004 hw_caps : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f total_memory : 2014 free_memory : 533 xen_major : 3 xen_minor : 0 xen_extra : .3-1 xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : Tue Oct 17 22:09:52 2006 +0100 cc_compiler : gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) cc_compile_by : skx cc_compile_domain : debian.org cc_compile_date : Mon Oct 22 21:30:18 UTC 2007 xend_config_format : 2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]