Is there any way to add bridge (brcompat not a bridge) compatibility in
(Linux BL-63 3.4.0-1.fc17.x86_64) kernel.
Even tried compile openvswitch it give me following error
[root@BL-63 openvswitch-1.5.0]# make
make all-recursive
make[1]: Entering directory `/opt/src/openvswitch-1.5.0'
Making all in datapath
make[2]: Entering directory `/opt/src/openvswitch-1.5.0/datapath'
Making all in linux
make[3]: Entering directory `/opt/src/openvswitch-1.5.0/datapath/linux'
make -C /lib/modules/3.4.0-1.fc17.x86_64/build
M=/opt/src/openvswitch-1.5.0/datapath/linux modules
make[4]: Entering directory `/usr/src/kernels/3.4.0-1.fc17.x86_64'
CC [M] /opt/src/openvswitch-1.5.0/datapath/linux/brcompat.o
In file included from
/opt/src/openvswitch-1.5.0/datapath/linux/../vlan.h:22:0,
from
/opt/src/openvswitch-1.5.0/datapath/linux/../datapath.h:34,
from
/opt/src/openvswitch-1.5.0/datapath/linux/brcompat.c:32:
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:
In function ‘rpl_vlan_put_tag’:
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:33:48:
error: ‘VLAN_ETH_ALEN’ undeclared (first use in this function)
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:33:48:
note: each undeclared identifier is reported only once for each function it
appears in
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:
At top level:
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:59:20:
error: redefinition of ‘vlan_set_encap_proto’
In file included from
/opt/src/openvswitch-1.5.0/datapath/linux/compat/include/linux/if_vlan.h:4:0,
from
/opt/src/openvswitch-1.5.0/datapath/linux/../vlan.h:22,
from
/opt/src/openvswitch-1.5.0/datapath/linux/../datapath.h:34,
from
/opt/src/openvswitch-1.5.0/datapath/linux/brcompat.c:32:
include/linux/if_vlan.h:326:20: note: previous definition of
‘vlan_set_encap_proto’ was here
make[5]: *** [/opt/src/openvswitch-1.5.0/datapath/linux/brcompat.o] Error 1
make[4]: *** [_module_/opt/src/openvswitch-1.5.0/datapath/linux] Error 2
make[4]: Leaving directory `/usr/src/kernels/3.4.0-1.fc17.x86_64'
make[3]: *** [default] Error 2
make[3]: Leaving directory `/opt/src/openvswitch-1.5.0/datapath/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/src/openvswitch-1.5.0/datapath'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/src/openvswitch-1.5.0'
make: *** [all] Error 2
On Tue, Jun 12, 2012 at 9:34 AM, Jesse Gross <[email protected]> wrote:
> On Jun 12, 2012, at 12:55 AM, Avdhoot Dendge - BetterLabs <
> [email protected]> wrote:
>
> > I am happy user of openvswitch with brcompat in rhel 6.x
> >
> > now in fedora 17 i am not able load brcompat module. Is there any way so
> i can compile brcompat for fedora17 or kernle 3.4.
> >
> > [root@BL-63 openvswitch-1.5.0]# ovs-brcompatd --pidfile --detach
> > ovs-brcompatd: could not open brcompat socket. Check "brcompat" kernel
> module
> >
> > I need same functionality as in RHEL6.X with bridge module.
>
> You need to ensure that you are using the version of the kernel module
> shipped with OVS. The kernels that you mentioned include OVS directly but
> that version doesn't include support for bridge compatibility.
--
Thanks
Avdhoot
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss