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"

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Error "Device 0 (vif) could not be connected"
From: wei huang <huanwei@xxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Nov 2005 21:05:23 -0500 (EST)
Cc: Mark Williamson <mark.williamson@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 08 Nov 2005 02:05:43 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051108001433.GB31494@xxxxxxxxxxxxxxxxxxxxxx>
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
Hi Ewan,

>
> Sorry, I have got myself all confused!
>
> Wensheng Wang / Toens Bueker, it is your problem that I was referring to.
> That is the one that I have a patch for.
>
> Wei, I'm afraid I still don't know what your problem is.  You need to check
> that you have the udevd daemon installed and running, and that the latest Xen
> scripts are in all the right places (/etc/xen/scripts, /etc/udev/rules.d).  If
> they are in place then there should be some useful information in your
> /var/log/messages.  If not, then I am stuck!

I've verified that udevd is there and is running:
#c5xen# /etc/xen> ps -ef | grep udevd
root      2772     1  0 20:33 ?        00:00:00 udevd

All xen scripts are in correct place except there is no xen related
files in rules.d. However I checked your install scripts and find statements
like this:

if [ -x /sbin/udev ] && [ ! -z `udev -V` ] && [ `/sbin/udev -V` -ge 059 ];
then
  cp -f $src/etc/udev/rules.d/*.rules $dst/etc/udev/rules.d/
else
  cp -f $src/etc/hotplug/*.agent $dst/etc/hotplug/
fi

The udev -V command outputs nothing on my system. And udevinfo -V
outputs 039. So I believe the else
branch gets executed. And I check that xen-backend.agent is there in
/etc/hotplug. Is this the problem? Do I have to install a newer version of
udev to make the whole thing work?

I tried manually copy your xen-backend.rules to rules.d but it doesn't
seem to help.

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, 
full-duplex
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,
propagating
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nov  7 20:42:48 c5xen ntpd[3633]: synchronized to 80.28.46.78, 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
suggestions?

Thank you very much!

-- Wei Huang
>
> Ewan.
>
> _______________________________________________
> 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