LOR on e1000

Roger Miranda rmiranda at digitalrelay.ca
Fri May 25 21:30:31 UTC 2007


Not to sure if this is the right place to post this.
We have posted on the freebsd-stable mailing list, but decided this might be a 
driver issue.

We have a machine running freebsd 6.2 with if_bridge just doing proxy 
interception.  The problem is the machine goes into to a dead lock with my 
tcp connection (not so much a heavy load).  We can only recreate the dead 
lock with about 25 or more PCs behind our system.

Here is a copy of the LOR:
-----------------------------------------------------------------------------------------------------------------
lock order reversal:
 1st 0xc06e0820 polling (polling) @ /usr/src/sys/kern/kern_poll.c:422
 2nd 0xc473070c if_bridge (if_bridge) @ /usr/src/sys/net/if_bridge.c:1976
KDB: stack backtrace:
witness_checkorder(c473070c,9,c068bfbc,7b8) at witness_checkorder+0x55c
_mtx_lock_flags(c473070c,0,c068bfbc,7b8,c473070c,...) at _mtx_lock_flags+0x41
bridge_input(c43d9000,c4740000,c43a828c,c43a8000,c4740000,...) at 
bridge_input+0x80
ether_input(c43d9000,c4740000,c43a828c,0,c0675f3c,...) at ether_input+0x122
e1000_rxeof(d43f2cbc,c0524e5d,d43f2ca8,1,5,...) at e1000_rxeof+0x19b
e1000_poll(c43d9000,0,5) at e1000_poll+0x46
netisr_poll(0) at netisr_poll+0x70
swi_net(0,c4315438,c4323a80,c050a484,c4322648,...) at swi_net+0xb0
ithread_loop(c430f700,d43f2d38,c430f700,c050a484,0,...) at ithread_loop+0x1de
fork_exit(c050a484,c430f700,d43f2d38) at fork_exit+0x7d
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd43f2d6c, ebp = 0 ---
softdep_waitidle: Failed to flush worklist for 0xc44ffcf8
-----------------------------------------------------------------------------------------------------------------


here is the pciconf output for the network intel cards:
-----------------------------------------------------------------------------------------------------------------
em0 at pci1:1:0:   class=0x020000 card=0x10758086 chip=0x10758086 rev=0x00 
hdr=0x00
    class    = network
    subclass = ethernet
em1 at pci3:10:0:  class=0x020000 card=0x10768086 chip=0x10768086 rev=0x00 
hdr=0x00
    class    = network
    subclass = ethernet
-----------------------------------------------------------------------------------------------------------------

Any help will be really appreciated.  We have upgrade the Intel drivers to 
version (em-6.3.9).

Roger


More information about the freebsd-drivers mailing list