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/
Home Products Support Community News


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

To: wei huang <huanwei@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] Error "Device 0 (vif) could not be connected"
From: Nivedita Singhvi <niv@xxxxxxxxxx>
Date: Mon, 07 Nov 2005 18:28:21 -0800
Cc: Mark Williamson <mark.williamson@xxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Nov 2005 02:28:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.40.0511072043590.23441-100000@xxxxxxxxxxxxxxxxxxxxx>
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: <Pine.GSO.4.40.0511072043590.23441-100000@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 0.8 (X11/20041020)
wei huang wrote:

And I find entry like this in /var/log/messages after xm create fails:

Nov  7 20:40:56 c5xen kernel: e100: peth0: e100_watchdog: link up, 100Mbps, 
Nov  7 20:40:56 c5xen kernel: ip_tables: (C) 2000-2002 Netfilter core team
Nov  7 20:40:57 c5xen kernel: xenbr0: port 2(peth0) entering learning state
Nov  7 20:40:57 c5xen kernel: xenbr0: topology change detected,
Nov  7 20:40:57 c5xen kernel: xenbr0: port 2(peth0) entering forwarding state
Nov  7 20:41:44 c5xen ntpd[3633]: synchronized to LOCAL(0), stratum 10

Nov  7 20:42:47 c5xen logger: /etc/xen/scripts/vif-bridge: brctl addif xenbr0 
vif1.0 failed

Well, that would be the fatal failure.

You seem to have created bridges successfully so assuming you have brctl
on your system. But try doing the above step (adding the interface to the
bridge) manually.

Also, put a set -x in your /etc/xen/scripts/network-bridge and
/etc/xen/scripts/vif-bridge script, and post their output found
in /var/log/xen-debug.log. Could be an older version of brctl
which doesn't return status (?).


Nov  7 20:42:48 c5xen ntpd[3633]: synchronized to, stratum 2
Nov  7 20:43:52 c5xen ntpd[3633]: kernel time sync enabled 0001

This is the only problem I can find. Would you please give more


Xen-users mailing list