WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Windows without a window

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Windows without a window
From: Maxim Rozin <Maxim@xxxxxxxxxxxxxxxxxx>
Date: Tue, 31 Oct 2006 11:38:42 +0200
Delivery-date: Thu, 02 Nov 2006 13:48:28 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb80FnZzEDtUrkXRJyYGk+4iHad0A==
Thread-topic: Windows without a window

Dear xen-users,

 

I have an SGI server with Intel-VT cpu, with Redhat AS 4 update 4.

I have downloaded the sources of xen 3.0.3, compiled it and installed.

Now I am trying to create a Windows domain on it.

After I run "xm create w2k3.hvm", I can see that the new domain is running (xm list) and the value in the Time(s) column is increasing all the time.

BUT, there is no Windows window!!

I have tried to create the Windows domain from an SSH connection to the server with X redirection. When I run "xclock", I get the clock window.

I have also tried to create it from the KDE desktop environment locally on the server.

In both cases, no window appears.

 

Can anyone help me?

 

Here is the output of some commands and the contents of some relevant files:

 

[root@sgixen01 ~]# xm list

Name                                      ID Mem(MiB) VCPUs State   Time(s)

Domain-0                                   0      255     4 r-----     18.5

 

[root@sgixen01 ~]# xm create w2k3.hvm

Using config file "/etc/xen/w2k3.hvm".

Started domain w2k3-001

 

[root@sgixen01 ~]# xm list

Name                                      ID Mem(MiB) VCPUs State   Time(s)

Domain-0                                   0      255     4 r-----     19.7

w2k3-001                                   1      512     1 r-----      5.0

 

[root@sgixen01 ~]# xm info

host                   : sgixen01.m2g.local

release                : 2.6.16.29-xen

version                : #5 SMP Sun Oct 29 15:53:08 IST 2006

machine                : i686

nr_cpus                : 4

nr_nodes               : 1

sockets_per_node       : 2

cores_per_socket       : 2

threads_per_core       : 1

cpu_mhz                : 2992

hw_caps                : bfebfbff:20100000:00000000:00000140:0004e3bd:00000000:0                                             0000001

total_memory           : 2554

free_memory            : 1739

xen_major              : 3

xen_minor              : 0

xen_extra              : .3-0

xen_caps               : xen-3.0-x86_32 hvm-3.0-x86_32

xen_pagesize           : 4096

platform_params        : virt_start=0xfc000000

xen_changeset          : unavailable

cc_compiler            : gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)

cc_compile_by          : root

cc_compile_domain      : m2g.local

cc_compile_date        : Sun Oct 29 15:51:19 IST 2006

xend_config_format     : 2

 

[root@sgixen01 ~]# ps -ef | grep xen

root        20    19  0 11:04 ?        00:00:00 [xenwatch]

root        21    19  0 11:04 ?        00:00:00 [xenbus]

root      5842     1  0 11:06 ?        00:00:00 xenstored --pid-file /var/run/xenstore.pid

root      5847     1  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      5848  5847  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      5849  5848  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      5850  5849  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      5855     1  0 11:06 ?        00:00:00 xenconsoled

root      5856  5855  0 11:06 ?        00:00:00 xenconsoled

root      5863  5856  0 11:06 ?        00:00:00 xenconsoled

root      5869  5849  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      5870  5849  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      6235  5849  0 11:06 ?        00:00:00 python /usr/sbin/xend start

root      6837     1  0 11:06 ?        00:00:00 /usr/lib/xen/bin/qemu-dm -d 1 -m 512 -boot d -vcpus 1 -domain-name w2k3-001 -net nic,vlan=1,macaddr=00:16:3e:6e:69:72,model=rtl8139 -net tap,vlan=1,bridge=xenbr0

root      7019  6837  0 11:06 ?        00:00:00 /usr/lib/xen/bin/qemu-dm -d 1 -m 512 -boot d -vcpus 1 -domain-name w2k3-001 -net nic,vlan=1,macaddr=00:16:3e:6e:69:72,model=rtl8139 -net tap,vlan=1,bridge=xenbr0

root      7020  7019  0 11:06 ?        00:00:00 /usr/lib/xen/bin/qemu-dm -d 1 -m 512 -boot d -vcpus 1 -domain-name w2k3-001 -net nic,vlan=1,macaddr=00:16:3e:6e:69:72,model=rtl8139 -net tap,vlan=1,bridge=xenbr0

root      7194  6779  0 11:07 pts/1    00:00:00 grep xen

 

[root@sgixen01 ~]# cat /etc/xen/w2k3.hvm

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 = 512

name = "w2k3-001"

vif = [ 'type=ioemu, bridge=xenbr0' ]

disk = [ 'phy:/dev/VG_Guests/w2k3-001,ioemu:hda,w' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

cdrom="/root/WINDOWS_2003_STANDARD.ISO"

boot="d"

sdl=1

vnc=0

vncviewer=0

ne2000=0

 

[root@sgixen01 xen]# cat xend-debug.log

Nothing to flush.

 not exist.

Device "eth0" does not exist.

SIOCSIFNAME: No such device

 

[root@sgixen01 xen]# cat xen-hotplug.log

Nothing to flush.

Nothing to flush.

Nothing to flush.

 

[root@sgixen01 xen]# cat qemu-dm.6837.log

domid: 1

qemu: the number of cpus is 1

shared page at pfn:1ffff, mfn: 1d8fc

buffered io page at pfn:1fffd, mfn: 1d8fe

False I/O request ... in-service already: 0, pvalid: 0, port: 0, data: 0, count: 0, size: 0

 

[root@sgixen01 xen]# cat xend.log

[2006-10-31 11:06:14 xend 5848] INFO (SrvDaemon:283) Xend Daemon started

[2006-10-31 11:06:14 xend 5848] INFO (SrvDaemon:287) Xend changeset: unavailable .

[2006-10-31 11:06:14 xend.XendDomainInfo 5848] DEBUG (XendDomainInfo:212) XendDomainInfo.recreate({'paused': 0, 'cpu_time': 16029131898L, 'ssidref': 0, 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'shutdown_reason': 0, 'dying': 0, 'dom': 0, 'mem_kb': 260864, 'maxmem_kb': -4, 'max_vcpu_id': 3, 'crashed': 0, 'running': 1, 'shutdown': 0, 'online_vcpus': 4, 'blocked': 0})

[2006-10-31 11:06:14 xend.XendDomainInfo 5848] INFO (XendDomainInfo:224) Recreating domain 0, UUID 00000000-0000-0000-0000-000000000000.

[2006-10-31 11:06:14 xend.XendDomainInfo 5848] WARNING (XendDomainInfo:246) No vm path in store for existing domain 0

[2006-10-31 11:06:14 xend.XendDomainInfo 5848] DEBUG (XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid': '00000000-0000-0000-0000-000000000000', 'on_reboot': 'restart', 'on_poweroff': 'destroy', 'name': 'Domain-0', 'xend/restart_count': '0', 'vcpus': '4', 'vcpu_avail': '15', 'memory': '255', 'on_crash': 'restart', 'maxmem': '255'}

[2006-10-31 11:06:14 xend.XendDomainInfo 5848] DEBUG (XendDomainInfo:747) Storing domain details: {'cpu/1/availability': 'online', 'cpu/3/availability': 'online', 'name': 'Domain-0', 'console/limit': '1048576', 'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/0/availability': 'online', 'memory/target': '261120'}

[2006-10-31 11:06:14 xend 5848] DEBUG (XendDomain:153) number of vcpus to use is 0

[2006-10-31 11:06:14 xend.XendDomainInfo 5869] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['vm', ['name', 'w2k3-001'], ['memory', 512], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'd'], ['vncunused', 1], ['sdl', 1], ['display', 'localhost:10.0'], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/VG_Guests/w2k3-001'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]])

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:296) parseConfig: config is ['vm', ['name', 'w2k3-001'], ['memory', 512], ['vcpus', 1], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'd'], ['vncunused', 1], ['sdl', 1], ['display', 'localhost:10.0'], ['xauthority', '/root/.Xauthority']]], ['device', ['vbd', ['uname', 'phy:/dev/VG_Guests/w2k3-001'], ['dev', 'ioemu:hda'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']]]]

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib/xen/bin/qemu-dm'], ['vcpus', 1], ['boot', 'd'], ['vncunused', 1], ['sdl', 1], ['display', 'localhost:10.0'], ['xauthority', '/root/.Xauthority']], 'on_poweroff': None, 'bootloader_args': None, 'cpus': None, 'name': 'w2k3-001', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 512, 'device': [('vbd', ['vbd', ['uname', 'phy:/dev/VG_Guests/w2k3-001'], ['dev', 'ioemu:hda'], ['mode', 'w']]), ('vif', ['vif', ['bridge', 'xenbr0'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': None}

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:1253) XendDomainInfo.construct: None

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:1285) XendDomainInfo.initDomain: 1 1.0

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: boot, val: d

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: fda, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: fdb, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: soundhw, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: localtime, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: serial, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: std-vga, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: isa, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: vcpus, val: 1

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: acpi, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: usb, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (image:320) args: usbdevice, val: None

[2006-10-31 11:06:44 xend 6820] DEBUG (balloon:127) Balloon: 2323440 KiB free; need 541904; done.

[2006-10-31 11:06:44 xend 6820] INFO (image:136) buildDomain os=hvm dom=1 vcpus=1

[2006-10-31 11:06:44 xend 6820] DEBUG (image:274) dom            = 1

[2006-10-31 11:06:44 xend 6820] DEBUG (image:275) image          = /usr/lib/xen/boot/hvmloader

[2006-10-31 11:06:44 xend 6820] DEBUG (image:276) store_evtchn   = 1

[2006-10-31 11:06:44 xend 6820] DEBUG (image:277) memsize        = 512

[2006-10-31 11:06:44 xend 6820] DEBUG (image:278) vcpus          = 1

[2006-10-31 11:06:44 xend 6820] DEBUG (image:279) pae            = 0

[2006-10-31 11:06:44 xend 6820] DEBUG (image:280) acpi           = 0

[2006-10-31 11:06:44 xend 6820] DEBUG (image:281) apic           = 0

[2006-10-31 11:06:44 xend 6820] DEBUG (image:409) hvm shutdown watch registered

[2006-10-31 11:06:44 xend 6820] DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: '/dev/hda'

[2006-10-31 11:06:44 xend 6820] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/768'} to /local/domain/1/device/vbd/768.

[2006-10-31 11:06:44 xend 6820] DEBUG (DevController:112) DevController: writing {'domain': 'w2k3-001', 'frontend': '/local/domain/1/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/dev/VG_Guests/w2k3-001', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/768.

[2006-10-31 11:06:44 xend 6820] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.

[2006-10-31 11:06:44 xend 6820] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'w2k3-001', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/1/device/vif/0', 'mac': '00:16:3e:73:5a:30', 'online': '1', 'frontend-id': '1', 'type': 'ioemu'} to /local/domain/0/backend/vif/1/0.

[2006-10-31 11:06:44 xend 6820] INFO (image:392) spawning device models: /usr/lib/xen/bin/qemu-dm ['/usr/lib/xen/bin/qemu-dm', '-d', '1', '-m', '512', '-boot', 'd', '-vcpus', '1', '-domain-name', 'w2k3-001', '-net', 'nic,vlan=1,macaddr=00:16:3e:6e:69:72,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0']

[2006-10-31 11:06:44 xend 6820] INFO (image:394) device model pid: 6837

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:712) Storing VM details: {'shadow_memory': '4', 'uuid': '4c8a6e6e-cc13-2125-2991-ab01d0d3b72b', 'on_reboot': 'restart', 'start_time': '1162285604.91', 'on_poweroff': 'destroy', 'name': 'w2k3-001', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '512', 'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib/xen/bin/qemu-dm) (vcpus 1) (boot d) (vncunused 1) (sdl 1) (display localhost:10.0) (xauthority /root/.Xauthority))', 'maxmem': '512'}

[2006-10-31 11:06:44 xend.XendDomainInfo 6820] DEBUG (XendDomainInfo:747) Storing domain details: {'console/port': '2', 'name': 'w2k3-001', 'console/limit': '1048576', 'vm': '/vm/4c8a6e6e-cc13-2125-2991-ab01d0d3b72b', 'domid': '1', 'cpu/0/availability': 'online', 'memory/target': '524288', 'store/ring-ref': '121085', 'store/port': '1'}

[2006-10-31 11:06:44 xend 5869] DEBUG (image:432) hvm_shutdown fired, shutdown reason=None

[2006-10-31 11:06:44 xend.XendDomainInfo 5869] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch

[2006-10-31 11:06:44 xend 6877] DEBUG (DevController:143) Waiting for devices vif.

[2006-10-31 11:06:44 xend 6877] DEBUG (DevController:149) Waiting for 0.

[2006-10-31 11:06:44 xend 5869] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.

[2006-10-31 11:06:45 xend 5869] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.

[2006-10-31 11:06:45 xend 5869] DEBUG (DevController:478) hotplugStatusCallback 1.

[2006-10-31 11:06:45 xend 6877] DEBUG (DevController:143) Waiting for devices usb.

[2006-10-31 11:06:45 xend 6877] DEBUG (DevController:143) Waiting for devices vbd.

[2006-10-31 11:06:45 xend 6877] DEBUG (DevController:149) Waiting for 768.

[2006-10-31 11:06:45 xend 5869] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/768/hotplug-status.

[2006-10-31 11:06:46 xend 5869] DEBUG (DevController:464) hotplugStatusCallback /local/domain/0/backend/vbd/1/768/hotplug-status.

[2006-10-31 11:06:46 xend 5869] DEBUG (DevController:478) hotplugStatusCallback 1.

[2006-10-31 11:06:46 xend 6877] DEBUG (DevController:143) Waiting for devices irq.

[2006-10-31 11:06:46 xend 6877] DEBUG (DevController:143) Waiting for devices pci.

[2006-10-31 11:06:46 xend 6877] DEBUG (DevController:143) Waiting for devices ioports.

[2006-10-31 11:06:46 xend 6877] DEBUG (DevController:143) Waiting for devices tap.

[2006-10-31 11:06:46 xend 6877] DEBUG (DevController:143) Waiting for devices vtpm.

[2006-10-31 11:06:46 xend 7135] INFO (XendDomain:370) Domain w2k3-001 (1) unpaused.

 

[root@sgixen01 xen]# xm list

Name                                      ID Mem(MiB) VCPUs State   Time(s)

Domain-0                                   0      255     4 r-----     20.2

w2k3-001                                   1      512     1 r-----    186.9

 

Maxim Rozin

BenefIT-technologies

Mobile: +972-54-5409444

Tel: +972-3-9238888

 

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>