[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VmError: Device 0 (vif) could not be connected. Backend device not found.


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Subhabrata Bhattacharya" <xions.microcosm@xxxxxxxxxxxxxx>
  • Date: Fri, 17 Mar 2006 10:38:39 +0530
  • Delivery-date: Fri, 17 Mar 2006 05:10:23 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=m12ax7CWZRh82tdsGQDH5Zt7wSRArtjUHIZG+vlZsyyigfhhczdQHjn1i30wF7fYuc/uWTXyiyGeolCiH049UtFcjyxx90RAj+tMs2ql5yUnDTS+jb+IKltI8mON693MBNg4b2g1eoY8wKDz+PqGLDIHarbmxork70uSZhJulkY=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

List,

For the first time I am getting this message "Backend device not
found" when I try to create a new VM out of my custom made linux
filesystem.
The VM gets created and it remains in a pause state.

[root@sheet /usr/local/src]$xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      414     1 r-----   481.8
sheet-vm01                         6       32     1 --p---     0.0

After sometime

[root@sheet /usr/local/src]$xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      414     1            r-----   481.8
Zombie-sheet-vm01             6       32     1             --p---     0.0

And aftersometime it dies out

[root@sheet /usr/local/src]$xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      414     1            r-----   481.8

I however can boot cleanly with this filesystem in a plain Linux 2.6.12 kernel.

$xm create -c xen-dom1

/usr/lib/python/xen/xm/create.py:30: RuntimeWarning: Python C API
version mismatch for module xen.lowlevel.xc: This Python has API
version 1011, module xen.lowlevel.xc has version 1012.
  import xen.lowlevel.xc
Using config file "xen-dom1".
Error: Device 0 (vif) could not be connected. Backend device not found.
[root@sheet /home/vmconfs]$cat /var/log/xend.log

[2006-03-17 09:49:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:176)
XendDomainInfo.create(['vm', ['name', 'sheet-vm01'], ['memory', '32'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'],
['ramdisk', '/boot/initrd-2.6.12.6-xen.img'], ['ip',
'10.74.64.112:1.2.3.4:10.74.64.1:255.255.255.0:sheet-vm01:eth0:off'],
['root', '/dev/hda12 ro'], ['args', '3'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c'], ['display', ':0.0'], ['nics', '1']]], ['device',
['vbd', ['uname', 'phy:hda12'], ['dev', 'hda12'], ['mode', 'w']]],
['device', ['vif']]])
[2006-03-17 09:49:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:281)
parseConfig: config is ['vm', ['name', 'sheet-vm01'], ['memory',
'32'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.12.6-xenU'],
['ramdisk', '/boot/initrd-2.6.12.6-xen.img'], ['ip',
'10.74.64.112:1.2.3.4:10.74.64.1:255.255.255.0:sheet-vm01:eth0:off'],
['root', '/dev/hda12 ro'], ['args', '3'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c'], ['display', ':0.0'], ['nics', '1']]], ['device',
['vbd', ['uname', 'phy:hda12'], ['dev', 'hda12'], ['mode', 'w']]],
['device', ['vif']]]
[2006-03-17 09:49:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:373)
parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash':
None, 'on_reboot': None, 'image': ['linux', ['kernel',
'/boot/vmlinuz-2.6.12.6-xenU'], ['ramdisk',
'/boot/initrd-2.6.12.6-xen.img'], ['ip',
'10.74.64.112:1.2.3.4:10.74.64.1:255.255.255.0:sheet-vm01:eth0:off'],
['root', '/dev/hda12 ro'], ['args', '3'], ['vcpus', '1'], ['vcpus',
'1'], ['boot', 'c'], ['display', ':0.0'], ['nics', '1']],
'on_poweroff': None, 'cpus': None, 'name': 'sheet-vm01', 'backend':
[], 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 32,
'device': [('vbd', ['vbd', ['uname', 'phy:hda12'], ['dev', 'hda12'],
['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'cpu': None,
'maxmem': None}
[2006-03-17 09:49:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1123)
XendDomainInfo.construct: None 0
[2006-03-17 09:49:12 xend.XendDomainInfo] DEBUG (XendDomainInfo:1155)
XendDomainInfo.initDomain: 6 1.0
[2006-03-17 09:49:12 xend] DEBUG (balloon:47) Balloon: free 71; need 33.
[2006-03-17 09:49:12 xend] INFO (image:132) buildDomain os=linux dom=6 vcpus=1
[2006-03-17 09:49:12 xend] DEBUG (image:170) dom            = 6
[2006-03-17 09:49:12 xend] DEBUG (image:171) image          =
/boot/vmlinuz-2.6.12.6-xenU
[2006-03-17 09:49:12 xend] DEBUG (image:172) store_evtchn   = 1
[2006-03-17 09:49:12 xend] DEBUG (image:173) console_evtchn = 2
[2006-03-17 09:49:12 xend] DEBUG (image:174) cmdline        = 
ip=10.74.64.112:1.2.3.4:10.74.64.1:255.255.255.0:sheet-vm01:eth0:off
root=/dev/hda12 ro 3
[2006-03-17 09:49:12 xend] DEBUG (image:175) ramdisk        =
/boot/initrd-2.6.12.6-xen.img
[2006-03-17 09:49:12 xend] DEBUG (image:176) vcpus          = 1
[2006-03-17 09:49:13 xend] DEBUG (DevController:104) DevController:
writing {'virtual-device': '780', 'backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/6/780'} to
/local/domain/6/device/vbd/780.
[2006-03-17 09:49:13 xend] DEBUG (DevController:106) DevController:
writing {'domain': 'sheet-vm01', 'frontend':
'/local/domain/6/device/vbd/780', 'dev': 'hda12', 'state': '1',
'params': 'hda12', 'mode': 'w', 'frontend-id': '6', 'type': 'phy'} to
/local/domain/0/backend/vbd/6/780.
[2006-03-17 09:49:13 xend] DEBUG (DevController:104) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:07:95:bc', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/6/0'} to
/local/domain/6/device/vif/0.
[2006-03-17 09:49:13 xend] DEBUG (DevController:106) DevController:
writing {'mac': '00:16:3e:07:95:bc', 'state': '1', 'handle': '0',
'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '6', 'domain':
'sheet-vm01', 'frontend': '/local/domain/6/device/vif/0'} to
/local/domain/0/backend/vif/6/0.
[2006-03-17 09:49:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:655)
Storing VM details: {'ssidref': '0', 'uuid':
'5c7dbb5c-59020e16-0f401176-8c72f2b2', 'on_reboot': 'restart',
'image': "(linux (kernel /boot/vmlinuz-2.6.12.6-xenU) (ramdisk
/boot/initrd-2.6.12.6-xen.img) (ip
10.74.64.112:1.2.3.4:10.74.64.1:255.255.255.0:sheet-vm01:eth0:off)
(root '/dev/hda12 ro') (args 3) (vcpus 1) (vcpus 1) (boot c) (display
:0.0) (nics 1))", 'on_poweroff': 'destroy', 'name': 'sheet-vm01',
'vcpus': '1', 'vcpu_avail': '1', 'memory': '32', 'on_crash':
'restart', 'start_time': '1142569153.04', 'maxmem': '32'}
[2006-03-17 09:49:13 xend.XendDomainInfo] DEBUG (XendDomainInfo:680)
Storing domain details: {'console/ring-ref': '80779', 'console/port':
'2', 'name': 'sheet-vm01', 'console/limit': '1048576', 'vm':
'/vm/5c7dbb5c-59020e16-0f401176-8c72f2b2', 'domid': '6',
'cpu/0/availability': 'online', 'memory/target': '32768',
'store/ring-ref': '80780', 'store/port': '1'}
[2006-03-17 09:49:13 xend] DEBUG (DevController:133) Waiting for devices vif.
[2006-03-17 09:49:13 xend] DEBUG (DevController:139) Waiting for 0.
[2006-03-17 09:49:13 xend] DEBUG (DevController:409)
hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2006-03-17 09:49:13 xend] DEBUG (DevController:409)
hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2006-03-17 09:49:13 xend] DEBUG (DevController:426) hotplugStatusCallback 3.
[2006-03-17 09:49:13 xend] ERROR (SrvBase:87) Request wait_for_devices failed.
Traceback (most recent call last):
  File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 72, in
op_wait_for_devices
    return self.dom.waitForDevices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1343, in
waitForDevices
    self.waitForDevices_(c)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 971, in
waitForDevices_
    return self.getDeviceController(deviceClass).waitForDevices()
  File "/usr/lib/python/xen/xend/server/DevController.py", line 135,
in waitForDevices
    return map(self.waitForDevice, self.deviceIDs())
  File "/usr/lib/python/xen/xend/server/DevController.py", line 151,
in waitForDevice
    raise VmError("Device %s (%s) could not be connected. "
VmError: Device 0 (vif) could not be connected. Backend device not found.

Please suggest.

~$ubh

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.