On 7.6.2021. 9:25, Alexandr Nedvedicky wrote:
> Hello,
>
> On Sun, Jun 06, 2021 at 09:54:50PM +0200, Hrvoje Popovski wrote:
> </snip>
>>
>> this one?
> yes, exactly this one.
Ok, great ..
this and similar panics are products of accidental stp loops. I have two
same boxes with the same network setup connected to the same switch. At
one point i've tested bluhm@ and sashan@ diffs and forget that i have
tpmr(4) or veb(4) configured on both boxes, which is loop ...
So now, when i understood what i've done i can easily reproduce panic
with yours and dlg@ diff ... i just start to send traffic over one box
and other box panic :)
all those panics are without pf and with tpmr or veb
here's few panics .. i can send details if you find some panics
interesting ..
login: papnapiniacc:n: i kc e: r n e l d i a g n o s t i
c a s s e
r t i o n " r v e b e = = N U L L " f a i
l e d : f
i l e "
p /okseyoslr/_ndenole t_ /piu ft : _ e t h e r b r i d g e .
c " , l i
n e 2 2 6 e b t _ r e p l a c e e b 0 x
f f f f 8
0e0bd0eipa0lg0n6:8 o2 s te i6 c8 n e b e 0 x f f f f f
d 8 3 a b 7
7 b d 9 8 r v e b e 0 x f f f f f d 8 3 a b
7 7 b e 1 0
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
91272 88889 0 0x14000 0x200 1 softnet
*410720 68055 0 0x14000 0x200 0 softnet
444532 44174 0 0x14000 0x200 2 softnet
149723 5636 0 0x14000 0x200 4 softnet
db_enter() at db_enter+0x10
panic(ffffffff81e85119) at panic+0xbf
etherbridge_map(ffff800000682e68,ffff80000016ad00,90e2ba33b4a0) at
etherbridge_map+0x37d
veb_port_input(ffff800000082048,fffffd80bcb8f600,90e2ba33b4a1,ffff80000016ad00)
at veb_port_input+0x2fa
ether_input(ffff800000082048,fffffd80bcb8f600) at ether_input+0xf5
if_input_process(ffff800000082048,ffff800023871988) at if_input_process+0x6f
ifiq_process(ffff800000080f00) 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{0}> show panic
cpu0: kernel diagnostic assertion "rvebe == NULL" failed: file
"/sys/net/if_etherbridge.c", line 226 ebt_replace eb 0xffff800000682e68
nebe 0xfffffd83ab77bd98 rvebe 0xfffffd83ab77be10
cpu2: pool_do_put: ebepl: double pool_put: 0xfffffd83ab77b8e8
*cpu1: kernel diagnostic assertion "smr->smr_func == NULL" failed: file
"/sys/kern/kern_smr.c", line 247
ddb{0}>
r620-1# papnainicc: : k er n el d ia g n o st i c a s s e r ti
o n " r e f c n
t ! = ~0 " f a i le d : f il e " /s y s / k e r
n/kkeernrenl_ s yn c h . c ", l i ne 8 2 6
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
73487 28509 0 0x14000 0x200 1 softnet
99803 26490 0 0x14000 0x200 5 softnet
*372376 10060 0 0x14000 0x200 4 softnet
128194 68537 0 0x14000 0x200 3 softnet
105333 38464 0 0x14000 0x40000200 0 softclock
db_enter() at db_enter+0x10
panic(ffffffff81e07adc) at panic+0xbf
__assert(ffffffff81e7558b,ffffffff81de2e62,33a,ffffffff81e13185) at
__assert+0x2b
refcnt_rele(fffffd839484c768) at refcnt_rele+0x6f
etherbridge_map(ffff800000682e68,ffff8000012c6f00,90e2ba33b4a0) at
etherbridge_map+0x1ca
veb_port_input(ffff800000087048,fffffd80a6545200,90e2ba33b4a1,ffff8000012c6f00)
at veb_port_input+0x2fa
ether_input(ffff800000087048,fffffd80a6545200) at ether_input+0xf5
if_input_process(ffff800000087048,ffff80002386bba8) at if_input_process+0x6f
ifiq_process(ffff800000086d00) at ifiq_process+0x69
taskq_thread(ffff800000030100) at taskq_thread+0x9f
end trace frame: 0x0, count: 5
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{4}> show panic
cpu4: kernel diagnostic assertion "refcnt != ~0" failed: file
"/sys/kern/kern_synch.c", line 826
*cpu1: kernel diagnostic assertion "smr->smr_func == NULL" failed: file
"/sys/kern/kern_smr.c", line 247
ddb{4}>
r620-1# papppnpppaaaaannnanniiniiciicc::c:cc : :: p o o
l _ d
o _ g e t : m c l 2 k
2 : p
a g e e m p t y
Stopped at db_enter+0x10: popq %rbp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 13147 52870 0 0x14000 0x200 2 softnet
db_enter() at db_enter+0x10
panic(ffffffff81e0a795) at panic+0xbf
pool_do_get(ffffffff821f6d98,2,ffff800023864bb4) at pool_do_get+0x309
pool_get(ffffffff821f6d98,2) at pool_get+0x9d
m_clget(0,2,802) at m_clget+0x1c5
ixgbe_get_buf(ffff800000069ba0,19) at ixgbe_get_buf+0xa3
ixgbe_rxfill(ffff800000069ba0) at ixgbe_rxfill+0xae
ixgbe_queue_intr(ffff800000024d00) at ixgbe_queue_intr+0x4f
intr_handler(ffff800023864dd0,ffff80000006f980) at intr_handler+0x6e
Xintr_ioapic_edge0_untramp() at Xintr_ioapic_edge0_untramp+0x18f
Xspllower() at Xspllower+0x19
cnputc(6e) at cnputc+0x37
db_putchar(6e) at db_putchar+0x2ea
kprintf() at kprintf+0x434
end trace frame: 0xffff8000238650b0, count: 0
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{2}> show panic
cpu0: pool_do_get: mcl2k2: page empty
cpu5: pool_do_get: mcl2k2: page empty
cpu4: pool_do_get: mcl2k2: page empty
cpu3: pool_do_get: mcl2k2: page empty
*cpu2: kernel diagnostic assertion "curcpu()->ci_schedstate.spc_smrdepth
> 0" failed: file "/sys/net/if_tpmr.c", line 382
cpu1: pool_do_get: mcl2k2: page empty
ddb{2}>