All of lore.kernel.org
 help / color / mirror / Atom feed
* Backend device not found?
@ 2006-01-20 21:29 Rob Gardner
  2006-01-23 18:48 ` Backend device not found? (Solved) Rob Gardner
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Gardner @ 2006-01-20 21:29 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Backend device not found? (Solved)
  2006-01-20 21:29 Backend device not found? Rob Gardner
@ 2006-01-23 18:48 ` Rob Gardner
  2006-01-23 19:16   ` Ewan Mellor
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Gardner @ 2006-01-23 18:48 UTC (permalink / raw)
  To: xen-devel

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


Rob Gardner wrote:

> 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
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Backend device not found? (Solved)
  2006-01-23 18:48 ` Backend device not found? (Solved) Rob Gardner
@ 2006-01-23 19:16   ` Ewan Mellor
  0 siblings, 0 replies; 3+ messages in thread
From: Ewan Mellor @ 2006-01-23 19:16 UTC (permalink / raw)
  To: Rob Gardner; +Cc: xen-devel

On Mon, Jan 23, 2006 at 11:48:24AM -0700, Rob Gardner wrote:

> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-01-23 19:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-20 21:29 Backend device not found? Rob Gardner
2006-01-23 18:48 ` Backend device not found? (Solved) Rob Gardner
2006-01-23 19:16   ` Ewan Mellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.