Skip to contentSkip to conversation

Backend device not found?

DISCUSSION Rob Gardner 2 participants 3 messages Jan 20, 2006 – Jan 23, 2006

lore
Share & tools
lore
#0 lore raw

Can somebody help with what must be a really simple problem? I've got a stock xen 3.0 installation on a brand new Redhat ES4 installation. I've got all the usual stuff installed - brutils, iproute2, hotplug, etc. Dom0 boots fine, and xend starts up ok. But when I try to start domU using the command:
xm create -f /etc/xen/xmexample2 vmid=4
kernel="/boot/vmlinuz-2.6.12-xenU" -c
I get the message:
Using config file "/etc/xen/xmexample2".
Error: Device 0 (vif) could not be connected. Backend device not found.
Appending "nics=0" to the command line makes the problem error go away, but of course networking doesn't work.

Two other data points: First, the exact same xen and dom0/domU binaries work fine on another installation. Second, I saw this exact problem two months ago. So I have to assume it's some kind of configuration error, since I don't recall seeing other people reporting this behavior.

Thanks for any suggestions.

Rob

#1 lore raw

Re: Backend device not found? (Solved)

I figured out this problem, in case anyone is interested. I had installed bridge-utils-1.0.6, which by default installs brctl in /usr/local/sbin, which is not in the execution path of xm. Hence, brctl was not being found when trying to create a domain. Don't know why xm didn't just inherit the value of my PATH variable. Maybe a bug?

Rob

Quoted 19 lines · Rob Gardner

Can somebody help with what must be a really simple problem? I've got a stock xen 3.0 installation on a brand new Redhat ES4 installation. I've got all the usual stuff installed - brutils, iproute2, hotplug, etc. Dom0 boots fine, and xend starts up ok. But when I try to start domU using the command:
xm create -f /etc/xen/xmexample2 vmid=4
kernel="/boot/vmlinuz-2.6.12-xenU" -c
I get the message:
Using config file "/etc/xen/xmexample2". Error: Device 0 (vif) could
not be connected. Backend device not found.
Appending "nics=0" to the command line makes the problem error go away, but of course networking doesn't work.

Two other data points: First, the exact same xen and dom0/domU binaries work fine on another installation. Second, I saw this exact problem two months ago. So I have to assume it's some kind of configuration error, since I don't recall seeing other people reporting this behavior.

Thanks for any suggestions.

Rob

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

Re: Backend device not found? (Solved)

Quoted 5 lines · Rob Gardner

I figured out this problem, in case anyone is interested. I had installed bridge-utils-1.0.6, which by default installs brctl in /usr/local/sbin, which is not in the execution path of xm. Hence, brctl was not being found when trying to create a domain. Don't know why xm didn't just inherit the value of my PATH variable. Maybe a bug?

xen-hotplug-common.sh is sanitising the PATH. That seems a sensible thing to do, but I don't see any problem with adding /usr/local/sbin at the end of that.

Ewan.