From owner-freebsd-current@FreeBSD.ORG Sat Oct 22 18:47:19 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 A31A416A41F for ; Sat, 22 Oct 2005 18:47:19 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 42B8543D48 for ; Sat, 22 Oct 2005 18:47:16 +0000 (GMT) (envelope-from shoesoft@gmx.net) Received: (qmail invoked by alias); 22 Oct 2005 18:47:15 -0000 Received: from h081217094062.dyn.cm.kabsi.at (EHLO h081217094062.dyn.cm.kabsi.at) [81.217.94.62] by mail.gmx.net (mp012) with SMTP; 22 Oct 2005 20:47:15 +0200 X-Authenticated: #16703784 From: Stefan Ehmann To: Gleb Smirnoff In-Reply-To: <20051022154537.GL59364@cell.sick.ru> References: <1129879049.771.6.camel@localhost> <20051022154537.GL59364@cell.sick.ru> Content-Type: text/plain Date: Sat, 22 Oct 2005 20:47:16 +0200 Message-Id: <1130006836.50495.13.camel@taxman.pepperland> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: current@FreeBSD.org Subject: ipfw uid rules cause lockup (was Re: PREEMPTION still unusable with 6.0-RC1) 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: Sat, 22 Oct 2005 18:47:19 -0000 On Sat, 2005-10-22 at 19:45 +0400, Gleb Smirnoff wrote: > On Fri, Oct 21, 2005 at 09:17:29AM +0200, Stefan Ehmann wrote: > S> I recently upgraded my 5.4-RELEASE machine to 6.0-RC1. Runs fine so far > S> if I disable PREEMPTION. > S> > S> With PREEMPTION enabled, I still get the same issues as described here: > S> http://lists.freebsd.org/pipermail/freebsd-current/2004-September/037949.html > S> > S> kernel config: > S> http://stud4.tuwien.ac.at/~e0125637/fbsd/kernconf-6.0-RC1 > S> > S> /var/log/messages output: > S> http://stud4.tuwien.ac.at/~e0125637/fbsd/messages-6.0-RC1 > S> > S> Any one else still experiencing these problems or has any idea what > S> causes this? > S> > S> BTW, are 6.0 discussions supposed to go to stable@ once 6.0 is released? > > AFAIK, the uid/gid rules in ipfw(8) require debug.mpsafenet=0. So > your deadlock isn't a surprise. I wonder why this limitation isn't > documented. A quick google search revealed http://www.freebsd.org/releases/5.3R/errata.html (31 Oct 2004) When the user/group rule clauses in pf(4) and ipfw(4) are used, the loader tunable debug.mpsafenet must be set to 0 (this is 1 by default). But this is supposed to be fixed in 5.4 (OTOH 5.4 doesn't have PREEMPTION enabled by default). I'll try tomorrow if debug.mpsafenet=0 will help.