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

[Xen-users] Problem with running win xp on HVM



Hello,

I have a problem trying to run 32-bit windows xp on xen 3.2.1 (compiled from vanilla xen-3.2.1 and linux-2.6.18-hex.hg).

After an xm create the machine starts and immediately powers off:

[...]
[2008-07-29 14:59:05 4509] INFO (XendDomain:1165) Domain xp1 (19) unpaused.
[2008-07-29 14:59:05 4509] INFO (XendDomainInfo:1283) Domain has shutdown: name=xp1 id=19 reason=poweroff.
[...]

I've tried adding a script=/bin/true to the vif line - this causes a problem with hotplug and stalls the machine a bit before the "Domain has shutdown" line in the logs. During this stall i can connect via vnc, but all i get is a white screen (no bios messages etc).

A google search reveals similar problems, but i haven't seen a solution posted.

This machine runs three paravirtualizaed linux domUs without problems.

The configuration information is posted below. Any help would be gladly appreciated.

regards,

jacek

dom0 is debian lenny

The config file is (i've tried it both with ioemu, and without ioemu in the "disk =" line) :

import os, re
arch = os.uname()[4]
arch_libdir = 'lib64';
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 384
name = "xp1"
vif = [ 'type=ioemu, bridge=xenbr0' ]
#disk = [ 'file:/testvirt/xp1/hda.img,ioemu:hda,w', 'file:/testvirt/iso/xpsp3pl.iso,ioemu:hdc:cdrom,r' ] disk = [ 'file:/testvirt/xp1/hda.img,hda,w', 'file:/testvirt/iso/xpsp3pl.iso,hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncdisplay=10
vncunused=1
vncpasswd='pass'
stdvga=0
localtime=1

### xm info:
host                   : hydra
release                : 2.6.18.8-xen
version                : #1 SMP Fri Jul 25 08:37:49 CEST 2008
machine                : x86_64
nr_cpus                : 4
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 1
cpu_mhz                : 2310
hw_caps : 178bf3ff:efd3fbff:00000000:00000110:00802001:00000000:000007ff
total_memory           : 4094
free_memory            : 3375
node_to_cpu            : node0:0-3
xen_major              : 3
xen_minor              : 2
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
cc_compiler            : gcc version 3.4.6 (Debian 3.4.6-7)
cc_compile_by          : root
cc_compile_domain      : lipkowski.org
cc_compile_date        : Fri Jul 25 08:38:11 CEST 2008
xend_config_format     : 4

### processor (only one core):
processor       : 0 vendor_id       : AuthenticAMD
cpu family      : 16
model           : 2
model name      : AMD Phenom(tm) 9650 Quad-Core Processor
stepping        : 3
cpu MHz         : 2310.604
cache size      : 512 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags : fpu de tsc msr pae cx8 apic mtrr cmov pat clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt lm 3dnowext 3dnow constant_tsc pni cx16 lahf_lm cmp_legacy cr8_legacy
bogomips        : 4619.77
TLB size        : 1024 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc [6] [7] [8]

It doesn't say svm in flags: when booted into dom0, but when i boot 2.6.25 (no xen) it does. xm dmesg says "HVM: SVM enabled" so i assume that this is not a bug.


### xm dmesg:
(XEN) Xen version 3.2.1 (root@xxxxxxxxxxxxx) (gcc version 3.4.6 (Debian 3.4.6-7)) Fri Jul 25 08:38:11 CEST 2008
(XEN) Latest ChangeSet: unavailable
(XEN) Command line: console=vga dom0_mem=128M noreboot
(XEN) Video information:
(XEN)  VGA is text mode 80x25, font 8x16
(XEN)  VBE/DDC methods: V2; EDID transfer time: 2 seconds
(XEN) Disc information:
(XEN)  Found 2 MBR signatures
(XEN)  Found 2 EDD information structures
(XEN) Xen-e820 RAM map:
(XEN)  0000000000000000 - 000000000009f800 (usable)
(XEN)  000000000009f800 - 00000000000a0000 (reserved)
(XEN)  00000000000f0000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000d7ee0000 (usable)
(XEN)  00000000d7ee0000 - 00000000d7ee3000 (ACPI NVS)
(XEN)  00000000d7ee3000 - 00000000d7ef0000 (ACPI data)
(XEN)  00000000d7ef0000 - 00000000d7f00000 (reserved)
(XEN)  00000000e0000000 - 00000000f0000000 (reserved)
(XEN)  00000000fec00000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000128000000 (usable)
(XEN) System RAM: 4094MB (4192764kB)
(XEN) Xen heap: 14MB (14956kB)
(XEN) Domain heap initialised: DMA width 32 bits
(XEN) Processor #0 0:2 APIC version 16
(XEN) Processor #1 0:2 APIC version 16
(XEN) Processor #2 0:2 APIC version 16
(XEN) Processor #3 0:2 APIC version 16
(XEN) IOAPIC[0]: apic_id 2, version 33, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2310.604 MHz processor.
(XEN) AMD SVM: ASIDs enabled.
(XEN) HVM: SVM enabled
(XEN) HVM: Hardware Assisted Paging detected and enabled.
(XEN) CPU0: AMD Phenom(tm) 9650 Quad-Core Processor stepping 03
(XEN) Booting processor 1/1 eip 8c000
(XEN) AMD SVM: ASIDs enabled.
(XEN) CPU1: AMD Phenom(tm) 9650 Quad-Core Processor stepping 03
(XEN) Booting processor 2/2 eip 8c000
(XEN) AMD SVM: ASIDs enabled.
(XEN) CPU2: AMD Phenom(tm) 9650 Quad-Core Processor stepping 03
(XEN) Booting processor 3/3 eip 8c000
(XEN) AMD SVM: ASIDs enabled.
(XEN) CPU3: AMD Phenom(tm) 9650 Quad-Core Processor stepping 03
(XEN) Total of 4 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 4 CPUs
(XEN) AMD IOMMU: Disabled
(XEN) *** LOADING DOMAIN 0 ***
(XEN)  Xen  kernel: 64-bit, lsb, compat32
(XEN)  Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 0xffffffff805ea7cc
(XEN) PHYSICAL MEMORY ARRANGEMENT:
(XEN) Dom0 alloc.: 0000000122000000->0000000124000000 (24576 pages to be allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel: ffffffff80200000->ffffffff805ea7cc
(XEN)  Init. ramdisk: ffffffff805eb000->ffffffff815f3600
(XEN)  Phys-Mach map: ffffffff815f4000->ffffffff81634000
(XEN)  Start info:    ffffffff81634000->ffffffff816344a4
(XEN)  Page tables:   ffffffff81635000->ffffffff81644000
(XEN)  Boot stack:    ffffffff81644000->ffffffff81645000
(XEN)  TOTAL:         ffffffff80000000->ffffffff81800000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 4 VCPUs
(XEN) Initrd len 0x1008600, start at 0xffffffff805eb000
(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 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 108kB init memory.



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


 


Rackspace

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