From owner-freebsd-current@FreeBSD.ORG Tue Aug 28 03:29:19 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9087016A41A for ; Tue, 28 Aug 2007 03:29:19 +0000 (UTC) (envelope-from john@guildsoftware.com) Received: from ix.guildsoftware.com (ix.guildsoftware.com [216.136.125.5]) by mx1.freebsd.org (Postfix) with ESMTP id 73B5F13C442 for ; Tue, 28 Aug 2007 03:29:19 +0000 (UTC) (envelope-from john@guildsoftware.com) Received: from [172.17.172.7] (gargravarr.guildsoftware.com [216.136.125.2]) by ix.guildsoftware.com (Postfix) with ESMTP id A4AAFB8023 for ; Mon, 27 Aug 2007 22:13:43 -0500 (CDT) Message-ID: <46D3936B.5000401@guildsoftware.com> Date: Mon, 27 Aug 2007 22:15:55 -0500 From: John Bergman User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: lock order reversal with pf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 28 Aug 2007 03:29:19 -0000 Sorry if this has been previously reported, didn't see it in a quick search. Machine is SMP with ULE and 08/22 source, happens sporadically on bootup once I compiled in pf: WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/mirror/gm0s1a lock order reversal: 1st 0xc0a7636c pf task mtx (pf task mtx) @ contrib/pf/net/pf_ioctl.c:1304 2nd 0xc0af61ac ifnet (ifnet) @ net/if.c:1494 KDB: stack backtrace: db_trace_self_wrapper(c09ab14c,d5166a38,c06fd0a6,c09ad5ee,c0af61ac,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c09ad5ee,c0af61ac,c09b49e2,c09b49e2,c09b4848,...) at kdb_backtrace+0x29 witness_checkorder(c0af61ac,9,c09b483f,5d6,0,...) at witness_checkorder+0x6d6 _mtx_lock_flags(c0af61ac,0,c09b483f,5d6,c303e260,...) at _mtx_lock_flags+0xbc ifunit(c303e260,0,c0972988,518,c0af5790,...) at ifunit+0x2f pfioctl(c2fc9200,c0104414,c303e260,3,c2fcc440,...) at pfioctl+0x234f devfs_ioctl_f(c3057000,c0104414,c303e260,c2d75500,c2fcc440,...) at devfs_ioctl_f+0xd5 kern_ioctl(c2fcc440,3,c0104414,c303e260,1000000,...) at kern_ioctl+0x253 ioctl(c2fcc440,d5166cfc,c,c09d6159,c0a44c50,...) at ioctl+0x13f syscall(d5166d38) at syscall+0x2f3 Xint0x80_syscall() at Xint0x80_syscall+0x20 --- syscall (54, FreeBSD ELF32, ioctl), eip = 0x281a6c43, esp = 0xbfbfde5c, ebp = 0xbfbfde88 --- bge0: link state changed to UP