Hi, I''m kinda new to XEN stuff, and I''ve been trying to create a fully virtualized guest on CentOS 5.3 for almost 3 months and no luck yet. I approached this process through several methods, one with virt-install and creating config file manually. Following is what happens when I try to create a guest, and I have included qemu-dm and last part of xend.log logs below too. Please assist me with creating a fully virtualized guest. (I have enabled the hardware virtualization from system bios) Thank you, -D When I use virt-install the domain creation hangs at : .......................... Starting install... Creating storage file... | 5.0 GB 00:00 Creating domain... | 0 B 00:00 ........................... At this point ''xm list'' displays : .............................. Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 2946 2 r----- 2681.3 myvm 5 51 9 1 r----- 46.9 ................................ If I try "xm console myvm" it doesnt do anything but hangs the whole screen, vncviewer doesnt work either it says : ........................... VNC Viewer Free Edition 4.1.2 for X - built Mar 24 2009 19:53:14 Copyright (C) 2002-2005 RealVNC Ltd. See http://www.realvnc.com for information on VNC. vncviewer: unable to open display "" ............................ my config file looks like this: ******************************************************************* name = "myvm" uuid = "e0d3fcb4-2342-d168-643a-8a2a7f8c03c8" maxmem = 512 memory = 512 vcpus = 1 builder = "hvm" kernel = "/usr/lib/xen/boot/hvmloader" boot = "c" pae = 1 acpi = 1 apic = 1 localtime = 0 on_poweroff = "destroy" on_reboot = "restart" on_crash = "restart" device_model = "/usr/lib/xen/bin/qemu-dm" sdl = 0 vnc = 1 vncunused = 0 vncdisplay = "-5900" disk = [ "file:/var/lib/xen/images/myvm.img,hda,w", "file:/root/temp/centOS.iso,hdc:cdrom,r" ] vif = [ "mac=00:16:3e:01:1e:58,bridge=xenbr0" ] serial = "pty" ******************************************************************** /var/log/xen/qemu-dm.6767.log: ********************************************* I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Triggered log-dirty buffer switch ********************************************* /var/log/xen/xend.log ****************************************************************************** [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:200) XendDo mainInfo.create([''vm'', [''name'', ''myvm''], [''memory'', 512], [''maxmem'', 512], [''on_ poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''vcpu s'', 1], [''uuid'', ''e0d3fcb4-2342-d168-643a-8a2a7f8c03c8''], [''image'', [''hvm'', [''ke rnel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib/xen/bin/qemu-d m''], [''pae'', 1], [''vcpus'', 1], [''boot'', ''c''], [''serial'', ''pty''], [''vnc'', 1], [''v ncdisplay'', ''-5900''], [''sdl'', 1], [''xauthority'', ''/root/.Xauthority''], [''acpi'', 1], [''apic'', 1]]], [''device'', [''vbd'', [''uname'', ''file:/var/lib/xen/images/myvm.i mg''], [''dev'', ''hda''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/root/ temp/mydir/AMP.iso''], [''dev'', ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:01:1e:58'']]]]) [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:312) parseC onfig: config is [''vm'', [''name'', ''myvm''], [''memory'', 512], [''maxmem'', 512], [''on _poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''on_crash'', ''restart''], [''vcp us'', 1], [''uuid'', ''e0d3fcb4-2342-d168-643a-8a2a7f8c03c8''], [''image'', [''hvm'', [''k ernel'', ''/usr/lib/xen/boot/hvmloader''], [''device_model'', ''/usr/lib/xen/bin/qemu- dm''], [''pae'', 1], [''vcpus'', 1], [''boot'', ''c''], [''serial'', ''pty''], [''vnc'', 1], ['' vncdisplay'', ''-5900''], [''sdl'', 1], [''xauthority'', ''/root/.Xauthority''], [''acpi'', 1], [''apic'', 1]]], [''device'', [''vbd'', [''uname'', ''file:/var/lib/xen/images/myvm. img''], [''dev'', ''hda''], [''mode'', ''w'']]], [''device'', [''vbd'', [''uname'', ''file:/root /temp/mydir/AMP.iso''], [''dev'', ''hdc:cdrom''], [''mode'', ''r'']]], [''device'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:01:1e:58'']]]] [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:417) parseC onfig: result is {''shadow_memory'': None, ''start_time'': None, ''uuid'': ''e0d3fcb4-2 342-d168-643a-8a2a7f8c03c8'', ''on_crash'': ''restart'', ''on_reboot'': ''restart'', ''loc altime'': None, ''image'': [''hvm'', [''kernel'', ''/usr/lib/xen/boot/hvmloader''], [''dev ice_model'', ''/usr/lib/xen/bin/qemu-dm''], [''pae'', 1], [''vcpus'', 1], [''boot'', ''c''] , [''serial'', ''pty''], [''vnc'', 1], [''vncdisplay'', ''-5900''], [''sdl'', 1], [''xauthori ty'', ''/root/.Xauthority''], [''acpi'', 1], [''apic'', 1]], ''on_poweroff'': ''destroy'', ''bootloader_args'': None, ''cpus'': None, ''name'': ''myvm'', ''backend'': [], ''vcpus'': 1 , ''cpu_weight'': None, ''features'': None, ''vcpu_avail'': None, ''memory'': 512, ''devi ce'': [(''vbd'', [''vbd'', [''uname'', ''file:/var/lib/xen/images/myvm.img''], [''dev'', ''h da''], [''mode'', ''w'']]), (''vbd'', [''vbd'', [''uname'', ''file:/root/temp/mydir/AMP.iso'' ], [''dev'', ''hdc:cdrom''], [''mode'', ''r'']]), (''vif'', [''vif'', [''bridge'', ''xenbr0''], [''mac'', ''00:16:3e:01:1e:58'']])], ''bootloader'': None, ''cpu'': None, ''maxmem'': 512} [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:1427) XendD omainInfo.construct: None [2009-08-13 11:37:21 xend 2861] DEBUG (balloon:143) Balloon: 1064816 KiB free; n eed 2048; done. [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:1475) XendD omainInfo.initDomain: 7 1.0 [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: boot, val: c [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: fda, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: fdb, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: soundhw, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: localtime, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: serial, val: pty [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: std-vga, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: isa, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: vcpus, val: 1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: acpi, val: 1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: usb, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: usbdevice, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:328) args: k, val: None [2009-08-13 11:37:21 xend 2861] DEBUG (image:388) No VNC passwd configured for v fb access [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:1514) _init Domain:shadow_memory=0x0, maxmem=0x200, memory=0x200. [2009-08-13 11:37:21 xend 2861] DEBUG (balloon:143) Balloon: 1063788 KiB free; n eed 537600; done. [2009-08-13 11:37:21 xend 2861] INFO (image:137) buildDomain os=None dom=7 vcpus =1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:273) domid = 7 [2009-08-13 11:37:21 xend 2861] DEBUG (image:274) image = /usr/lib/xen/ boot/hvmloader [2009-08-13 11:37:21 xend 2861] DEBUG (image:275) store_evtchn = 2 [2009-08-13 11:37:21 xend 2861] DEBUG (image:276) memsize = 512 [2009-08-13 11:37:21 xend 2861] DEBUG (image:277) vcpus = 1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:278) pae = 1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:279) acpi = 1 [2009-08-13 11:37:21 xend 2861] DEBUG (image:280) apic = 1 [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1 '', ''backend'': ''/local/domain/0/backend/vbd/7/768''} to /local/domain/7/device/vbd /768. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:112) DevController: writing {''domain'': ''myvm'', ''frontend'': ''/local/domain/7/device/vbd/768'', ''format'': ''raw '', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''/var/lib/xen/images/myvm.img'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''7'', ''type'': ''file''} to /local/domain/0/back end/vbd/7/768. [2009-08-13 11:37:21 xend 2861] DEBUG (blkif:27) exception looking up device num ber for hdc: [Errno 2] No such file or directory: ''/dev/hdc'' [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''5632'', ''device-type'': ''cdrom'', ''state'': ''1'', ''backend'': ''/local/domain/0/backend/vbd/7/5632''} to /local/domain/7/device/ vbd/5632. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:112) DevController: writing {''domain'': ''myvm'', ''frontend'': ''/local/domain/7/device/vbd/5632'', ''format'': ''ra w'', ''dev'': ''hdc'', ''state'': ''1'', ''params'': ''/root/temp/mydir/AMP.iso'', ''mode'': ''r '', ''online'': ''1'', ''frontend-id'': ''7'', ''type'': ''file''} to /local/domain/0/backend /vbd/7/5632. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:110) DevController: writing {''backend-id'': ''0'', ''mac'': ''00:16:3e:01:1e:58'', ''handle'': ''0'', ''state'': ''1'', ''b ackend'': ''/local/domain/0/backend/vif/7/0''} to /local/domain/7/device/vif/0. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:112) DevController: writing {''bridge'': ''xenbr0'', ''domain'': ''myvm'', ''handle'': ''0'', ''script'': ''/etc/xen/scrip ts/vif-bridge'', ''state'': ''1'', ''frontend'': ''/local/domain/7/device/vif/0'', ''mac'': ''00:16:3e:01:1e:58'', ''online'': ''1'', ''frontend-id'': ''7''} to /local/domain/0/back end/vif/7/0. [2009-08-13 11:37:21 xend 2861] INFO (image:432) spawning device models: /usr/li b/xen/bin/qemu-dm [''/usr/lib/xen/bin/qemu-dm'', ''-d'', ''7'', ''-m'', ''512'', ''-boot'', ''c'', ''-serial'', ''pty'', ''-vcpus'', ''1'', ''-acpi'', ''-domain-name'', ''myvm'', ''-net'', '' nic,vlan=1,macaddr=00:16:3e:01:1e:58,model=rtl8139'', ''-net'', ''tap,vlan=1,bridgexenbr0'', ''-vnc'', ''127.0.0.1:-5900''] [2009-08-13 11:37:21 xend 2861] INFO (image:435) device model pid: 865 [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:797) Storin g VM details: {''shadow_memory'': ''5'', ''uuid'': ''e0d3fcb4-2342-d168-643a-8a2a7f8c03 c8'', ''on_reboot'': ''restart'', ''start_time'': ''1250188641.43'', ''on_poweroff'': ''dest roy'', ''name'': ''myvm'', ''xend/restart_count'': ''0'', ''vcpus'': ''1'', ''vcpu_avail'': ''1'' , ''memory'': ''512'', ''on_crash'': ''restart'', ''image'': ''(hvm (kernel /usr/lib/xen/bo ot/hvmloader) (device_model /usr/lib/xen/bin/qemu-dm) (pae 1) (vcpus 1) (boot c) (serial pty) (vnc 1) (vncdisplay -5900) (sdl 1) (xauthority /root/.Xauthority) (acpi 1) (apic 1))'', ''maxmem'': ''512''} [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:832) Storin g domain details: {''console/port'': ''3'', ''name'': ''myvm'', ''console/limit'': ''104857 6'', ''vm'': ''/vm/e0d3fcb4-2342-d168-643a-8a2a7f8c03c8'', ''domid'': ''7'', ''cpu/0/avail ability'': ''online'', ''memory/target'': ''524288'', ''store/ring-ref'': ''131070'', ''stor e/port'': ''2''} [2009-08-13 11:37:21 xend.XendDomainInfo 2861] DEBUG (XendDomainInfo:1036) XendD omainInfo.handleShutdownWatch [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices vi f. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:160) Waiting for 0. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices us b. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices vb d. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:160) Waiting for 768. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:160) Waiting for 5632. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/7/5632/hotplug-status. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:496) hotplugStatusCallback /local/domain/0/backend/vbd/7/5632/hotplug-status. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:510) hotplugStatusCallback 1. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices ir q. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices vk bd. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices vf b. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices pc i. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices io ports. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices ta p. [2009-08-13 11:37:21 xend 2861] DEBUG (DevController:154) Waiting for devices vt pm. [2009-08-13 11:37:21 xend 2861] INFO (XendDomain:380) Domain myvm (7) unpaused. ********************************************************************************************* _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users