crash with ipfw nat on mips32

Adrian Chadd adrian at freebsd.org
Thu Mar 22 16:09:40 UTC 2018


oh and xcompiled with gcc-6.x .


-a

On 22 March 2018 at 09:09, Adrian Chadd <adrian at freebsd.org> wrote:
> I dunno yet; this is a very embedded mips74k box. :)
>
>
> -a
>
> On 22 March 2018 at 06:00, Olivier Houchard <cognet at ci0.org> wrote:
>> On Thu, Mar 22, 2018 at 03:52:39PM +0300, Andrey V. Elsukov wrote:
>>> On 22.03.2018 10:31, Adrian Chadd wrote:
>>> > Erk. I'll go see if I can figure out what's going on.
>>> >
>>> > Thanks! This is really quite grr-y.
>>> >>> Trap cause = 2 (TLB miss (load or instr. fetch) - kernel mode)
>>> >>> [ thread pid 11 tid 100010 ]
>>> >>> Stopped at      0
>>> >>> db> bt
>>> >>> Tracing pid 11 tid 100010 td 0x80673b40
>>> >>> dyn_expire_states+0x13c (?,?,?,?) ra c1d08f44 sp c1247c40 sz 144
>>> >>> dyn_tick+0x238 (0,?,?,?) ra 80214dfc sp c1247cd0 sz 120
>>> >>> itimer_fire+0x1440 (?,?,?,?) ra 802150c0 sp c1247d48 sz 88
>>> >>> softclock+0x9c (?,?,?,?) ra 0 sp c1247da0 sz 0
>>> >>> db>
>>> >>
>>> >> this is not NAT related, it is ipfw's dynamic states.
>>> >> I'm not sure, but this is seems related to ConcurrencyKit.
>>>
>>> It looks like CK doesn't declare support for mips.
>>> Probably we need to make compat shim, that uses old implementation for
>>> platforms, that are not supported by CK.
>>>
>>
>> Hi,
>>
>> mips should be supported by using the compiler builtins, as is riscv. If there
>> is a crash, it is definitively a bug. Can you guys tell me which CK
>> function dies that badly ?
>>
>> Regards,
>>
>> Olivier


More information about the freebsd-net mailing list