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

Re: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug sc

To: "Norbert Wegener" <nw@xxxxxx>
Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
From: "François Lapointe" <flapointe@xxxxxxxxx>
Date: Tue, 27 Jun 2006 16:58:22 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 27 Jun 2006 13:59:04 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SuJSY7C96mV55+JcASFjjGhE7YftzniJy80GhVZ0wJNfjbqHTxBWDSoQMUYe1nQcVDyW2ApVr2+yzzKcFrnhizI2Jwr/LTXn97bPqe8jVjdiuXt8lU1IgE65CaF5aJsdw5m8t4A2QR+2mxfVo8bjQ3k+4ugCiWS4E34yFCjhDi0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44A194A4.8030901@xxxxxx>
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>
References: <44A194A4.8030901@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Could you post the output of
# cat /proc/kernel/sys/hotplug

François

2006/6/27, Norbert Wegener <nw@xxxxxx>:
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


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