Skip to contentSkip to conversation

pvfb failure

DISCUSSION Amin 1 participant 1 message Mar 23, 2007

lore
Share & tools
lore

Amin

author
#0 lore raw

Hi there,

I've been having no luck at all for about a week or two getting a vfb up. I'm using the latest changeset. Has anyone else had problems there? This worked without issues before:

kernel="/boot/vmlinuz-2.6.18-xen"
ramdisk="/boot/initrd-2.6.18-xen.img"
name = "fc"
memory=256
disk=[ 'tap:aio:/home/xen/fc/disk.img,xvda1,w' ]
root="/dev/xvda1"
extra="ro xencons=xvc"
vif = [ 'mac=00:16:3e:2e:d7:66, bridge=xenbr0' ]
vfb = ['type=vnc,vncunused=1']

Now every time I start I get:
Error: Device 0 (vkbd) is already connected.

Log below.

Thanks
Amin

[2007-03-23 15:40:11 2793] DEBUG (XendDomainInfo:77) XendDomainInfo.create(['vm', ['name', 'fc'], ['memory', 256], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ig nore'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-xen'], ['ramdisk', '/boot/initrd-2.6.18-xen.img'], ['root', '/dev/xvda1'], ['args', 'ro']]], ['device', ['tap', ['una me', 'tap:aio:/home/xen/fc/disk.img'], ['dev', 'xvda1'], ['mode', 'w']]], ['device', ['vif', ['bridge', 'xenbr0'], ['mac', '00:16:3e:2e:d7:66']]], ['device', ['vkbd']], ['device' , ['vfb', ['vncunused', '1'], ['type', 'vnc'], ['display', ':0'], ['xauthority', '/root/.xauthwOR16h']]]])
[2007-03-23 15:40:11 2793] DEBUG (XendDomainInfo:1402) XendDomainInfo.constructDomain
[2007-03-23 15:40:11 2793] DEBUG (XendDomain:431) Adding Domain: 13
[2007-03-23 15:40:11 2793] DEBUG (XendDomainInfo:1449) XendDomainInfo.initDomain: 13 256
[2007-03-23 15:40:11 2793] DEBUG (XendDomainInfo:1481) _initDomain:shadow_memory=0x0, memory_static_max=0x10000000, memory_static_min=0x0. [2007-03-23 15:40:11 2793] DEBUG (balloon:127) Balloon: 262892 KiB free; need 262144; done.
[2007-03-23 15:40:11 2793] INFO (image:129) buildDomain os=linux dom=13 vcpus=1

[2007-03-23 15:40:11 2793] DEBUG (image:198) domid          = 13
[2007-03-23 15:40:11 2793] DEBUG (image:199) memsize        = 256
[2007-03-23 15:40:11 2793] DEBUG (image:200) image          = /boot/vmlinuz-2.6.18-xen
[2007-03-23 15:40:11 2793] DEBUG (image:201) store_evtchn   = 1
[2007-03-23 15:40:11 2793] DEBUG (image:202) console_evtchn = 2
[2007-03-23 15:40:11 2793] DEBUG (image:203) cmdline        = root=/dev/xvda1 ro
[2007-03-23 15:40:11 2793] DEBUG (image:204) ramdisk        = /boot/initrd-2.6.18-xen.img
[2007-03-23 15:40:11 2793] DEBUG (image:205) vcpus          = 1
[2007-03-23 15:40:11 2793] DEBUG (image:206) features       =

[2007-03-23 15:40:12 2793] INFO (XendDomainInfo:1304) createDevice: vfb : {'vncunused': '1', 'xauthority': '/root/.xauthwOR16h', 'other_config': {'vncunused': '1', 'type': 'vnc',
'display': ':0', 'xauthority': '/root/.xauthwOR16h'}, 'type': 'vnc', 'display': ':0', 'uuid': '39d6e2e2-be6b-d287-9f6e-4866402280f6'}
[2007-03-23 15:40:12 2793] DEBUG (DevController:115) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/13/0'} to /local/domain/13/d evice/vfb/0.
[2007-03-23 15:40:12 2793] DEBUG (DevController:117) DevController: writing {'vncunused': '1', 'domain': 'fc', 'frontend': '/local/domain/13/device/vfb/0', 'uuid': '39d6e2e2-be6b -d287-9f6e-4866402280f6', 'state': '1', 'online': '1', 'frontend-id': '13', 'type': 'vnc', 'display': ':0', 'xauthority': '/root/.xauthwOR16h'} to /local/domain/0/backend/vfb/13/ 0.
[2007-03-23 15:40:12 2793] DEBUG (vfbif:66) No VNC passwd configured for vfb access
[2007-03-23 15:40:12 2793] INFO (XendDomainInfo:1304) createDevice: tap : {'bootable': 1, 'uname': 'tap:aio:/home/xen/fc/disk.img', 'mode': 'w', 'dev': 'xvda1', 'uuid': 'b6c04d9c -7d34-c22e-cd27-2c578a468733'}
[2007-03-23 15:40:12 2793] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'virtual-device': '51713', 'device-type': 'disk', 'state': '1', 'backend': '/local /domain/0/backend/tap/13/51713'} to /local/domain/13/device/vbd/51713.
[2007-03-23 15:40:12 2793] DEBUG (DevController:117) DevController: writing {'domain': 'fc', 'frontend': '/local/domain/13/device/vbd/51713', 'uuid': 'b6c04d9c-7d34-c22e-cd27-2c5 78a468733', 'dev': 'xvda1', 'state': '1', 'params': 'aio:/home/xen/fc/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '13', 'type': 'tap'} to /local/domain/0/backend/tap/13 /51713.
[2007-03-23 15:40:12 2793] INFO (XendDomainInfo:1304) createDevice: vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:2e:d7:66', 'uuid': '1677dcbf-fbdb-9d2b-188a-a599917ca8eb'} [2007-03-23 15:40:12 2793] DEBUG (DevController:115) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:2e:d7:66', 'handle': '0', 'state': '1', 'backend': '/local/domain /0/backend/vif/13/0'} to /local/domain/13/device/vif/0.
[2007-03-23 15:40:12 2793] DEBUG (DevController:117) DevController: writing {'bridge': 'xenbr0', 'domain': 'fc', 'handle': '0', 'uuid': '1677dcbf-fbdb-9d2b-188a-a599917ca8eb', 's cript': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/13/device/vif/0', 'mac': '00:16:3e:2e:d7:66', 'online': '1', 'frontend-id': '13', 'type': 'netfron t'} to /local/domain/0/backend/vif/13/0.
[2007-03-23 15:40:12 2793] INFO (XendDomainInfo:1304) createDevice: vkbd : {'uuid': 'c02f66b0-9b38-eb93-4368-312442572c23'}
[2007-03-23 15:40:12 2793] ERROR (XendDomainInfo:1516) XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1508, in _initDomain
self._createDevices()
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1306, in _createDevices
devid = self._createDevice(devclass, config)
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1282, in _createDevice
return self.getDeviceController(deviceClass).createDevice(devConfig)
File "//usr/lib64/python/xen/xend/server/DevController.py", line 111, in createDevice
raise VmError("Device %s is already connected." % dev_str)
VmError: Device 0 (vkbd) is already connected.
[2007-03-23 15:40:12 2793] ERROR (XendDomainInfo:412) VM start failed
Traceback (most recent call last):
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 392, in start

    XendTask.log_progress(31, 60, self._initDomain)

File "//usr/lib64/python/xen/xend/XendTask.py", line 213, in log_progress
retval = func(*args, **kwds)
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1519, in _initDomain
raise exn
VmError: Device 0 (vkbd) is already connected.
[2007-03-23 15:40:12 2793] DEBUG (XendDomainInfo:1643) XendDomainInfo.destroy: domid=13 [2007-03-23 15:40:12 2793] DEBUG (XendDomainInfo:1660) XendDomainInfo.destroyDomain(13) [2007-03-23 15:40:12 2793] ERROR (XendDomainInfo:82) Domain construction failed Traceback (most recent call last):
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 80, in create

    vm.start()
  File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 392, in start
    XendTask.log_progress(31, 60, self._initDomain)

File "//usr/lib64/python/xen/xend/XendTask.py", line 213, in log_progress
retval = func(*args, **kwds)
File "//usr/lib64/python/xen/xend/XendDomainInfo.py", line 1519, in _initDomain
raise exn
VmError: Device 0 (vkbd) is already connected.
[2007-03-23 15:40:12 2793] DEBUG (XendDomainInfo:1643) XendDomainInfo.destroy: domid=None [2007-03-23 15:40:12 2793] DEBUG (XendDomainInfo:1660) XendDomainInfo.destroyDomain(None)