[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.