On 5.6.2021. 18:43, Alexandr Nedvedicky wrote:
> According to early tests it works well. Currently there is a one
> mysterious panic, which Hrvoje may be able to comment on
> how to trigger it. The stack looks as follows:
>
> kernel diagnostic assertion "smr->smr_func == NULL" failed: file
> "/sys/kern/kern_smr.c", line 247
> panic() at panic+0x12a
> __assert() at
> __assert+0x2b
> smr_call_impl() at smr_call_impl+0xd4
> veb_port_input() at veb_port_input+0x2fa
> ether_input() at ether_input+0x10b
> if_input_process() at if_input_process+0x6f
> ifiq_process() at ifiq_process+0x69
> taskq_thread() at taskq_thread+0x81
this one?
r620-1# ppaanniicc: : k e r ne l d ia g n o s t ic as s e r t
io n " rv e b e
= = N U LL " f ai l e d : f i l e " / s y s/ n e
tk/eirnfe_el t he r b r i d g e. c " , l i ne 2 2 6 eb t _ r
ep l a ce e b
0 x f f f f 80 0 0 00 6 8 2 e6 8 n eb e 0 x f
fdifaffgdno8s39t1iec 9 16 3 0 r v eb e 0 x f ff f f d 83 9 1 e
9 1 4c 8
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
218522 97075 0 0x14000 0x200 1 softnet
*210501 76472 0 0x14000 0x200 5 softnet
192964 556 0 0x14000 0x200 2 softnet
312196 98971 0 0x14000 0x200 3 softnet
db_enter() at db_enter+0x10
panic(ffffffff81e84b7f) at panic+0xbf
etherbridge_map(ffff800000682e68,ffff80000016a000,90e2ba33b4a0) at
etherbridge_map+0x37d
veb_port_input(ffff800000082048,fffffd80a6ec8800,90e2ba33b4a1,ffff80000016a000)
at veb_port_input+0x2fa
ether_input(ffff800000082048,fffffd80a6ec8800) at ether_input+0xf5
if_input_process(ffff800000082048,ffff800023871bf8) at if_input_process+0x6f
ifiq_process(ffff800000086300) at ifiq_process+0x69
taskq_thread(ffff800000030200) at taskq_thread+0x9f
end trace frame: 0x0, count: 7
https://www.openbsd.org/ddb.html describes the minimum info required in
bug reports. Insufficient info makes it difficult to find and fix bugs.
ddb{5}> show panic
cpu5: kernel diagnostic assertion "rvebe == NULL" failed: file
"/sys/net/if_etherbridge.c", line 226 ebt_replace eb 0xffff800000682e68
nebe 0xfffffd8391e91630 rvebe 0xfffffd8391e914c8
*cpu2: kernel diagnostic assertion "smr->smr_func == NULL" failed: file
"/sys/kern/kern_smr.c", line 247
ddb{5}>