Several issues with Xen 4.1.1 regarding Windows guests (and more...)
Hello
Im experiencing serveral issues right now, Im not well Xen experienced - I tried it first in '06 and staid off from it since last week.
a) Im unable to install Windows 7 guests,
I can install them perfectly but on "Setup is preparing your computer for first use" it simply stalls.
xentop says its in blocking mode, its consuming some cpu but just 1% or so.
b) I managed to install Windows XP fine, however the performance (I/O in general) is quite poor compared to VirtualBox.
c) If the XM hypervisor starts it holds several seconds on its initialization.
(After the last loading module... line from grub)
d) Problem c) occurs again if the Dom0 kernel loads.
Additionally I'll append some outputs of xm dmesg, info and dmesg. Im running Gentoo (mostly stable stuff / 64bit).
Im gonna give you my configs I used:
----------winxp-testing.hvm--------------
# -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch): arch_libdir = 'lib64';
else: arch_libdir = 'lib';
kernel="/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory=2048
name="WinXP-testing"
vcpus=2
pae=0
acpi=1
apic=1 # ignored if vcpus > 1
xen_extended_power_mgmt=0
cpus=""
vif=[ 'ip=10.0.0.1' ]
disk=[ 'tap:aio:/warehouse/xen-drives/winxp-testing.img,hda,w',
'file:/warehouse/images/windows/windows_aio.iso,hdc:cdrom,r' ]
boot="cd"
device_model='/usr/' + arch_libdir + '/xen/bin/qemu-dm' snapshot=0
sdl=1
opengl=1 # depends on sdl
vnc=0
monitor=1
stdvga=0
serial='pty'
tsc_mode=0
localtime=1
usb=1
usbdevice='tablet'
keymap='de'
xen_platform_pci=1
pci_power_mgmt=1
on_poweroff='destroy'
on_reboot='restart' -----------------snip----------------------
-----------------win7-testing.hvm----------
# -*- mode: python; -*-
import os, re
arch = os.uname()[4]
if re.search('64', arch): arch_libdir = 'lib64';
else: arch_libdir = 'lib';
kernel="/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory=2048
name="Win7-testing"
vcpus=2
pae=1
acpi=1
apic=1 # ignored if vcpus > 1
xen_extended_power_mgmt=0
cpus=""
vif=[ 'ip=10.0.0.1' ]
disk=[ 'tap:aio:/warehouse/xen-drives/win7-testing.img,hda,w',
'file:/warehouse/images/windows/win7_aio/win7aio.iso,hdc:cdrom,r' ] boot="dc"
device_model='/usr/' + arch_libdir + '/xen/bin/qemu-dm' snapshot=0
sdl=1
opengl=1 # depends on sdl
vnc=0
monitor=1
stdvga=0
serial='pty'
tsc_mode=0
localtime=1
usb=1
usbdevice='tablet'
keymap='de'
xen_platform_pci=1
pci_power_mgmt=1
on_poweroff='destroy'
on_reboot='restart'
on_crash='restart' --------------------snip-----------------------------------
Signature · 1 line
Georg Bege <[email protected]>
Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 12 Vendor ID: GenuineIntel CPU family: 6 Model: 44 Stepping: 2 CPU MHz: 2800.162 BogoMIPS: 5902.51 Hypervisor vendor: Xen Virtualization type: none L1d cache: 32K L1i cache: 32K L2 cache: 256K L3 cache: 12288K __ __ _ _ _ _ \ \/ /___ _ __ | || | / | / | \ // _ \ \047_ \ | || |_ | | | | / \ __/ | | | |__ _|| |_| |
/_/\_\___|_| |_| |_|(_)_(_)_|
(XEN) Xen version 4.1.1 ([email protected]) (gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) ) Fri Sep 9 21:36:17 CEST 2011 (XEN) Latest ChangeSet: unavailable
(XEN) Bootloader: GNU GRUB 0.97
(XEN) Command line: iommu=1
(XEN) Video information:
(XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 0 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected
(XEN) Disc information:
(XEN) Found 5 MBR signatures
(XEN) Found 5 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN) 0000000000000000 - 000000000008f000 (usable) (XEN) 000000000008f000 - 0000000000090000 (reserved) (XEN) 0000000000090000 - 000000000009a400 (usable) (XEN) 000000000009a400 - 00000000000a0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000cf49d000 (usable) (XEN) 00000000cf49d000 - 00000000cf4bf000 (reserved) (XEN) 00000000cf4bf000 - 00000000cf57d000 (usable) (XEN) 00000000cf57d000 - 00000000cf7bf000 (ACPI NVS) (XEN) 00000000cf7bf000 - 00000000cf7df000 (usable) (XEN) 00000000cf7df000 - 00000000cf7ff000 (ACPI data) (XEN) 00000000cf7ff000 - 00000000cf800000 (usable) (XEN) 00000000cf800000 - 00000000d0000000 (reserved) (XEN) 00000000f8000000 - 00000000fd000000 (reserved) (XEN) 00000000ffe00000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000330000000 (usable) (XEN) ACPI: RSDP 000FE020, 0024 (r2 INTEL ) (XEN) ACPI: XSDT CF7FE120, 0074 (r1 INTEL DX58SO2 25B 1000013) (XEN) ACPI: FACP CF7FD000, 00F4 (r3 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI Warning (tbfadt-0444): Optional field "Pm2ControlBlock" has zero address or length: 0000000000000450/0 [20070126] (XEN) ACPI: DSDT CF7F8000, 40AD (r2 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: FACS CF72A000, 0040 (XEN) ACPI: APIC CF7F7000, 0138 (r2 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: WDDT CF7F6000, 0040 (r1 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: MCFG CF7F5000, 003C (r1 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: ASF! CF7F4000, 00AC (r32 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: HPET CF7F3000, 0038 (r1 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: SSDT CF7E2000, E014 (r1 INTEL SSDT PM 25B MSFT 100000D) (XEN) ACPI: DMAR CF7DF000, 0180 (r1 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: WDTT CF7F1000, 020C (r2 INTEL DX58SO2 25B MSFT 100000D) (XEN) ACPI: ASPT CF7F2000, 0034 (r6 INTEL PerfTune 25B MSFT 100000D)
(XEN) System RAM: 12277MB (12571732kB)
(XEN) Domain heap initialised
(XEN) Processor #0 6:12 APIC version 21
(XEN) Processor #16 6:12 APIC version 21
(XEN) Processor #2 6:12 APIC version 21
(XEN) Processor #18 6:12 APIC version 21
(XEN) Processor #4 6:12 APIC version 21
(XEN) Processor #20 6:12 APIC version 21
(XEN) Processor #1 6:12 APIC version 21
(XEN) Processor #17 6:12 APIC version 21
(XEN) Processor #3 6:12 APIC version 21
(XEN) Processor #19 6:12 APIC version 21
(XEN) Processor #5 6:12 APIC version 21
(XEN) Processor #21 6:12 APIC version 21
(XEN) IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23 (XEN) Enabling APIC mode: Phys. Using 1 I/O APICs
(XEN) Table is not found!
(XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2800.163 MHz processor.
(XEN) Initing memory sharing.
(XEN) Intel VT-d Snoop Control not enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) Intel VT-d Shared EPT tables not enabled.
(XEN) I/O virtualisation enabled
(XEN) - Dom0 mode: Relaxed
(XEN) Enabled directed EOI with ioapic_ack_old on!
(XEN) ENABLING IO-APIC IRQs
(XEN) -> Using old ACK method
(XEN) Platform timer is 14.318MHz HPET
(XEN) Allocated console ring of 32 KiB.
(XEN) VMX: Supported advanced features:
(XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) - Unrestricted Guest
(XEN) EPT supports 1GB super page.
(XEN) EPT supports 2MB super page.
(XEN) HVM: ASIDs enabled.
(XEN) HVM: VMX enabled
(XEN) HVM: Hardware Assisted Paging detected.
(XEN) Brought up 12 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Xen kernel: 64-bit, lsb, compat32
(XEN) Dom0 kernel: 64-bit, lsb, paddr 0x1000000 -> 0x16c0000 (XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000324000000->0000000326000000 (3057929 pages to be allocated)
(XEN) Init. ramdisk: 000000032fbb6000->0000000330000000 (XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN) Loaded kernel: ffffffff81000000->ffffffff816c0000 (XEN) Init. ramdisk: 0000000000000000->0000000000000000 (XEN) Phys-Mach map: ffffea0000000000->ffffea0001766a98 (XEN) Start info: ffffffff816c0000->ffffffff816c04b4 (XEN) Page tables: ffffffff816c1000->ffffffff816d0000 (XEN) Boot stack: ffffffff816d0000->ffffffff816d1000 (XEN) TOTAL: ffffffff80000000->ffffffff81800000 (XEN) ENTRY ADDRESS: ffffffff81000000
(XEN) Dom0 has maximum 12 VCPUs
(XEN) Scrubbing Free RAM: .done.
(XEN) Xen trace buffers: disabled
(XEN) Std. Loglevel: Errors and warnings
(XEN) Guest Loglevel: Nothing (Rate-limited: Errors and warnings)
(XEN) Xen is relinquishing VGA console.
(XEN) *** Serial input -> DOM0 (type \047CTRL-a\047 three times to switch input to Xen) (XEN) Freed 216kB init memory.
host : kali
release : 2.6.38-xen-kali
version : #6 SMP Tue Sep 13 23:10:53 CEST 2011
machine : x86_64nr_cpus : 12nr_nodes : 1cores_per_socket : 6threads_per_core : 2cpu_mhz : 2800hw_caps : bfebfbff:2c100800:00000000:00003f40:029ae3bf:00000000:00000001:00000000virt_caps : hvm hvm_directiototal_memory : 12277free_memory : 15free_cpus : 0xen_major : 4xen_minor : 1xen_extra : .1xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64xen_scheduler : creditxen_pagesize : 4096platform_params : virt_start=0xffff800000000000xen_changeset : unavailablexen_commandline : iommu=1cc_compiler : gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5)cc_compile_by : rootcc_compile_domain : ninth-art.netcc_compile_date : Fri Sep 9 21:36:17 CEST 2011xend_config_format : 4
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines · Georg Bege
Hello
Im experiencing serveral issues right now, Im not well Xen experienced - I tried it first in '06 and staid off from it since last week.
b) I managed to install Windows XP fine, however the performance (I/O in general) is quite poor compared to VirtualBox.
Can't comment on the rest, but have you installed the gplpv drivers?
http://www.meadowcourt.org/downloads/
The wiki has some details but is quite out of date:
http://wiki.xensource.com/xenwiki/XenWindowsGplPv
On win2008 I install the OS, do a "bcedit /set testsigning on", reboot, then install the gplpv.
- Nathan
Quoted 12 lines · Nathan March
Quoted 7 lines · Georg Bege
Hello
Im experiencing serveral issues right now, Im not well Xen experienced - I tried it first in '06 and staid off from it since last week.
b) I managed to install Windows XP fine, however the performance (I/O in general) is quite poor compared to VirtualBox.
Can't comment on the rest, but have you installed the gplpv drivers?
Quoted 7 lines
http://www.meadowcourt.org/downloads/
The wiki has some details but is quite out of date:
http://wiki.xensource.com/xenwiki/XenWindowsGplPvOn win2008 I install the OS, do a "bcedit /set testsigning on", reboot, then install the gplpv.
Or you can installed the signed versions:
Quoted 18 lines · Konrad Rzeszutek Wilk
Quoted 17 lines · Nathan March
Quoted 7 lines · Georg Bege
Hello
Im experiencing serveral issues right now, Im not well Xen experienced - I tried it first in '06 and staid off from it since last week.
b) I managed to install Windows XP fine, however the performance (I/O in general) is quite poor compared to VirtualBox.
Can't comment on the rest, but have you installed the gplpv drivers?
http://www.meadowcourt.org/downloads/
The wiki has some details but is quite out of date:
http://wiki.xensource.com/xenwiki/XenWindowsGplPv
Quoted 6 lines
Quoted 2 lines
On win2008 I install the OS, do a "bcedit /set testsigning on", reboot, then install the gplpv.
Or you can installed the signed versions:
we should add them to the wiki
Quoted 8 lines · Stefano Stabellini
Quoted 6 lines
Quoted 2 lines
On win2008 I install the OS, do a "bcedit /set testsigning on", reboot, then install the gplpv.
Or you can installed the signed versions:
we should add them to the wiki
It's probably easiest if you just place a link to this web page:
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers
We'll keep this page updated for new installation hints, updated driver builds etc.
Cheers,
Moritz
Signature · 5 lines
Moritz Mühlenhoff [email protected] Open Source Software Engineer and Consultant Univention GmbH Linux for Your Business fon: +49 421 22 232- 0 Mary-Somerville-Str.1 28359 Bremen fax: +49 421 22 232-99 http://www.univention.de
Quoted 9 lines · Moritz Mühlenhoff
Quoted 7 lines · Stefano Stabellini
Quoted 6 lines
Quoted 2 lines
On win2008 I install the OS, do a "bcedit /set testsigning on", reboot, then install the gplpv.
Or you can installed the signed versions:
Quoted 8 lines
Quoted 1 line
we should add them to the wiki
It's probably easiest if you just place a link to this web page:
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-driversWe'll keep this page updated for new installation hints, updated driver builds etc.
Ok, will do.. I have some other stuff to fix first, so I'll try to clean up the gplpv stuff next week or so.
-- Pasi