Konstantinos Pachopoulos
2007-Apr-02  15:30 UTC
[Xen-users] xen on Debian amd64 + Windows XP 32-bit
Hi, i am trying to setup on a remote (ssh) Debian Etch amd64 system a Windows XP 32-bit domain. I have used the default packages provided by the Debian repository. "hvm" seems to be enabled on my AM2 Dual Core ASUS M2V system. vakhos:~# xm dmesg | grep HVM (XEN) (GUEST: 3) HVM Loader (XEN) (GUEST: 3) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 4) HVM Loader (XEN) (GUEST: 4) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 5) HVM Loader (XEN) (GUEST: 5) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ (XEN) (GUEST: 6) HVM Loader (XEN) (GUEST: 6) HVMAssist BIOS, 1 cpu, $Revision: 1.138 $ $Date: 2005/05/07 15:55:26 $ The config file is the following: ---------------------------------------- kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 512 name = "winxp" disk = [ ''phy:xendoms/winxp,ioemu:hda,w'' ] #vif = [ ''type=ioemu, bridge=xenbr0'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' memmap = ''/usr/lib/xen/boot/mem-map.sxp'' cdrom=''/vservers/home/shared/winxp.iso'' boot=''d'' sdl=1 vnc=0 acpi=1 apic=1 ---------------------------------------- When i do "xm create winxp", i get a white window at the beggining, then the qemu window and then the domain terminates. Unfortunately, the qemu window appears for much less than a second and it is not possible to provide any information about it. Any ideas? ___________________________________________________________ New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Apr-02  15:37 UTC
RE: [Xen-users] xen on Debian amd64 + Windows XP 32-bit
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Konstantinos Pachopoulos > Sent: 02 April 2007 16:31 > To: xen-users@lists.xensource.com > Subject: [Xen-users] xen on Debian amd64 + Windows XP 32-bit > > Hi, > i am trying to setup on a remote (ssh) Debian Etch > amd64 system a Windows XP 32-bit domain. I have used > the default packages provided by the Debian > repository. > "hvm" seems to be enabled on my AM2 Dual Core ASUS M2V > system. > > vakhos:~# xm dmesg | grep HVM > (XEN) (GUEST: 3) HVM Loader > (XEN) (GUEST: 3) HVMAssist BIOS, 1 cpu, $Revision: > 1.138 $ $Date: 2005/05/07 15:55:26 $ > (XEN) (GUEST: 4) HVM Loader > (XEN) (GUEST: 4) HVMAssist BIOS, 1 cpu, $Revision: > 1.138 $ $Date: 2005/05/07 15:55:26 $ > (XEN) (GUEST: 5) HVM Loader > (XEN) (GUEST: 5) HVMAssist BIOS, 1 cpu, $Revision: > 1.138 $ $Date: 2005/05/07 15:55:26 $ > (XEN) (GUEST: 6) HVM Loader > (XEN) (GUEST: 6) HVMAssist BIOS, 1 cpu, $Revision: > 1.138 $ $Date: 2005/05/07 15:55:26 $ > > > The config file is the following: > ---------------------------------------- > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 512 > name = "winxp" > disk = [ ''phy:xendoms/winxp,ioemu:hda,w'' ] > #vif = [ ''type=ioemu, bridge=xenbr0'' ] > device_model = ''/usr/lib/xen/bin/qemu-dm'' > memmap = ''/usr/lib/xen/boot/mem-map.sxp'' > cdrom=''/vservers/home/shared/winxp.iso'' > boot=''d'' > sdl=1 > vnc=0 > acpi=1 > apic=1 > ---------------------------------------- > > When i do "xm create winxp", i get a white window at > the beggining, then the qemu window and then the > domain terminates. Unfortunately, the qemu window > appears for much less than a second and it is not > possible to provide any information about it. > Any ideas? > >There may be more information in the "xm dmesg", but my first inclination would be to disable APIC (change apic=1 to apic=0 in the configuration file shown above). This is because the APIC version of Windows uses an instruction that isn''t supported by the older versions of Xen (older than a few weeks that is). If that doesn''t help, try a fresh reboot and send the output from "xm dmesg" (if you know what to look for, just cut out the last relevant lines of a recent one, but if you''re not sure what''s relevant and what''s not, just reboot the machine and send the whole thing). -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Apr-02  15:42 UTC
Re: [Xen-users] xen on Debian amd64 + Windows XP 32-bit
> i am trying to setup on a remote (ssh) Debian Etch > amd64 system a Windows XP 32-bit domain. I have used > the default packages provided by the Debian > repository. > "hvm" seems to be enabled on my AM2 Dual Core ASUS M2V > system. > The config file is the following: > ---------------------------------------- > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 512 > name = "winxp" > disk = [ ''phy:xendoms/winxp,ioemu:hda,w'' ] > #vif = [ ''type=ioemu, bridge=xenbr0'' ] > device_model = ''/usr/lib/xen/bin/qemu-dm'' > memmap = ''/usr/lib/xen/boot/mem-map.sxp'' > cdrom=''/vservers/home/shared/winxp.iso'' > boot=''d'' > sdl=1 > vnc=0 > acpi=1 > apic=1 > ---------------------------------------- > > When i do "xm create winxp", i get a white window at > the beggining, then the qemu window and then the > domain terminates. Unfortunately, the qemu window > appears for much less than a second and it is not > possible to provide any information about it. > Any ideas?The cdrom= syntax is deprecated, though I''m not sure that''s actually the cause of your problem. Instead you should have your disk line look something like: disk = [ ''phy:xendoms/winxp,hda,w'', ''file:/vservers/home/shared/winxp.iso,hdc:cdrom,r'' ] AFAIK it''s nolonger necessary to put "ioemu" into the device name, so I''ve omitted it here. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Konstantinos Pachopoulos
2007-Apr-02  19:11 UTC
Re: [Xen-users] xen on Debian amd64 + Windows XP 32-bit
Hi,
i did the suggested changes to the domain config file
(disabled the APIC first and as an extra the ACPI
later). I also changed the cdrom parameter. The only
difference now is that after the "xm create winxp",
the white window lasts much longer and ends by giving
an :
"Error: Device 5632 (vbd) could not be connected.
Backend device not found."
I read, that this message could be given if running
many domains simultaneously, but i try to run only
this one.
I edited the config file to the following:
-----------------------------------------------
vakhos:~# cat /etc/xen/winxp
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
memory = 512
name = "winxp"
#disk = [ ''phy:xendoms/winxp,ioemu:hda,w'' ]
#vif = [ ''type=ioemu, bridge=xenbr0'' ]
device_model = ''/usr/lib/xen/bin/qemu-dm''
memmap = ''/usr/lib/xen/boot/mem-map.sxp''
#cdrom=''/vservers/home/shared/winxp.iso''
disk = [ ''phy:xendoms/winxp,hda,w'',
''file:/vservers/home/shared/winxp.iso,hdc:cdrom,r'' ]
boot=''d''
sdl=1
vnc=0
acpi=0
apic=0
-----------------------------------------------
xm dmesg output:
-----------------------------------------------
(XEN) Command line: /xen-3.0.3-1-amd64.gz
(XEN) Physical RAM map:
(XEN)  0000000000000000 - 000000000009dc00 (usable)
(XEN)  000000000009dc00 - 00000000000a0000 (reserved)
(XEN)  00000000000e4000 - 0000000000100000 (reserved)
(XEN)  0000000000100000 - 00000000cffb0000 (usable)
(XEN)  00000000cffb0000 - 00000000cffbe000 (ACPI data)
(XEN)  00000000cffbe000 - 00000000cffe0000 (ACPI NVS)
(XEN)  00000000cffe0000 - 00000000d0000000 (reserved)
(XEN)  00000000fec00000 - 00000000fec01000 (reserved)
(XEN)  00000000fecc0000 - 00000000fecc1000 (reserved)
(XEN)  00000000ff780000 - 0000000100000000 (reserved)
(XEN)  0000000100000000 - 0000000130000000 (usable)
(XEN) System RAM: 4095MB (4193588kB)
(XEN) Xen heap: 13MB (14328kB)
(XEN) found SMP MP-table at 000ff780
(XEN) DMI present.
(XEN) Using APIC driver default
(XEN) ACPI: SLIC (v001 NEC             0x02000709 MSFT
0x00000097) @ 0x00000000cffb0440
(XEN) ACPI: OEMB (v001 A_M_I_ AMI_OEM  0x02000709 MSFT
0x00000097) @ 0x00000000cffbe040
(XEN) ACPI: HPET (v001 A_M_I_ OEMHPET  0x02000709 MSFT
0x00000097) @ 0x00000000cffb5400
(XEN) ACPI: DSDT (v001  A0498 A0498000 0x00000000 INTL
0x20060113) @ 0x0000000000000000
(XEN) ACPI: Local APIC address 0xfee00000
(XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00]
enabled)
(XEN) Processor #0 15:11 APIC version 16
(XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01]
enabled)
(XEN) Processor #1 15:11 APIC version 16
(XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000]
gsi_base[0])
(XEN) IOAPIC[0]: apic_id 2, version 3, address
0xfec00000, GSI 0-23
(XEN) ACPI: IOAPIC (id[0x03] address[0xfecc0000]
gsi_base[24])
(XEN) IOAPIC[1]: apic_id 3, version 3, address
0xfecc0000, GSI 24-47
(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
low level)
(XEN) ACPI: IRQ0 used by override.
(XEN) ACPI: IRQ2 used by override.
(XEN) ACPI: IRQ9 used by override.
(XEN) Enabling APIC mode:  Flat.  Using 2 I/O APICs
(XEN) ACPI: HPET id: 0x11068201 base: 0xfed00000
(XEN) Using ACPI (MADT) for SMP configuration
information
(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) checking TSC synchronization across 2 CPUs: 
(XEN) CPU#0 had 318 usecs TSC skew, fixed it up.
(XEN) CPU#1 had -318 usecs TSC skew, fixed it up.
(XEN) Platform timer is 14.318MHz 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 (988709 pages to be
allocated)
(XEN) VIRTUAL MEMORY ARRANGEMENT:
(XEN)  Loaded kernel:
ffffffff80200000->ffffffff805995b0
(XEN)  Init. ramdisk:
ffffffff8059a000->ffffffff814b3600
(XEN)  Phys-Mach map: ffffffff814b4000->ffffff(XEN) 
Start info:    ffffffff81c50000->ffffffff81c5049c
(XEN)  Page tables:  
ffffffff81c51000->ffffffff81c64000
(XEN)  Boot stack:   
ffffffff81c64000->ffffffff81c65000
(XEN)  TOTAL:        
ffffffff80000000->ffffffff82000000
(XEN)  ENTRY ADDRESS: ffffffff80200000
(XEN) Dom0 has maximum 2 VCPUs
(XEN) Initrd len 0xf19600, start at 0xffffffff8059a000
(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).
ff81c4f128
-----------------------------------------------
	
	
		
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at
the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users