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 0 (vif) could not be connected. Hotplug script

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
From: Norbert Wegener <nw@xxxxxx>
Date: Tue, 27 Jun 2006 22:27:16 +0200
Delivery-date: Tue, 27 Jun 2006 13:26:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0RC1 (X11/20041201)
I have a Suse10.1 system. When starting a domain with this config file nw1:

kernel = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
memory = 64
name = "xen1"
vif = [ '' ]
disk = ['file:/home/rootfs,sda1,w','file:/home/swap,sda2,w','file:/home/homexen1,sda3,w']
root = "/dev/sda1 ro"
and
xm create nw1
Using config file "nw1".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

lnxt2:/etc/xen # xm log|tail -30
[2006-06-27 20:24:10 xend] DEBUG (image:180) vcpus          = 1
[2006-06-27 20:24:10 xend] DEBUG (image:181) features       =
[2006-06-27 20:24:10 xend] DEBUG (blkif:24) exception looking up device number for sda1: [Errno 2] No such file or directory: \047/dev/sda1\047 [2006-06-27 20:24:10 xend] DEBUG (DevController:103) DevController: writing {\047virtual-device\047: \0472049\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/4/2049\047} to /local/domain/4/device/vbd/2049. [2006-06-27 20:24:10 xend] DEBUG (DevController:105) DevController: writing {\047domain\047: \047xen1\047, \047frontend\047: \047/local/domain/4/device/vbd/2049\047, \047dev\047: \047sda1\047, \047state\047: \0471\047, \047params\047: \047/home/rootfs\047, \047mode\047: \047w\047, \047frontend-id\047: \0474\047, \047type\047: \047file\047} to /local/domain/0/backend/vbd/4/2049. [2006-06-27 20:24:10 xend] DEBUG (blkif:24) exception looking up device number for sda2: [Errno 2] No such file or directory: \047/dev/sda2\047 [2006-06-27 20:24:10 xend] DEBUG (DevController:103) DevController: writing {\047virtual-device\047: \0472050\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/4/2050\047} to /local/domain/4/device/vbd/2050. [2006-06-27 20:24:10 xend] DEBUG (DevController:105) DevController: writing {\047domain\047: \047xen1\047, \047frontend\047: \047/local/domain/4/device/vbd/2050\047, \047dev\047: \047sda2\047, \047state\047: \0471\047, \047params\047: \047/home/swap\047, \047mode\047: \047w\047, \047frontend-id\047: \0474\047, \047type\047: \047file\047} to /local/domain/0/backend/vbd/4/2050. [2006-06-27 20:24:10 xend] DEBUG (blkif:24) exception looking up device number for sda3: [Errno 2] No such file or directory: \047/dev/sda3\047 [2006-06-27 20:24:10 xend] DEBUG (DevController:103) DevController: writing {\047virtual-device\047: \0472051\047, \047backend-id\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vbd/4/2051\047} to /local/domain/4/device/vbd/2051. [2006-06-27 20:24:10 xend] DEBUG (DevController:105) DevController: writing {\047domain\047: \047xen1\047, \047frontend\047: \047/local/domain/4/device/vbd/2051\047, \047dev\047: \047sda3\047, \047state\047: \0471\047, \047params\047: \047/home/homexen1\047, \047mode\047: \047w\047, \047frontend-id\047: \0474\047, \047type\047: \047file\047} to /local/domain/0/backend/vbd/4/2051. [2006-06-27 20:24:10 xend] DEBUG (DevController:103) DevController: writing {\047backend-id\047: \0470\047, \047mac\047: \04700:16:3e:40:91:f7\047, \047handle\047: \0470\047, \047state\047: \0471\047, \047backend\047: \047/local/domain/0/backend/vif/4/0\047} to /local/domain/4/device/vif/0. [2006-06-27 20:24:10 xend] DEBUG (DevController:105) DevController: writing {\047mac\047: \04700:16:3e:40:91:f7\047, \047state\047: \0471\047, \047handle\047: \0470\047, \047script\047: \047/etc/xen/scripts/vif-bridge\047, \047frontend-id\047: \0474\047, \047domain\047: \047xen1\047, \047frontend\047: \047/local/domain/4/device/vif/0\047} to /local/domain/0/backend/vif/4/0. [2006-06-27 20:24:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) Storing VM details: {\047ssidref\047: \0470\047, \047uuid\047: \047699f1cdd-93af-0dfd-70a7-0df19bc45019\047, \047on_reboot\047: \047restart\047, \047start_time\047: \0471151439850.94\047, \047on_poweroff\047: \047destroy\047, \047name\047: \047xen1\047, \047vcpus\047: \0471\047, \047vcpu_avail\047: \0471\047, \047memory\047: \04764\047, \047on_crash\047: \047restart\047, \047image\047: "(linux (kernel /boot/vmlinuz-xen) (ramdisk /boot/initrd-xen) (root \047/dev/sda1 ro\047))", \047maxmem\047: \04764\047} [2006-06-27 20:24:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {\047console/ring-ref\047: \047148210\047, \047console/port\047: \0472\047, \047name\047: \047xen1\047, \047console/limit\047: \0471048576\047, \047vm\047: \047/vm/699f1cdd-93af-0dfd-70a7-0df19bc45019\047, \047domid\047: \0474\047, \047cpu/0/availability\047: \047online\047, \047memory/target\047: \04765536\047, \047store/ring-ref\047: \047148211\047, \047store/port\047: \0471\047} [2006-06-27 20:24:10 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch [2006-06-27 20:24:10 xend] DEBUG (DevController:132) Waiting for devices vif.
[2006-06-27 20:24:10 xend] DEBUG (DevController:138) Waiting for 0.
[2006-06-27 20:24:10 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-06-27 20:24:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1356) XendDomainInfo.destroy: domid=4 [2006-06-27 20:24:21 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(4) [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/2/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status. [2006-06-27 20:24:21 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/4/0/hotplug-status.

Any idea?
Thanks Norbert


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