From owner-freebsd-stable@FreeBSD.ORG Mon Jun 12 09:35:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B7EB16A41B for ; Mon, 12 Jun 2006 09:35:13 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E90EA43D49 for ; Mon, 12 Jun 2006 09:35:11 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 60DAF1FFAD0; Mon, 12 Jun 2006 11:35:09 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id EB8BA1FFACE; Mon, 12 Jun 2006 11:35:05 +0200 (CEST) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 8DF7B444A36; Mon, 12 Jun 2006 09:30:00 +0000 (UTC) Date: Mon, 12 Jun 2006 09:30:00 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Max Laier In-Reply-To: <200606120024.59336.max@love2party.net> Message-ID: <20060612092830.V79180@maildrop.int.zabbadoz.net> References: <448C5C41.10302@wcubed.net> <20060611213635.GA35430@xor.obsecurity.org> <448C8F3B.5020806@wcubed.net> <200606120024.59336.max@love2party.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de Cc: Brad Waite , freebsd-stable@freebsd.org Subject: Re: 6.1-stable hangs and LORs X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 09:35:13 -0000 On Mon, 12 Jun 2006, Max Laier wrote: > On Sunday 11 June 2006 23:46, Brad Waite wrote: >> Kris Kennaway wrote: >>> We need to know the LOR before anyone can tell what is going wrong ;-) >> >> Ask and you will receive: >> >> lock order reversal: >> 1st 0xc077a440 pf task mtx (pf task mtx) @ >> /usr/src/sys/contrib/pf/net/pf.c:6331 >> 2nd 0xc07d3fac tcp (tcp) @ /usr/src/sys/contrib/pf/net/pf.c:2719 > > From pf.conf(5): > BUGS > Due to a lock order reversal (LOR) with the socket layer, the use of the > group and user filter parameter in conjuction with a Giant-free netstack > can result in a deadlock. If you have to use group or user you must set > debug.mpsafenet to ``0'' from the loader(8), for the moment. This work- > around will still produce the LOR, but Giant will protect from the dead- > lock. though this is known and there are already other similar LORs (like #17, ...) I added it to the LOR page with ID 191 because it's another code path in the backtrace. That way people will also find this one. http://sources.zabbadoz.net/freebsd/lor.html#191 -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT