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: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Error: Device 0 (vif) could not be connected. Hotplug scripts not working.
From: "Olivier B." <xen.list@xxxxxxxxx>
Date: Wed, 17 Feb 2010 15:21:12 +0100
Delivery-date: Wed, 17 Feb 2010 06:23:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100217135517.GY2861@xxxxxxxxxxx>
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>
References: <4B62F12E.906@xxxxxxxxx> <20100201073038.GS2861@xxxxxxxxxxx> <4B79FEC4.9090900@xxxxxxxxx> <4B7BE5EA.3060207@xxxxxxxxx> <20100217135517.GY2861@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20091109)
Pasi Kärkkäinen a écrit :
On Wed, Feb 17, 2010 at 01:49:46PM +0100, Olivier B. wrote:
For example :
name        = 'athena'
kernel      = '/boot/vmlinuz-2.6.31.12-dae-xen'
ramdisk        = '/boot/initrd.img-2.6.31.12-dae-xen'
memory      = '1024'
root        = 'root=/dev/mapper/vg--athena-root ro rootflags=data=writeback'
disk        = [ 'drbd:athena-disk,sda,w' ]
vif         = [ 'mac=02:00:00:00:04:3f' ]
extra        = 'rootdelay=1 raid=noautodetect'
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


What if you also specify the bridge on the vif line?
-- Pasi

Same result with "vif         = [ 'mac=02:00:00:00:04:3f,bridge=xenbr0' ]" :

I obtain "Error: Device 0 (vif) could not be connected. Hotplug scripts not working." after 100 seconds.

And udev monitor said :
UEVENT[1266416315.932082] add      /devices/vbd-11-2048 (xen-backend)
UDEV  [1266416315.938359] add      /devices/vbd-11-2048 (xen-backend)
UEVENT[1266416315.960950] add      /devices/vif-11-0 (xen-backend)
UDEV  [1266416315.961748] add      /devices/vif-11-0 (xen-backend)
UEVENT[1266416315.969379] add      /devices/vif-11-0/net/vif11.0 (net)
UEVENT[1266416315.970659] online   /devices/vif-11-0 (xen-backend)
UDEV  [1266416315.980741] add      /devices/vif-11-0/net/vif11.0 (net)
UDEV  [1266416315.982675] online   /devices/vif-11-0 (xen-backend)
UEVENT[1266416316.094038] add      /devices/console-11-0 (xen-backend)
UDEV  [1266416316.095965] add      /devices/console-11-0 (xen-backend)

UEVENT[1266416355.592132] add      /kernel/uids/101 (uids)
UDEV  [1266416355.592846] add      /kernel/uids/101 (uids)
UEVENT[1266416356.623642] remove   /kernel/uids/101 (uids)
UDEV  [1266416356.625038] remove   /kernel/uids/101 (uids)

UDEV  [1266416397.419326] remove   /devices/vif-10-0/net/vif10.0 (net)
UDEV  [1266416397.439092] remove   /devices/vif-10-0 (xen-backend)

UEVENT[1266416416.855557] remove   /devices/console-11-0 (xen-backend)
UDEV  [1266416416.858075] remove   /devices/console-11-0 (xen-backend)
UEVENT[1266416416.894895] remove   /devices/vbd-11-2048 (xen-backend)
UDEV  [1266416416.896732] remove   /devices/vbd-11-2048 (xen-backend)
UEVENT[1266416416.900803] offline  /devices/vif-11-0 (xen-backend)
UEVENT[1266416416.925352] remove   /devices/vif-11-0/net/vif11.0 (net)
UEVENT[1266416416.936165] remove   /devices/vif-11-0 (xen-backend)

Olivier

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