em, polling, carp LOR

From: ben <ben_at_desync.com>
Date: Fri, 27 Jan 2006 04:22:03 -0500
Please excuse if this is already known.  It used to work.

lock order reversal:
1st 0xc4be31a4 em1 (network driver) _at_ /usr/src/sys/dev/em/if_em.c:1070
2nd 0xc50d41d0 carp_if (carp_if) _at_ /usr/src/sys/netinet/ip_carp.c:1251
KDB: stack backtrace:
witness_checkorder(c50d41d0,9,c08b29b5,4e3) at witness_checkorder+0x56b
_mtx_lock_flags(c50d41d0,0,c08b29b5,4e3,800) at _mtx_lock_flags+0x50
carp_forus(c50d41c0,c50c5802,0,1,5dc) at carp_forus+0x4b
ether_demux(c4c1d800,c5090800,c4be3000,83,c4c23820) at ether_demux+0x1f7
ether_input(c4c1d800,c5090800,0,e35d6c70,c0698a28) at ether_input+0x15b
em_process_receive_interrupts(1,1,5,0,e35d6cd4) at  
em_process_receive_interrupts+0x2d3
em_poll(c4c1d800,0,5) at em_poll+0x79
netisr_poll(0,c4b3c980,c4b3ee00,0,e35d6d0c) at netisr_poll+0x70
swi_net(0,c4b3ee38,c4aefb60,c0660d38,c4aee450) at swi_net+0x2d
ithread_loop(c4ab5870,e35d6d38,c4ab5870,c0660d38,0) at ithread_loop 
+0x1eb
fork_exit(c0660d38,c4ab5870,e35d6d38) at fork_exit+0x80
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xe35d6d6c, ebp = 0 ---

Thanks,
bw.
Received on Fri Jan 27 2006 - 08:22:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC