FRR on FreeBSD 12 - problems with OSPFv3

Rudy crapsh at monkeybrains.net
Fri Oct 11 15:07:06 UTC 2019




On 10/11/19 2:22 AM, Andrey V. Elsukov wrote:
> On 11.10.2019 12:09, Rudy wrote:
>> I just upgraded from FreeBSD 11 to 12 and upgrade from quagga to FRR at
>> the same time. I've tried frr6 and frr7 and get the same errors.
>>
>> *** CRASH ***
>> If I run on the command line and don't background, it bombs after 7
>> seconds:
>> # ospf6d
>> Illegal instruction
>>
>>
>> Here is the end of truss:
>> # truss ospf6d
>> ...
>> mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
>> 34863378432 (0x81e04f000)
>> mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
>> 34863382528 (0x81e050000)
>> mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
>> 34863386624 (0x81e051000)
>> mmap(0x0,4096,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =
>> 34863390720 (0x81e052000)
>> SIGNAL 11 (SIGSEGV) code=SEGV_ACCERR trapno=12 addr=0x7fffdffffff8
>> process killed, signal = 4
>>
> SIGILL usually means that a binary/library was built for specific CPU
> and you need to rebuild it on the local host. If it was installed from
> the official packages, this means that the port should be fixed to not
> have such specific optimization flags.


I just recompiled from ports - same error.

 > 2019/10/11 08:03:50 ZEBRA: [EC 4043309117] Client 'ospf6' encountered 
an error and is shutting down.

There is either a configuration error I am missing, or there is a bug in 
handling IPv6 in Freebsd or FFR.
Rudy


More information about the freebsd-net mailing list