From owner-freebsd-current@FreeBSD.ORG Sat Mar 12 16:13:10 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B96016A4CE for ; Sat, 12 Mar 2005 16:13:10 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B7E43D41 for ; Sat, 12 Mar 2005 16:13:10 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) j2CGD9MI065220 for ; Sat, 12 Mar 2005 08:13:09 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)j2CGD9wV065219 for freebsd-current@freebsd.org; Sat, 12 Mar 2005 08:13:09 -0800 (PST) (envelope-from sgk) Date: Sat, 12 Mar 2005 08:13:09 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Message-ID: <20050312161309.GA65207@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: LOR with rtentry and rl0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 16:13:10 -0000 I don't recall seeing this LOR posted. It may be related to rwatson's recent work in the socket layer. lock order reversal 1st 0xc2f098a0 rtentry (rtentry) @ /usr/src/sys/netinet/if_ether.c:445 2nd 0xc2c33f00 rl0 (network driver) @ /usr/src/sys/modules/rl/../../pci/if_rl.c:1444 KDB: stack backtrace: witness_checkorder(c2c33f00,9,c084cffd,5a4,c2c338fc) at witness_checkorder+0x5e9 _mtx_lock_flags(c2c33f00,0,c084cffd,5a4,c2c33800) at _mtx_lock_flags+0x54 rl_start(c2c33800,0,c06c19af,184,202a94c) at rl_start+0x37 ether_output_frame(c2c33800,c2e69400,6,ea0a5a04,c062f4e4) at ether_output_frame+0x23c ether_output(c2c33800,c2e69400,ea0a5a28,0,c2f6c3c8,2,1,c06b2302,32b,c2f6fa10,c2f6fa84) at ether_output+0x26f arprequest(ea0a5b20,c2c3d4ab,c06c254d,1bd,ea0a5a84) at arprequest+0x10b arpresolve(c2c33800,c2f09840,c2e69500,ea0a5b1c,ea0a5aa0) at arpresolve+0x30d ether_output(c2c33800,c2e69500,ea0a5b1c,c2f09840,c06bb96b) at ether_output+0x32b ip_output(c2e69500,0,ea0a5b18,1,0) at ip_output+0xa39 udp_send(c2f06bac,0,c2e69500,0,0) at udp_send+0x40e sosend(c2f06bac,0,ea0a5c44,c2e69500,0) at sosend+0x600 kern_sendit(c2f6fa10,d,ea0a5cc0,0,0) at kern_sendit+0xee sendit(ea0a5cc0,0,80f902b,0,0) at sendit+0x5f sendto(c2f6fa10,ea0a5d14,18,3ff,6) at sendto+0x53 syscall(2f,2f,2f,bfbfe210,482abf84) at syscall+0x13d Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (133, FreeBSD ELF32, sendto), eip = 0x4822463f, esp = 0xbfbfd52c, ebp = 0xbfbfd558 --- -- Steve -- Steve