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: Wed, 28 Jun 2006 07:35:24 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 28 Jun 2006 04:36:02 -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=scmsI83nZo8beTT65pcxBlwe82g5/gVY1XS0vQL+VJvCHGec1SLco2CnWRW3+cc4ypXpF7KObu+7IByN91jGXnwln1NO//5Z4DGBMTRGQAxjjsVu+aGuXxBs+x4eo527LTEhY9GMiTTFPTZnsJRbuLw6xS7DWhPQ2Yc7ydiEYjE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44A223B1.60204@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> <29f43ae10606271358ne0d76dbg41b61eaa8d1baf55@xxxxxxxxxxxxxx> <44A21CAE.6030608@xxxxxx> <44A223B1.60204@xxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Right. I'm sorry, I wrote that by heart, I wasn't on a Linux box at the moment.

It actually means that you have a problem with either hotplug or udev.
I suggest you make sure udev is working properly, the outcome of the
command "cat /proc/sys/kernel/hotplug" should show "/sbin/udevsend" in
the case of using udev. Well, at least on Slackware.

François

2006/6/28, Norbert Wegener <nw@xxxxxx>:
Maybe /proc/sys/kernel/hotplug was meant. In this case I have to say, it
is available, but empty:
cat /proc/sys/kernel/hotplug
shows nothing.
Norbert


Norbert Wegener wrote:

> Obviously there is a problem with the hotplug system:
> lnxt2:~ # cat /proc/kernel/sys/hotplug
> cat: /proc/kernel/sys/hotplug: Datei oder Verzeichnis nicht gefunden
> or in english: file not found
>
> Norbert
>
>
>
> François Lapointe wrote:
>
>> 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
>
>
>
>
> _______________________________________________
> 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