RELENG_6, LOR in sys/netinet/tcp_usrreq.c:651

From: Øyvind Kolbu <oyvind_at_kolbu.ws>
Date: Mon, 15 Aug 2005 22:39:40 +0200
Hi

Every time I start iwi0 with '/etc/rc.d/netif start iwi0' I get this LOR:

lock order reversal
1st 0xc22bac84 inp (tcpinp) _at_/stuff/freebsd/src-releng6/sys/netinet/tcp_usrreq.c:651
  2nd 0xc1f21b44 iwi0 (network driver) _at_/stuff/freebsd/src-releng6/sys/modules/iwi/../../dev/iwi/if_iwi.c:1449
  KDB: stack backtrace:
  kdb_backtrace(c09298ec,c1f21b44,c1f10860,c0c27ab9,c0c279bf) at kdb_backtrace+0x2e
  witness_checkorder(c1f21b44,9,c0c279bf,5a9,c09fb880) at   witness_checkorder+0x6c3
  _mtx_lock_flags(c1f21b44,0,c0c279bf,5a9,2) at _mtx_lock_flags+0x8a
  iwi_start(c1f30800,12b,0,c1f30800) at iwi_start+0x46
  if_start(c1f30800,0,c092fd7d,195,2) at if_start+0x99
  ether_output_frame(c1f30800,c215db00,6,e6b2ea84,e6b2ea20) at ether_output_frame+0x218
  ether_output(c1f30800,c215db00,e6b2ea84,c221c7bc,246) at ether_output+0x47e
  ip_output(c215db00,0,e6b2ea80,0,0) at ip_output+0x7d7
  tcp_output(c22bc564,0,c09352d3,2b9,0) at tcp_output+0x11ba
  tcp_usr_send(c21f2858,0,c215d900,0,0) at tcp_usr_send+0x1e8
  sosend(c21f2858,0,e6b2ecb4,c215d900,0) at sosend+0x701
  soo_write(c219dab0,e6b2ecb4,c2475e80,0,c2270c00) at soo_write+0x87
  dofilewrite(c2270c00,3,c219dab0,e6b2ecb4,ffffffff) at dofilewrite+0x85
  kern_writev(c2270c00,3,e6b2ecb4,807a327,0) at kern_writev+0x65
  write(c2270c00,e6b2ed04,c,422,3) at write+0x4f
  syscall(3b,3b,bfbf003b,0,2) at syscall+0x2c0
  Xint0x80_syscall() at Xint0x80_syscall+0x1f
  --- syscall (4, FreeBSD ELF32, write), eip = 0x282ef74f, esp = 0xbfbfdedc, ebp = 0xbfbfdef8 ---

FreeBSD apogee.i.kolbu.ws 6.0-BETA2 FreeBSD 6.0-BETA2 #0: Mon Aug 15 21:40:31 CEST 2005

-- 
Øyvind Kolbu
Received on Tue Aug 16 2005 - 06:59:44 UTC

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