Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
fail to start Xen DomU, vncviewer: unable to open display ""
Greetings,
I have set up one DomU - Windows 7, but when I "xm create winxp01.cfg" , I receive following messages:
xbdback backend /vbd/1/768:can't VOP_OPEN device 0x7:16
xenbackendd[260]: Failed to read /local/domain/0/backend/console/1/0/script (No such file or directory)
xbd backend:attach device cd0a (size ...) for domain 1
started domain winxp01
But I really can find it when I xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 502 1 r----- 106.7
winxp01 1 2048 1 r----- 61.4
when I start vncviewer, I get messages - vncviewer: unable to open display ""
Can anyone do me a favor to check what happened ? Here is the configuration:
kernel='/usr/pkg/lib/xen/boot/hvmloader'
builder='hvm'
memory='2048'
name="winxp01"
device_model='/usr/pkg/libexec/qemu-dm'
disk=['phy:/dev/wd0h,hda,w','phy:/dev/cd0a,hdb:cdrom,r']
vif=['type=ioemu,bridge=bridge0']
boot='d'
vnc=1
#vncconsole=1
#stdvga=0
usbdevice='tablet'
Here is the xend.log:
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'winxp01'], ['memory', '2048'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel', '/usr/pkg/lib/xen/boot/hvmloader'], ['device_model', '/usr/pkg/libexec/qemu-dm'], ['pae', 1], ['vcpus', 1], ['boot', 'd'], ['fda', ''], ['fdb', ''], ['timer_mode', 0], ['localtime', 0], ['serial', ''], ['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncunused', 1], ['xauthority', '/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi', 1], ['apic', 1], ['usb', 0], ['usbdevice', 'tablet'], ['keymap', '']]], ['device', ['vbd', ['uname', 'phy:/dev/wd0h'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'phy:/dev/cd0a'], ['dev', 'hdb:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge', 'bridge0'], ['type', 'ioemu']]]])
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:1520) XendDomainInfo.constructDomain
[2010-09-15 13:22:17 244] DEBUG (balloon:115) Balloon: 3465332 KiB free; need 2048; done.
[2010-09-15 13:22:17 244] DEBUG (XendDomain:434) Adding Domain: 1
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:1580) XendDomainInfo.initDomain: 1 256
[2010-09-15 13:22:17 244] DEBUG (image:337) args: boot, val: d
[2010-09-15 13:22:17 244] DEBUG (image:337) args: fda, val: None
[2010-09-15 13:22:17 244] DEBUG (image:337) args: fdb, val: None
[2010-09-15 13:22:17 244] DEBUG (image:337) args: soundhw, val: None
[2010-09-15 13:22:17 244] DEBUG (image:337) args: localtime, val: 0
[2010-09-15 13:22:17 244] DEBUG (image:337) args: serial, val: None
[2010-09-15 13:22:17 244] DEBUG (image:337) args: std-vga, val: 0
[2010-09-15 13:22:17 244] DEBUG (image:337) args: isa, val: 0
[2010-09-15 13:22:17 244] DEBUG (image:337) args: acpi, val: 1
[2010-09-15 13:22:17 244] DEBUG (image:337) args: usb, val: 0
[2010-09-15 13:22:17 244] DEBUG (image:337) args: usbdevice, val: tablet
[2010-09-15 13:22:17 244] DEBUG (image:337) args: k, val: None
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:1614) _initDomain:shadow_memory=0x0, memory_static_max=0x80000000, memory_static_min=0x0.
[2010-09-15 13:22:17 244] DEBUG (balloon:115) Balloon: 3464296 KiB free; need 2122752; done.
[2010-09-15 13:22:17 244] INFO (image:128) buildDomain os=hvm dom=1 vcpus=1
[2010-09-15 13:22:17 244] DEBUG (image:281) domid = 1
[2010-09-15 13:22:17 244] DEBUG (image:282) image = /usr/pkg/lib/xen/boot/hvmloader
[2010-09-15 13:22:17 244] DEBUG (image:283) store_evtchn = 2
[2010-09-15 13:22:17 244] DEBUG (image:284) memsize = 2048
[2010-09-15 13:22:17 244] DEBUG (image:285) vcpus = 1
[2010-09-15 13:22:17 244] DEBUG (image:286) acpi = 1
[2010-09-15 13:22:17 244] DEBUG (image:287) apic = 1
[2010-09-15 13:22:17 244] INFO (XendDomainInfo:1422) createDevice: vfb : {'vncunused': 1, 'other_config': {'vncunused': 1}, 'uuid': '9156ac1b-eb32-973b-3975-ced5d76cc348'}
[2010-09-15 13:22:17 244] DEBUG (DevController:118) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/1/0'} to /local/domain/1/device/vfb/0.
[2010-09-15 13:22:17 244] DEBUG (DevController:120) DevController: writing {'vncunused': '1', 'domain': 'winxp01', 'frontend': '/local/domain/1/device/vfb/0', 'uuid': '9156ac1b-eb32-973b-3975-ced5d76cc348', 'state': '1', 'online': '1', 'frontend-id': '1'} to /local/domain/0/backend/vfb/1/0.
[2010-09-15 13:22:17 244] INFO (XendDomainInfo:1422) createDevice: vbd : {'uuid': 'b6de8ec1-ece3-25d4-4a87-356c56b2f5c3', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'phy:/dev/wd0h', 'mode': 'w'}
[2010-09-15 13:22:17 244] DEBUG (DevController:118) 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.
[2010-09-15 13:22:17 244] DEBUG (DevController:120) DevController: writing {'domain': 'winxp01', 'frontend': '/local/domain/1/device/vbd/768', 'uuid': 'b6de8ec1-ece3-25d4-4a87-356c56b2f5c3', 'dev': 'hda', 'state': '1', 'params': '/dev/wd0h', 'mode': 'w', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/768.
[2010-09-15 13:22:17 244] INFO (XendDomainInfo:1422) createDevice: vbd : {'uuid': 'ea045cb9-583c-09ba-77d9-44451c573f1b', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'hdb:cdrom', 'uname': 'phy:/dev/cd0a', 'mode': 'r'}
[2010-09-15 13:22:17 244] DEBUG (DevController:118) DevController: writing {'backend-id': '0', 'virtual-device': '832', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/832'} to /local/domain/1/device/vbd/832.
[2010-09-15 13:22:17 244] DEBUG (DevController:120) DevController: writing {'domain': 'winxp01', 'frontend': '/local/domain/1/device/vbd/832', 'uuid': 'ea045cb9-583c-09ba-77d9-44451c573f1b', 'dev': 'hdb', 'state': '1', 'params': '/dev/cd0a', 'mode': 'r', 'online': '1', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/832.
[2010-09-15 13:22:17 244] INFO (XendDomainInfo:1422) createDevice: vif : {'bridge': 'bridge0', 'mac': '00:16:3e:7a:75:40', 'type': 'ioemu', 'uuid': 'fcdb9f59-73a3-a220-a080-909a2485d3c0'}
[2010-09-15 13:22:17 244] DEBUG (DevController:118) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/1/0'} to /local/domain/1/device/vif/0.
[2010-09-15 13:22:17 244] DEBUG (DevController:120) DevController: writing {'bridge': 'bridge0', 'domain': 'winxp01', 'handle': '0', 'uuid': 'fcdb9f59-73a3-a220-a080-909a2485d3c0', 'script': '/usr/pkg/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:7a:75:40', 'frontend-id': '1', 'state': '1', 'online': '1', 'frontend': '/local/domain/1/device/vif/0', 'type': 'ioemu'} to /local/domain/0/backend/vif/1/0.
[2010-09-15 13:22:17 244] INFO (image:452) spawning device models: /usr/pkg/libexec/qemu-dm ['/usr/pkg/libexec/qemu-dm', '-d', '1', '-vcpus', '1', '-boot', 'd', '-acpi', '-usbdevice', 'tablet', '-domain-name', 'winxp01', '-net', 'nic,vlan=1,macaddr=00:16:3e:7a:75:40,model=rtl8139', '-net', 'tap,vlan=1,bridge=bridge0', '-vncunused', '-vnclisten', '127.0.0.1']
[2010-09-15 13:22:17 244] INFO (image:456) device model pid: 1081
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:2093) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '17', 'uuid': '4b46785a-e1ef-9d6b-ebd7-43e6f785975d', 'on_reboot': 'restart', 'start_time': '1284528137.44', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': '(hvm (kernel /usr/pkg/lib/xen/boot/hvmloader) (acpi 1) (apic 1) (boot d) (device_model /usr/pkg/libexec/qemu-dm) (isa 0) (localtime 0) (monitor 0) (nographic 0) (pae 1) (rtc_timeoffset 0) (stdvga 0) (usb 0) (usbdevice tablet) (vnc 1) (timer_mode 0) (vncunused 1) (xauthority /root/.Xauthority) (notes (SUSPEND_CANCEL 1)))', 'name': 'winxp01'}
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:914) Storing domain details: {'console/port': '3', 'name': 'winxp01', 'console/limit': '1048576', 'vm': '/vm/4b46785a-e1ef-9d6b-ebd7-43e6f785975d', 'domid': '1', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '2097152', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '524286', 'store/port': '2'}
[2010-09-15 13:22:17 244] DEBUG (DevController:118) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/1/0'} to /local/domain/1/device/console/0.
[2010-09-15 13:22:17 244] DEBUG (DevController:120) DevController: writing {'domain': 'winxp01', 'frontend': '/local/domain/1/device/console/0', 'uuid': '4a5def70-ebbf-a9c7-c3a2-7869dd8aecbd', 'frontend-id': '1', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/1/0.
[2010-09-15 13:22:17 244] DEBUG (XendDomainInfo:998) XendDomainInfo.handleShutdownWatch
[2010-09-15 13:22:17 244] DEBUG (DevController:151) Waiting for devices vif.
[2010-09-15 13:22:17 244] DEBUG (DevController:156) Waiting for 0.
[2010-09-15 13:22:17 244] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2010-09-15 13:22:21 244] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vif/1/0/hotplug-status.
[2010-09-15 13:22:21 244] DEBUG (DevController:604) hotplugStatusCallback 1.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices vkbd.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices ioports.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices tap.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices console.
[2010-09-15 13:22:21 244] DEBUG (DevController:156) Waiting for 0.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices usb.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices vbd.
[2010-09-15 13:22:21 244] DEBUG (DevController:156) Waiting for 768.
[2010-09-15 13:22:21 244] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vbd/1/768/hotplug-status.
[2010-09-15 13:22:21 244] DEBUG (DevController:604) hotplugStatusCallback 1.
[2010-09-15 13:22:21 244] DEBUG (DevController:156) Waiting for 832.
[2010-09-15 13:22:21 244] DEBUG (DevController:590) hotplugStatusCallback /local/domain/0/backend/vbd/1/832/hotplug-status.
[2010-09-15 13:22:21 244] DEBUG (DevController:604) hotplugStatusCallback 1.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices irq.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices vfb.
[2010-09-15 13:22:21 244] DEBUG (vfbif:99) skip waiting for HVM vfb
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices pci.
[2010-09-15 13:22:21 244] DEBUG (DevController:151) Waiting for devices vtpm.
[2010-09-15 13:22:21 244] INFO (XendDomain:1121) Domain winxp01 (1) unpaused.
Home |
Main Index |
Thread Index |
Old Index