From: Georg Bege Subject: Several issues with Xen 4.1.1 regarding Windows guests (and more...) Date: Wed, 14 Sep 2011 00:09:08 +0200 Message-ID: <1315951748.7224.5.camel@kali.ninth-art.net> Reply-To: therion@ninth-art.de Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-q9XhtxH26qUP7nMwdumE" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=-q9XhtxH26qUP7nMwdumE Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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----------------------------------- -- Georg Bege --=-q9XhtxH26qUP7nMwdumE Content-Disposition: attachment; filename="lscpu.txt" Content-Type: text/plain; name="lscpu.txt"; charset="UTF-8" Content-Transfer-Encoding: 7bit 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 --=-q9XhtxH26qUP7nMwdumE Content-Disposition: attachment; filename="xm-dmesg.txt" Content-Type: text/plain; name="xm-dmesg.txt"; charset="UTF-8" Content-Transfer-Encoding: 7bit __ __ _ _ _ _ \ \/ /___ _ __ | || | / | / | \ // _ \ \047_ \ | || |_ | | | | / \ __/ | | | |__ _|| |_| | /_/\_\___|_| |_| |_|(_)_(_)_| (XEN) Xen version 4.1.1 (root@ninth-art.net) (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. --=-q9XhtxH26qUP7nMwdumE Content-Disposition: attachment; filename="xm-info.txt" Content-Type: text/plain; name="xm-info.txt"; charset="UTF-8" Content-Transfer-Encoding: 7bit host : kali release : 2.6.38-xen-kali version : #6 SMP Tue Sep 13 23:10:53 CEST 2011 machine : x86_64 nr_cpus : 12 nr_nodes : 1 cores_per_socket : 6 threads_per_core : 2 cpu_mhz : 2800 hw_caps : bfebfbff:2c100800:00000000:00003f40:029ae3bf:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 12277 free_memory : 15 free_cpus : 0 xen_major : 4 xen_minor : 1 xen_extra : .1 xen_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_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : iommu=1 cc_compiler : gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) cc_compile_by : root cc_compile_domain : ninth-art.net cc_compile_date : Fri Sep 9 21:36:17 CEST 2011 xend_config_format : 4 --=-q9XhtxH26qUP7nMwdumE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-q9XhtxH26qUP7nMwdumE--