Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
Hi Pragya, I'm not aware of any plans to implement support for that. The main focus of linux-cp/linux-nl so far has been to connect L3 networking on the host system to VPP. What's the use case you are trying to support? Bridging packets between VPP hardware interfaces in L2 mode? Or bridging packets between a kernel-managed interface and a VPP hardware interface? -Matt On Tue, Aug 23, 2022 at 11:02 PM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi Matthew, > > Yes I meant the same. > Automatically creating a bridge domain in VPP and adding/removing member > interfaces based on netlink messages. > > Thank You > Pragya Nand > > On Wed, Aug 24, 2022 at 12:25 AM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> >> On Tue, Aug 23, 2022 at 7:40 AM Pragya Nand Bhagat < >> pragya.nand.bhaga...@gmail.com> wrote: >> >>> Hi Matthew, >>> >>> Thanks for looking into this issue. >>> After applying the patch the crash is not seen. >>> >>> However as mentioned earlier, we have faced this issue when configuring >>> the bridge domain and adding a member port to it. >>> >>>1. create a bridge [ brctl addbr 100] >>>2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >>> >>> *Is there any plan to support this in VPP Linux cp* >>> >>> >> Hi Pragya, >> >> What do you mean by "support this"? Are you talking about automatically >> creating a bridge domain in VPP and adding/removing member interfaces based >> on netlink messages? Or something else? >> >> -Matt >> >> >> >>> On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io >> netgate@lists.fd.io> wrote: >>> Hi Pragya, This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can you apply it to your build and confirm whether it resolves the issue? Thanks, -Matt On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi All, > > I'm seeing a crash in VPP when we try to add a port to a bridge . > VPP is running with the lcp plugin. > > > lcp default netns '' > lcp lcp-auto-subint off > lcp lcp-sync on > lcp del-static-on-link-down off > lcp del-dynamic-on-link-down off > > itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap > Following are the steps to recreate : > > > >1. create a bridge [ brctl addbr 100] >2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >3. VPP crashes > > We got the following stack trace . > > > Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. > 0x7f1239448c30 in nl_addr_get_family () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > (gdb) bt > #0 0x7f1239448c30 in nl_addr_get_family () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, > ia=0x7f123703ade0) at /vpp/src/plugins/linux-cp/lcp_router.c:589 > #2 lcp_router_neigh_add (rn=0x674b80) at > /vpp/src/plugins/linux-cp/lcp_router.c:763 > #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg= out>) at /vpp/src/plugins/linux-cp/lcp_nl.c:232 > #4 nl_route_dispatch (obj=0x674b80, arg=) at > /vpp/src/plugins/linux-cp/lcp_nl.c:311 > #5 0x7f123944e8ee in ?? () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #6 0x7f1239404bb4 in ?? () from > /lib/x86_64-linux-gnu/libnl-route-3.so.200 > #7 0x7f123944b5c3 in nl_cache_parse () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #8 0x7f12394502cb in nl_msg_parse () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #9 0x7f12393c2033 in nl_route_process_msgs () at > /vpp/src/plugins/linux-cp/lcp_nl.c:344 > #10 nl_route_process (vm=0x7f123ac6d700, node=, > frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 > #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) > at /vpp/src/vlib/main.c:1222 > #12 0x7f127b0e4258 in clib_calljmp () at > /vpp/src/vppinfra/longjmp.S:123 > #13 0x7f1239245d60 in ?? () > #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, > p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 > #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, > last_time_stamp=) at /vpp/src/vlib/main.c:1303 > #16 0x in ?? () > > > Looks like interface netlink event is not handled for scenarios when > an interface is added to bridge. > Please revert if any other information is required. > > > > Thank You > > Pragya Nand > > > > >>> >>> >>> >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21820): https://lists.fd.io/g/vpp-dev/message/21820 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe:
Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
Hi Matthew, Yes I meant the same. Automatically creating a bridge domain in VPP and adding/removing member interfaces based on netlink messages. Thank You Pragya Nand On Wed, Aug 24, 2022 at 12:25 AM Matthew Smith via lists.fd.io wrote: > > On Tue, Aug 23, 2022 at 7:40 AM Pragya Nand Bhagat < > pragya.nand.bhaga...@gmail.com> wrote: > >> Hi Matthew, >> >> Thanks for looking into this issue. >> After applying the patch the crash is not seen. >> >> However as mentioned earlier, we have faced this issue when configuring >> the bridge domain and adding a member port to it. >> >>1. create a bridge [ brctl addbr 100] >>2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >> >> *Is there any plan to support this in VPP Linux cp* >> >> > Hi Pragya, > > What do you mean by "support this"? Are you talking about automatically > creating a bridge domain in VPP and adding/removing member interfaces based > on netlink messages? Or something else? > > -Matt > > > >> On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io > netgate@lists.fd.io> wrote: >> >>> >>> Hi Pragya, >>> >>> This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can >>> you apply it to your build and confirm whether it resolves the issue? >>> >>> Thanks, >>> -Matt >>> >>> >>> On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < >>> pragya.nand.bhaga...@gmail.com> wrote: >>> Hi All, I'm seeing a crash in VPP when we try to add a port to a bridge . VPP is running with the lcp plugin. lcp default netns '' lcp lcp-auto-subint off lcp lcp-sync on lcp del-static-on-link-down off lcp del-dynamic-on-link-down off itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap Following are the steps to recreate : 1. create a bridge [ brctl addbr 100] 2. try adding a interface to it [ brctl addif 100 Ethernet0 ] 3. VPP crashes We got the following stack trace . Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. 0x7f1239448c30 in nl_addr_get_family () from /lib/x86_64-linux-gnu/libnl-3.so.200 (gdb) bt #0 0x7f1239448c30 in nl_addr_get_family () from /lib/x86_64-linux-gnu/libnl-3.so.200 #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, ia=0x7f123703ade0) at /vpp/src/plugins/linux-cp/lcp_router.c:589 #2 lcp_router_neigh_add (rn=0x674b80) at /vpp/src/plugins/linux-cp/lcp_router.c:763 #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=>>> out>) at /vpp/src/plugins/linux-cp/lcp_nl.c:232 #4 nl_route_dispatch (obj=0x674b80, arg=) at /vpp/src/plugins/linux-cp/lcp_nl.c:311 #5 0x7f123944e8ee in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200 #6 0x7f1239404bb4 in ?? () from /lib/x86_64-linux-gnu/libnl-route-3.so.200 #7 0x7f123944b5c3 in nl_cache_parse () from /lib/x86_64-linux-gnu/libnl-3.so.200 #8 0x7f12394502cb in nl_msg_parse () from /lib/x86_64-linux-gnu/libnl-3.so.200 #9 0x7f12393c2033 in nl_route_process_msgs () at /vpp/src/plugins/linux-cp/lcp_nl.c:344 #10 nl_route_process (vm=0x7f123ac6d700, node=, frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) at /vpp/src/vlib/main.c:1222 #12 0x7f127b0e4258 in clib_calljmp () at /vpp/src/vppinfra/longjmp.S:123 #13 0x7f1239245d60 in ?? () #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, last_time_stamp=) at /vpp/src/vlib/main.c:1303 #16 0x in ?? () Looks like interface netlink event is not handled for scenarios when an interface is added to bridge. Please revert if any other information is required. Thank You Pragya Nand >>> >>> >>> >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21819): https://lists.fd.io/g/vpp-dev/message/21819 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
On Tue, Aug 23, 2022 at 7:40 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi Matthew, > > Thanks for looking into this issue. > After applying the patch the crash is not seen. > > However as mentioned earlier, we have faced this issue when configuring > the bridge domain and adding a member port to it. > >1. create a bridge [ brctl addbr 100] >2. try adding a interface to it [ brctl addif 100 Ethernet0 ] > > *Is there any plan to support this in VPP Linux cp* > > Hi Pragya, What do you mean by "support this"? Are you talking about automatically creating a bridge domain in VPP and adding/removing member interfaces based on netlink messages? Or something else? -Matt > On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io netgate@lists.fd.io> wrote: > >> >> Hi Pragya, >> >> This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can you >> apply it to your build and confirm whether it resolves the issue? >> >> Thanks, >> -Matt >> >> >> On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < >> pragya.nand.bhaga...@gmail.com> wrote: >> >>> Hi All, >>> >>> I'm seeing a crash in VPP when we try to add a port to a bridge . >>> VPP is running with the lcp plugin. >>> >>> >>> lcp default netns '' >>> lcp lcp-auto-subint off >>> lcp lcp-sync on >>> lcp del-static-on-link-down off >>> lcp del-dynamic-on-link-down off >>> >>> itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap >>> Following are the steps to recreate : >>> >>> >>> >>>1. create a bridge [ brctl addbr 100] >>>2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >>>3. VPP crashes >>> >>> We got the following stack trace . >>> >>> >>> Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. >>> 0x7f1239448c30 in nl_addr_get_family () from >>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>> (gdb) bt >>> #0 0x7f1239448c30 in nl_addr_get_family () from >>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>> #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, >>> ia=0x7f123703ade0) at /vpp/src/plugins/linux-cp/lcp_router.c:589 >>> #2 lcp_router_neigh_add (rn=0x674b80) at >>> /vpp/src/plugins/linux-cp/lcp_router.c:763 >>> #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=>> out>) at /vpp/src/plugins/linux-cp/lcp_nl.c:232 >>> #4 nl_route_dispatch (obj=0x674b80, arg=) at >>> /vpp/src/plugins/linux-cp/lcp_nl.c:311 >>> #5 0x7f123944e8ee in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200 >>> #6 0x7f1239404bb4 in ?? () from >>> /lib/x86_64-linux-gnu/libnl-route-3.so.200 >>> #7 0x7f123944b5c3 in nl_cache_parse () from >>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>> #8 0x7f12394502cb in nl_msg_parse () from >>> /lib/x86_64-linux-gnu/libnl-3.so.200 >>> #9 0x7f12393c2033 in nl_route_process_msgs () at >>> /vpp/src/plugins/linux-cp/lcp_nl.c:344 >>> #10 nl_route_process (vm=0x7f123ac6d700, node=, >>> frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 >>> #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) at >>> /vpp/src/vlib/main.c:1222 >>> #12 0x7f127b0e4258 in clib_calljmp () at >>> /vpp/src/vppinfra/longjmp.S:123 >>> #13 0x7f1239245d60 in ?? () >>> #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, >>> p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 >>> #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, >>> last_time_stamp=) at /vpp/src/vlib/main.c:1303 >>> #16 0x in ?? () >>> >>> >>> Looks like interface netlink event is not handled for scenarios when an >>> interface is added to bridge. >>> Please revert if any other information is required. >>> >>> >>> >>> Thank You >>> >>> Pragya Nand >>> >>> >>> >>> >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21817): https://lists.fd.io/g/vpp-dev/message/21817 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
Hi Matthew, Thanks for looking into this issue. After applying the patch the crash is not seen. However as mentioned earlier, we have faced this issue when configuring the bridge domain and adding a member port to it. 1. create a bridge [ brctl addbr 100] 2. try adding a interface to it [ brctl addif 100 Ethernet0 ] *Is there any plan to support this in VPP Linux cp* If there is any existing solution, could you please guide us? Thanks Pragya Nand Bhagat On Sat, Aug 20, 2022 at 2:13 AM Matthew Smith via lists.fd.io wrote: > > Hi Pragya, > > This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can you > apply it to your build and confirm whether it resolves the issue? > > Thanks, > -Matt > > > On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < > pragya.nand.bhaga...@gmail.com> wrote: > >> Hi All, >> >> I'm seeing a crash in VPP when we try to add a port to a bridge . >> VPP is running with the lcp plugin. >> >> >> lcp default netns '' >> lcp lcp-auto-subint off >> lcp lcp-sync on >> lcp del-static-on-link-down off >> lcp del-dynamic-on-link-down off >> >> itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap >> Following are the steps to recreate : >> >> >> >>1. create a bridge [ brctl addbr 100] >>2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >>3. VPP crashes >> >> We got the following stack trace . >> >> >> Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. >> 0x7f1239448c30 in nl_addr_get_family () from >> /lib/x86_64-linux-gnu/libnl-3.so.200 >> (gdb) bt >> #0 0x7f1239448c30 in nl_addr_get_family () from >> /lib/x86_64-linux-gnu/libnl-3.so.200 >> #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, ia=0x7f123703ade0) >> at /vpp/src/plugins/linux-cp/lcp_router.c:589 >> #2 lcp_router_neigh_add (rn=0x674b80) at >> /vpp/src/plugins/linux-cp/lcp_router.c:763 >> #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=) >> at /vpp/src/plugins/linux-cp/lcp_nl.c:232 >> #4 nl_route_dispatch (obj=0x674b80, arg=) at >> /vpp/src/plugins/linux-cp/lcp_nl.c:311 >> #5 0x7f123944e8ee in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200 >> #6 0x7f1239404bb4 in ?? () from >> /lib/x86_64-linux-gnu/libnl-route-3.so.200 >> #7 0x7f123944b5c3 in nl_cache_parse () from >> /lib/x86_64-linux-gnu/libnl-3.so.200 >> #8 0x7f12394502cb in nl_msg_parse () from >> /lib/x86_64-linux-gnu/libnl-3.so.200 >> #9 0x7f12393c2033 in nl_route_process_msgs () at >> /vpp/src/plugins/linux-cp/lcp_nl.c:344 >> #10 nl_route_process (vm=0x7f123ac6d700, node=, >> frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 >> #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) at >> /vpp/src/vlib/main.c:1222 >> #12 0x7f127b0e4258 in clib_calljmp () at >> /vpp/src/vppinfra/longjmp.S:123 >> #13 0x7f1239245d60 in ?? () >> #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, >> p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 >> #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, >> last_time_stamp=) at /vpp/src/vlib/main.c:1303 >> #16 0x in ?? () >> >> >> Looks like interface netlink event is not handled for scenarios when an >> interface is added to bridge. >> Please revert if any other information is required. >> >> >> >> Thank You >> >> Pragya Nand >> >> >> >> > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21812): https://lists.fd.io/g/vpp-dev/message/21812 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: [vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
Hi Pragya, This patch should fix it - https://gerrit.fd.io/r/c/vpp/+/36961. Can you apply it to your build and confirm whether it resolves the issue? Thanks, -Matt On Wed, Aug 17, 2022 at 6:55 AM Pragya Nand Bhagat < pragya.nand.bhaga...@gmail.com> wrote: > Hi All, > > I'm seeing a crash in VPP when we try to add a port to a bridge . > VPP is running with the lcp plugin. > > > lcp default netns '' > lcp lcp-auto-subint off > lcp lcp-sync on > lcp del-static-on-link-down off > lcp del-dynamic-on-link-down off > > itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap > Following are the steps to recreate : > > > >1. create a bridge [ brctl addbr 100] >2. try adding a interface to it [ brctl addif 100 Ethernet0 ] >3. VPP crashes > > We got the following stack trace . > > > Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. > 0x7f1239448c30 in nl_addr_get_family () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > (gdb) bt > #0 0x7f1239448c30 in nl_addr_get_family () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, ia=0x7f123703ade0) > at /vpp/src/plugins/linux-cp/lcp_router.c:589 > #2 lcp_router_neigh_add (rn=0x674b80) at > /vpp/src/plugins/linux-cp/lcp_router.c:763 > #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=) > at /vpp/src/plugins/linux-cp/lcp_nl.c:232 > #4 nl_route_dispatch (obj=0x674b80, arg=) at > /vpp/src/plugins/linux-cp/lcp_nl.c:311 > #5 0x7f123944e8ee in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200 > #6 0x7f1239404bb4 in ?? () from > /lib/x86_64-linux-gnu/libnl-route-3.so.200 > #7 0x7f123944b5c3 in nl_cache_parse () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #8 0x7f12394502cb in nl_msg_parse () from > /lib/x86_64-linux-gnu/libnl-3.so.200 > #9 0x7f12393c2033 in nl_route_process_msgs () at > /vpp/src/plugins/linux-cp/lcp_nl.c:344 > #10 nl_route_process (vm=0x7f123ac6d700, node=, > frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 > #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) at > /vpp/src/vlib/main.c:1222 > #12 0x7f127b0e4258 in clib_calljmp () at > /vpp/src/vppinfra/longjmp.S:123 > #13 0x7f1239245d60 in ?? () > #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, > p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 > #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, > last_time_stamp=) at /vpp/src/vlib/main.c:1303 > #16 0x in ?? () > > > Looks like interface netlink event is not handled for scenarios when an > interface is added to bridge. > Please revert if any other information is required. > > > > Thank You > > Pragya Nand > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21806): https://lists.fd.io/g/vpp-dev/message/21806 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
[vpp-dev] VPP crashing when lcp is enabled and I try to add an interface to a linux bridge.
Hi All, I'm seeing a crash in VPP when we try to add a port to a bridge . VPP is running with the lcp plugin. lcp default netns '' lcp lcp-auto-subint off lcp lcp-sync on lcp del-static-on-link-down off lcp del-dynamic-on-link-down off itf-pair: [0] port0/0 tap1 Ethernet0 96 type tap Following are the steps to recreate : 1. create a bridge [ brctl addbr 100] 2. try adding a interface to it [ brctl addif 100 Ethernet0 ] 3. VPP crashes We got the following stack trace . Thread 1 "vpp_main" received signal SIGSEGV, Segmentation fault. 0x7f1239448c30 in nl_addr_get_family () from /lib/x86_64-linux-gnu/libnl-3.so.200 (gdb) bt #0 0x7f1239448c30 in nl_addr_get_family () from /lib/x86_64-linux-gnu/libnl-3.so.200 #1 0x7f12393b9025 in lcp_router_mk_addr (rna=0x0, ia=0x7f123703ade0) at /vpp/src/plugins/linux-cp/lcp_router.c:589 #2 lcp_router_neigh_add (rn=0x674b80) at /vpp/src/plugins/linux-cp/lcp_router.c:763 #3 0x7f12393c2bcd in nl_neigh_add (rn=0x674b80, arg=) at /vpp/src/plugins/linux-cp/lcp_nl.c:232 #4 nl_route_dispatch (obj=0x674b80, arg=) at /vpp/src/plugins/linux-cp/lcp_nl.c:311 #5 0x7f123944e8ee in ?? () from /lib/x86_64-linux-gnu/libnl-3.so.200 #6 0x7f1239404bb4 in ?? () from /lib/x86_64-linux-gnu/libnl-route-3.so.200 #7 0x7f123944b5c3 in nl_cache_parse () from /lib/x86_64-linux-gnu/libnl-3.so.200 #8 0x7f12394502cb in nl_msg_parse () from /lib/x86_64-linux-gnu/libnl-3.so.200 #9 0x7f12393c2033 in nl_route_process_msgs () at /vpp/src/plugins/linux-cp/lcp_nl.c:344 #10 nl_route_process (vm=0x7f123ac6d700, node=, frame=) at /vpp/src/plugins/linux-cp/lcp_nl.c:557 #11 0x7f127b1dbbe7 in vlib_process_bootstrap (_a=) at /vpp/src/vlib/main.c:1222 #12 0x7f127b0e4258 in clib_calljmp () at /vpp/src/vppinfra/longjmp.S:123 #13 0x7f1239245d60 in ?? () #14 0x7f127b1d38b0 in vlib_process_startup (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0) at /vpp/src/vlib/main.c:1247 #15 dispatch_process (vm=0x7f123ac6d700, p=0x7f123c12bd80, f=0x0, last_time_stamp=) at /vpp/src/vlib/main.c:1303 #16 0x in ?? () Looks like interface netlink event is not handled for scenarios when an interface is added to bridge. Please revert if any other information is required. Thank You Pragya Nand -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21802): https://lists.fd.io/g/vpp-dev/message/21802 Mute This Topic: https://lists.fd.io/mt/93078810/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-