WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Error: Device 2049 (vbd) could not be connected. Path closed

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 2049 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/3/2049 state: 1
From: Phillip Schulte <phillip.schulte@xxxxxxxxxx>
Date: Mon, 15 Nov 2010 09:47:17 +0100
Delivery-date: Mon, 15 Nov 2010 00:48:39 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hey folks,

it took me two hole days to come so far: xen kernel starting, xen tools are working etc..
So now I want to create a new domu guest. I created it with�xen-create-image --hostname=alfredo --size=8Gb --dist=lenny --memory=512M --ide --dhcp.
But when I am trying to start my new mashine I get the following error:�

xm create alfredo.cfg -c

Using config file "/etc/xen/alfredo.cfg".
Error: Device 2049 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/3/2049 state: 1

Okay. Googled for two hours tried everything like max_loop=64 etc but nothing helped.
One thing I find suspicious is teh following log entry:

kernel-provided name 'evtchn' and NAME= 'xen/evtchn' disagree, please use SYMLINK+= or change the kernel to provide the ...

What does it mean and how can I fix it if necessary?


So here are my releveant logs:

cat /dev/xen

crw------- 1 root root 10, 55 2010-11-12 15:14 evtchn

cat /proc/misc

�54 gntdev
�55 evtchn
�56 network_throughput
�57 network_latency
�58 cpu_dma_latency
�59 device-mapper
��1 psaux
200 tun
�60 pktcdvd
228 hpet
229 fuse
�61 ecryptfs
231 snapshot
�62 rfkill
�63 vga_arbiter

xend-debug.log


Xend started at Fri Nov 12 15:14:48 2010.
cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host0/model: No such file or directory
cat: /sys/bus/scsi/devices/host0/type: No such file or directory
cat: /sys/bus/scsi/devices/host0/rev: No such file or directory
cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host1/model: No such file or directory
cat: /sys/bus/scsi/devices/host1/type: No such file or directory
cat: /sys/bus/scsi/devices/host1/rev: No such file or directory
cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host2/model: No such file or directory
cat: /sys/bus/scsi/devices/host2/type: No such file or directory
cat: /sys/bus/scsi/devices/host2/rev: No such file or directory
cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host3/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host3/model: No such file or directory
cat: /sys/bus/scsi/devices/host3/type: No such file or directory
cat: /sys/bus/scsi/devices/host3/rev: No such file or directory
cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host4/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host4/model: No such file or directory
cat: /sys/bus/scsi/devices/host4/type: No such file or directory
cat: /sys/bus/scsi/devices/host4/rev: No such file or directory
cat: /sys/bus/scsi/devices/host4/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host5/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host5/model: No such file or directory
cat: /sys/bus/scsi/devices/host5/type: No such file or directory
cat: /sys/bus/scsi/devices/host5/rev: No such file or directory
cat: /sys/bus/scsi/devices/host5/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target0:0:0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/scsi_level: No such file or directory
/usr/local/lib/python2.6/dist-packages/xen/xend/XendAPI.py:548: DeprecationWarning: object.__new__() takes no parameters
��return object.__new__(cls, *args, **kwds)


xend-log

[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2508) XendDomainInfo.constructDomain
[2010-11-12 15:21:24 1789] DEBUG (balloon:220) Balloon: 5127460 KiB free; need 16384; done.
[2010-11-12 15:21:24 1789] DEBUG (XendDomain:464) Adding Domain: 5
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2818) XendDomainInfo.initDomain: 5 256
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2845) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0.
[2010-11-12 15:21:24 1789] INFO (image:182) buildDomain os=linux dom=5 vcpus=1
[2010-11-12 15:21:24 1789] DEBUG (image:721) domid � � � � �= 5
[2010-11-12 15:21:24 1789] DEBUG (image:722) memsize � � � �= 1024
[2010-11-12 15:21:24 1789] DEBUG (image:723) image � � � � �= /boot/vmlinuz-2.6.32.11
[2010-11-12 15:21:24 1789] DEBUG (image:724) store_evtchn � = 1
[2010-11-12 15:21:24 1789] DEBUG (image:725) console_evtchn = 2
[2010-11-12 15:21:24 1789] DEBUG (image:726) cmdline � � � �= root=/dev/sda1 ro ip=:127.0.255.255::::eth0:dhcp�
[2010-11-12 15:21:24 1789] DEBUG (image:727) ramdisk � � � �=�
[2010-11-12 15:21:24 1789] DEBUG (image:728) vcpus � � � � �= 1
[2010-11-12 15:21:24 1789] DEBUG (image:729) features � � � =�
[2010-11-12 15:21:24 1789] DEBUG (image:730) flags � � � � �= 0
[2010-11-12 15:21:24 1789] DEBUG (image:731) superpages � � = 0
[2010-11-12 15:21:24 1789] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': '8ab95ea6-6526-4a0c-f411-ba383f0e7cd8', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'sda1', 'uname': 'file:/home/xen/domains/alfredo/disk.img', 'mode': 'w'}
[2010-11-12 15:21:24 1789] DEBUG (DevController:95) DevController: writing {'virtual-device': '2049', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/2049'} to /local/domain/5/device/vbd/2049.
[2010-11-12 15:21:24 1789] DEBUG (DevController:97) DevController: writing {'domain': 'alfredo', 'frontend': '/local/domain/5/device/vbd/2049', 'uuid': '8ab95ea6-6526-4a0c-f411-ba383f0e7cd8', 'bootable': '1', 'dev': 'sda1', 'state': '1', 'params': '/home/xen/domains/alfredo/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '5', 'type': 'file'} to /local/domain/0/backend/vbd/5/2049.
[2010-11-12 15:21:24 1789] INFO (XendDomainInfo:2367) createDevice: vbd : {'uuid': 'd3ff0275-40c6-c751-bfac-3acca5ae3100', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'sda2', 'uname': 'file:/home/xen/domains/alfredo/swap.img', 'mode': 'w'}
[2010-11-12 15:21:24 1789] DEBUG (DevController:95) DevController: writing {'virtual-device': '2050', 'device-type': 'disk', 'protocol': 'x86_64-abi', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/5/2050'} to /local/domain/5/device/vbd/2050.
[2010-11-12 15:21:24 1789] DEBUG (DevController:97) DevController: writing {'domain': 'alfredo', 'frontend': '/local/domain/5/device/vbd/2050', 'uuid': 'd3ff0275-40c6-c751-bfac-3acca5ae3100', 'bootable': '0', 'dev': 'sda2', 'state': '1', 'params': '/home/xen/domains/alfredo/swap.img', 'mode': 'w', 'online': '1', 'frontend-id': '5', 'type': 'file'} to /local/domain/0/backend/vbd/5/2050.
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:3400) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '0', 'uuid': '981b6857-ba4a-ee99-3a15-10157f7c55e5', 'on_reboot': 'restart', 'start_time': '1289571684.7', 'on_poweroff': 'destroy', 'bootloader_args': '', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'bootloader': '', 'image': "(linux (kernel /boot/vmlinuz-2.6.32.11) (args 'root=/dev/sda1 ro ip=:127.0.255.255::::eth0:dhcp ') (superpages 0) (videoram 4) (pci ()) (nomigrate 0) (tsc_mode 0) (notes (HV_START_LOW 18446603336221196288) (FEATURES '!writable_page_tables|pae_pgdir_above_4gb') (VIRT_BASE 18446744071562067968) (GUEST_VERSION 2.6) (PADDR_OFFSET 0) (GUEST_OS linux) (HYPERCALL_PAGE 18446744071578882048) (LOADER generic) (SUSPEND_CANCEL 1) (PAE_MODE yes) (ENTRY 18446744071587811840) (XEN_VERSION xen-3.0)))", 'name': 'alfredo'}
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:1804) Storing domain details: {'console/ring-ref': '1551972', 'image/entry': '18446744071587811840', 'console/port': '2', 'store/ring-ref': '1551973', 'image/loader': 'generic', 'vm': '/vm/981b6857-ba4a-ee99-3a15-10157f7c55e5', 'control/platform-feature-multiprocessor-suspend': '1', 'image/hv-start-low': '18446603336221196288', 'image/guest-os': 'linux', 'image/virt-base': '18446744071562067968', 'memory/target': '1048576', 'image/guest-version': '2.6', 'image/pae-mode': 'yes', 'description': '', 'console/limit': '1048576', 'image/paddr-offset': '0', 'image/hypercall-page': '18446744071578882048', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'image/features/pae-pgdir-above-4gb': '1', 'image/features/writable-page-tables': '0', 'console/type': 'xenconsoled', 'name': 'alfredo', 'domid': '5', 'image/xen-version': 'xen-3.0', 'store/port': '1'}
[2010-11-12 15:21:24 1789] DEBUG (DevController:95) DevController: writing {'protocol': 'x86_64-abi', 'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/5/0'} to /local/domain/5/device/console/0.
[2010-11-12 15:21:24 1789] DEBUG (DevController:97) DevController: writing {'domain': 'alfredo', 'frontend': '/local/domain/5/device/console/0', 'uuid': 'e6aeae7f-98d6-ad03-f279-76e55fcc901b', 'frontend-id': '5', 'state': '1', 'location': '2', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/5/0.
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:1891) XendDomainInfo.handleShutdownWatch
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices tap2.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices vif.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices vkbd.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices ioports.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices tap.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices vif2.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices console.
[2010-11-12 15:21:24 1789] DEBUG (DevController:144) Waiting for 0.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices vscsi.
[2010-11-12 15:21:24 1789] DEBUG (DevController:139) Waiting for devices vbd.
[2010-11-12 15:21:24 1789] DEBUG (DevController:144) Waiting for 2049.
[2010-11-12 15:21:24 1789] DEBUG (DevController:628) hotplugStatusCallback /local/domain/0/backend/vbd/5/2049/hotplug-status.
[2010-11-12 15:21:24 1789] DEBUG (DevController:642) hotplugStatusCallback 2.
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=5
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2411) Destroying device model
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2424) Removing console/0
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:2424) Removing vbd/2049
[2010-11-12 15:21:24 1789] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:2424) Removing vbd/2050
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:2416) No device model
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:2418) Releasing devices
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:2424) Removing vbd/2049
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2049
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:2424) Removing vbd/2050
[2010-11-12 15:21:25 1789] DEBUG (XendDomainInfo:1286) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/2050
[2010-11-12 15:24:23 1789] DEBUG (SrvServer:76) SrvServer.cleanup()
[2010-11-12 15:24:23 1789] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
[2010-11-12 15:24:23 1789] DEBUG (XMLRPCServer:241) XMLRPCServer.cleanup()
[2010-11-12 15:24:23 1789] DEBUG (XendDomain:632) cleanup_domains
[2010-11-12 15:24:23 1787] INFO (SrvDaemon:220) Xend exited with status 0.

Any idea? Help would be greatly appreciated!

Thanks

--
ESKALON Technology Consulting GmbH
Alter Wandrahm 12 | D-20457 Hamburg | Germany | www.eskalon.de
fon +49 40 7344914-32 | fax +49 40 7344914-79 | mob +49 178 6068166
Amtsgericht Hamburg, HRB 107659
Gesch�sf� Manfred Hein, Kolja Fricke
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error: Device 2049 (vbd) could not be connected. Path closed or removed during hotplug add: backend/vbd/3/2049 state: 1, Phillip Schulte <=