[ovs-discuss] Problem adding eth0 as port (device busy)

Bjørnar Ness bjornar.ness at gmail.com
Wed May 9 13:03:59 PDT 2012


On Wed, May 09, 2012 at 12:43:59PM -0700, Jesse Gross wrote:
> On Wed, May 9, 2012 at 12:19 PM, Ben Pfaff <blp at nicira.com> wrote:
> > On Wed, May 09, 2012 at 11:59:13AM -0700, Jesse Gross wrote:
> >> On Wed, May 9, 2012 at 11:16 AM, Bjørnar Ness <bjornar.ness at gmail.com> wrote:
> >> > Using OVS 1.4.1 and kernel 3.3.5 with OVS
> >> >
> >> > OVS running in kvm, trying to add eth0 as a port on bridge0
> >> > with no success. No other bridge running.
> >>
> >> What about the Linux bridge?  I suspect that eth0 is attached to it.
> >
> > This came out of a discussion in #openvswitch.  When I asked him for
> > "brctl show" output he had to go install brctl.  So it's probably not
> > a bridge.
> 
> My guess is that something is attached to the rx handler hook.
> Grepping found:
>  * macvlan
>  * bonding
>  * teaming
>  * bridging
>  * OVS

I do not understand this, look:

root at debian01:/opt/openvswitch# bin/ovs-vsctl del-port bridge0 eth0
root at debian01:/opt/openvswitch# brctl addbr br0
root at debian01:/opt/openvswitch# brctl addif br0 eth0
device eth0 is already a member of a bridge; can't enslave it to bridge
br0.
root at debian01:/opt/openvswitch# brctl show 
bridge name	bridge id		STP enabled	interfaces
br0		8000.000000000000	no	
root at debian01:/opt/openvswitch# bin/ovs-dpctl show
system at bridge0:
	lookups: hit:0 missed:0 lost:0
	flows: 0
	port 0: bridge0 (internal)

--
Bjornar


More information about the discuss mailing list