Hi
I m trying to install a full virtualized guest on my dell poweredge 1950 with centos 5.1 64 bits. I just launched the following command
virt-install -n elaphe -r 4096 -f /var/lib/xen/images/elaphe -s 40 -b vlanbr15 --hvm
Would you like to enable graphics support? (yes or no) yes What is the virtual CD image, CD device or install location? /var/lib/xen/F-7-i386-DVD.iso
Starting install... Creating storage file... 100% |=========================| 40 GB 00:00 Creating domain... 0 B 00:00
VNC Viewer Free Edition 4.1.2 for X - built Mar 14 2007 23:13:57 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC.
Mon Apr 7 18:15:36 2008 CConn: connected to host localhost port 5900 CConnection: Server supports RFB protocol version 3.3 CConnection: Using RFB protocol version 3.3 TXImage: Using default colormap and visual, TrueColor, depth 24. CConn: Using pixel format depth 6 (8bpp) rgb222 CConn: Using ZRLE encoding CConn: Throughput 10000 kbit/s - changing to hextile encoding CConn: Throughput 10000 kbit/s - changing to full colour CConn: Using pixel format depth 24 (32bpp) little-endian rgb888 CConn: Using hextile encoding
i got a black vnc screen and nothing happened
on the server i can read in the file qemu-dm.10057.log
domid: 32 qemu: the number of cpus is 1 Watching /local/domain/32/logdirty/next-active qemu_map_cache_init nr_buckets = 10000 shared page at pfn effff buffered io page at pfn efffd xs_read(/vm/02d7a474-7207-08f0-2fa3-7addaeda7552/rtc/timeoffset): read error xs_read(): vncpasswd get error. /vm/02d7a474-7207-08f0-2fa3-7addaeda7552/vncpasswd. char device redirected to /dev/pts/3 I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Triggered log-dirty buffer switch
and in the xend.log [2008-04-07 18:15:20 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:1557) XendDomainInfo.destroy: domid=31 [2008-04-07 18:15:20 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:1566) XendDomainInfo.destroyDomain(31) [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:200) XendDomainInfo.create(['vm', ['name', 'elaphe'], ['memory', '4096'], ['maxmem', '4096'], ['vcpus', '1'], ['uuid', '02d7a474-7207-08f0-2fa3-7addaeda7552'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/var/lib/xen/images/elaphe'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/var/lib/xen/F-7-i386-DVD.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:36:a6:dd'], ['bridge', 'vlanbr15'], ['type', 'ioemu']]]]) [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:306) parseConfig: config is ['vm', ['name', 'elaphe'], ['memory', '4096'], ['maxmem', '4096'], ['vcpus', '1'], ['uuid', '02d7a474-7207-08f0-2fa3-7addaeda7552'], ['on_poweroff', 'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/var/lib/xen/images/elaphe'], ['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/var/lib/xen/F-7-i386-DVD.iso'], ['mode', 'r']]], ['device', ['vif', ['mac', '00:16:3e:36:a6:dd'], ['bridge', 'vlanbr15'], ['type', 'ioemu']]]] [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:411) parseConfig: result is {'shadow_memory': None, 'start_time': None, 'uuid': '02d7a474-7207-08f0-2fa3-7addaeda7552', 'on_crash': 'destroy', 'on_reboot': 'destroy', 'localtime': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'], ['boot', 'd'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['serial', 'pty'], ['vnc', '1'], ['vncunused', '1']], 'on_poweroff': 'destroy', 'bootloader_args': None, 'cpus': None, 'name': 'elaphe', 'backend': [], 'vcpus': 1, 'cpu_weight': None, 'features': None, 'vcpu_avail': None, 'memory': 4096, 'device': [('vbd', ['vbd', ['dev', 'hda:disk'], ['uname', 'file:/var/lib/xen/images/elaphe'], ['mode', 'w']]), ('vbd', ['vbd', ['dev', 'hdc:cdrom'], ['uname', 'file:/var/lib/xen/F-7-i386-DVD.iso'], ['mode', 'r']]), ('vif', ['vif', ['mac', '00:16:3e:36:a6:dd'], ['bridge', 'vlanbr15'], ['type', 'ioemu']])], 'bootloader': None, 'cpu': None, 'maxmem': 4096} [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:1349) XendDomainInfo.construct: None [2008-04-07 18:15:35 xend 8505] DEBUG (balloon:127) Balloon: 7724732 KiB free; need 2048; done. [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:1397) XendDomainInfo.initDomain: 32 1.0 [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: boot, val: d [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: fda, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: fdb, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: soundhw, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: localtime, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: serial, val: pty [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: std-vga, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: isa, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: vcpus, val: 1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: acpi, val: 1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: usb, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: usbdevice, val: None [2008-04-07 18:15:35 xend 8505] DEBUG (image:315) args: k, val: None [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:1436) _initDomain:shadow_memory=0x0, maxmem=0x1000, memory=0x1000. [2008-04-07 18:15:35 xend 8505] DEBUG (balloon:127) Balloon: 7723696 KiB free; need 4236288; done. [2008-04-07 18:15:35 xend 8505] INFO (image:136) buildDomain os=None dom=32 vcpus=1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:268) domid = 32 [2008-04-07 18:15:35 xend 8505] DEBUG (image:269) image = /usr/lib/xen/boot/hvmloader [2008-04-07 18:15:35 xend 8505] DEBUG (image:270) store_evtchn = 2 [2008-04-07 18:15:35 xend 8505] DEBUG (image:271) memsize = 4096 [2008-04-07 18:15:35 xend 8505] DEBUG (image:272) vcpus = 1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:273) pae = 1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:274) acpi = 1 [2008-04-07 18:15:35 xend 8505] DEBUG (image:275) apic = 1 [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/32/768'} to /local/domain/32/device/vbd/768. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:112) DevController: writing {'domain': 'elaphe', 'frontend': '/local/domain/32/device/vbd/768', 'dev': 'hda', 'state': '1', 'params': '/var/lib/xen/images/elaphe', 'mode': 'w', 'online': '1', 'frontend-id': '32', 'type': 'file'} to /local/domain/0/backend/vbd/32/768. [2008-04-07 18:15:35 xend 8505] DEBUG (blkif:24) exception looking up device number for hdc: [Errno 2] No such file or directory: '/dev/hdc' [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/32/5632'} to /local/domain/32/device/vbd/5632. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:112) DevController: writing {'domain': 'elaphe', 'frontend': '/local/domain/32/device/vbd/5632', 'dev': 'hdc', 'state': '1', 'params': '/var/lib/xen/F-7-i386-DVD.iso', 'mode': 'r', 'online': '1', 'frontend-id': '32', 'type': 'file'} to /local/domain/0/backend/vbd/32/5632. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:110) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/32/0'} to /local/domain/32/device/vif/0. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:112) DevController: writing {'bridge': 'vlanbr15', 'domain': 'elaphe', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/32/device/vif/0', 'mac': '00:16:3e:36:a6:dd', 'online': '1', 'frontend-id': '32', 'type': 'ioemu'} to /local/domain/0/backend/vif/32/0. [2008-04-07 18:15:35 xend 8505] INFO (image:407) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '32', '-m', '4096', '-boot', 'd', '-serial', 'pty', '-vcpus', '1', '-acpi', '-domain-name', 'elaphe', '-net', 'nic,vlan=1,macaddr=00:16:3e:36:a6:dd,model=rtl8139', '-net', 'tap,vlan=1,bridge=vlanbr15', '-vncunused', '-vnclisten', '127.0.0.1'] [2008-04-07 18:15:35 xend 8505] INFO (image:409) device model pid: 10057 [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:756) Storing VM details: {'shadow_memory': '33', 'uuid': '02d7a474-7207-08f0-2fa3-7addaeda7552', 'on_reboot': 'destroy', 'start_time': '1207584935.44', 'on_poweroff': 'destroy', 'name': 'elaphe', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '4096', 'on_crash': 'destroy', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (device_model /usr/lib64/xen/bin/qemu-dm) (vcpus 1) (boot d) (acpi 1) (apic 1) (pae 1) (serial pty) (vnc 1) (vncunused 1))', 'maxmem': '4096'} [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:791) Storing domain details: {'console/port': '3', 'name': 'elaphe', 'console/limit': '1048576', 'vm': '/vm/02d7a474-7207-08f0-2fa3-7addaeda7552', 'domid': '32', 'cpu/0/availability': 'online', 'memory/target': '4194304', 'store/ring-ref': '983038', 'store/port': '2'} [2008-04-07 18:15:35 xend.XendDomainInfo 8505] DEBUG (XendDomainInfo:988) XendDomainInfo.handleShutdownWatch [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices vif. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:149) Waiting for 0. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/vif/32/0/hotplug-status. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/vif/32/0/hotplug-status. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:490) hotplugStatusCallback 1. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices usb. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices vbd. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:149) Waiting for 768. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/vbd/32/768/hotplug-status. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:490) hotplugStatusCallback 1. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:149) Waiting for 5632. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:476) hotplugStatusCallback /local/domain/0/backend/vbd/32/5632/hotplug-status. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:490) hotplugStatusCallback 1. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices irq. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices vkbd. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices vfb. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices pci. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices ioports. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices tap. [2008-04-07 18:15:35 xend 8505] DEBUG (DevController:143) Waiting for devices vtpm. [2008-04-07 18:15:35 xend 8505] INFO (XendDomain:370) Domain elaphe (32) unpaused. [root@athenes mailto:root@athenes xen]#
the dom0 seems stuck i can't attach the console
does someone know how to solve this problem?