[FROG] ospf6d issues (crashes getting routes from my network)

Rudy Rucker rudy at monkeybrains.net
Fri Oct 11 12:27:57 EDT 2019


On 10/11/19 9:15 AM, Donald Sharp wrote:
> Rudy -
>
> Would you mind subscribing to `frog`.  It's a pain in the whumple-lump
> to approve your posts every time.

No problem, I didn't see the subscribe location until the first email 
went through.  I couldn't find a Mailman link here:

http://docs.frrouting.org/en/latest/overview.html#mailing-lists

>
> What is the output of `show int brief`?
cc0             down    default
cc1             down    default
cxl0            down    default
cxl1            up      default         208.69.43.190/30
                                         + 2607:f598:b010:f010::2/64
cxl2            up      default         208.69.43.146/30
                                         + 2607:f598:b000:f003::2/64
cxl3            up      default         208.69.43.129/30
                                         + 2607:f598:bc10:72::2/64
cxl4            down    default
cxl5            up      default         206.197.187.13/24
                                         + 2001:504:30::ba03:2329:1/64
cxl6            down    default
cxl7            down    default
ipfw0           down    default
ixl0            up      default
ixl1            down    default
lo0             up      default         208.69.43.198/32
                                         208.69.43.199/32
                                         + 2607:f598:0:dadf::1/64
usbus0          down    default
usbus1          down    default
usbus2          down    default
usbus3          down    default
usbus4          down    default
usbus5          down    default
usbus6          down    default

usbus7          down    default


This box is a replacement for our old qugga box, and I'm excited about 
the 100Gbps ports from the chelsio card.  As soon as this is stabilized, 
I'm going to start upgrading uplinks!

Rudy

>
> donald
>
> On Fri, Oct 11, 2019 at 12:11 PM Rudy Rucker <rudy at monkeybrains.net> wrote:
>>
>> Same libs as yours...
>>
>> /usr/local/sbin/ospf6d:
>>       libfrr.so.0 => /usr/local/lib/libfrr.so.0 (0x800295000)
>>       libyang.so.0.16 => /usr/local/lib/libyang.so.0.16 (0x80036c000)
>>       libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x800466000)
>>       libm.so.5 => /lib/libm.so.5 (0x80046b000)
>>       libcrypt.so.5 => /lib/libcrypt.so.5 (0x80049d000)
>>       libjson-c.so.4 => /usr/local/lib/libjson-c.so.4 (0x8004be000)
>>       librt.so.1 => /usr/lib/librt.so.1 (0x8004d1000)
>>       libthr.so.3 => /lib/libthr.so.3 (0x8004d9000)
>>       libc.so.7 => /lib/libc.so.7 (0x800506000)
>>       libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x8008fe000)
>>       libelf.so.2 => /lib/libelf.so.2 (0x8009a2000)
>>       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x8009bd000)
>>
>>
>> Note: I was having issues with 12.0-RELEASE and the binary distribution
>> (pkg install frr7), so I recompiled to 12.1-FreeBSD and built frr7 from
>> the ports.  No optimization flags.
>>
>> Still crashes.  :(
>>
>> What is interesting, if I just put lo0 in area 0, it doesn't crash.
>> When I get routes (by adding real interfaces), it crashes.
>>
>> Backtrace is in 'hash_get'.  Could I have a "bad" IPv6 route that when
>> ospf6d tries to learn it, it crashes?
>>
>> #0  0x000000080030678c in hash_get () from /usr/local/lib/libfrr.so.0
>>
>> I'm looking in hash.c, but my C skills are about 20 years rusty.
>>
>> Rudy
>>
>>
>> On 10/11/19 8:52 AM, mike tancsa wrote:
>>> On 10/11/2019 2:37 AM, Rudy Rucker wrote:
>>>> I just upgraded from FreeBSD 11 to 12 and upgrade from quagga to FRR
>>>> at the same time.
>>>> bgpd and ospfd work fine, but ospf6 doesn't work.  Not sure what I'm
>>>> going wrong.  Here is the output from zebra and ospf6.
>>>>
>>> If you do
>>>
>>>    ldd ospf6d
>>> ospf6d:
>>>           libfrr.so.0 => /usr/local/lib/libfrr.so.0 (0x80086d000)
>>>           libyang.so.0.16 => /usr/local/lib/libyang.so.0.16 (0x800b3e000)
>>>           libexecinfo.so.1 => /usr/lib/libexecinfo.so.1 (0x800e35000)
>>>           libm.so.5 => /lib/libm.so.5 (0x801038000)
>>>           libcrypt.so.5 => /lib/libcrypt.so.5 (0x801268000)
>>>           libjson-c.so.4 => /usr/local/lib/libjson-c.so.4 (0x801487000)
>>>           librt.so.1 => /usr/lib/librt.so.1 (0x801697000)
>>>           libthr.so.3 => /lib/libthr.so.3 (0x80189d000)
>>>           libc.so.7 => /lib/libc.so.7 (0x801ac6000)
>>>           libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x801e81000)
>>>           libelf.so.2 => /lib/libelf.so.2 (0x802123000)
>>>           libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80233b000)
>>>
>>> is it linked to anything odd or old by chance ? (libmap.conf?)
>>>
>>>
>>>       ---Mike
>>>
>> _______________________________________________
>> frog mailing list
>> frog at lists.frrouting.org
>> https://lists.frrouting.org/listinfo/frog



More information about the frog mailing list