From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 19:08:10 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 F36E816A418; Wed, 12 Sep 2007 19:08:09 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id DAED613C45A; Wed, 12 Sep 2007 19:08:08 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <46E83917.3070705@FreeBSD.org> Date: Wed, 12 Sep 2007 21:08:07 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Robert Watson References: <20070912084914.9985.qmail@exxodus.fedaykin.here> <46E7AB54.9060103@FreeBSD.org> <20070912124704.C79170@fledge.watson.org> In-Reply-To: <20070912124704.C79170@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: re@FreeBSD.org, FreeBSD-current@FreeBSD.org, Mario Sergio Fujikawa Ferreira Subject: Re: panic: Trying sleep, but thread marked as sleeping prohibited 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: Wed, 12 Sep 2007 19:08:10 -0000 Robert Watson wrote: > > On Wed, 12 Sep 2007, Kris Kennaway wrote: > >> Mario Sergio Fujikawa Ferreira wrote: >>> I had 3 panics today. All seem to be related to ipf code. I have >>> disabled ipf for the time being. >>> >>> I am attaching the kgdb backtraces. I am saving the cores. Let me >>> know if there is anything I can do to help. >>> >>> FreeBSD exxodus.home.home 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Mon Sep >>> 10 15:01:49 BRT 2007 >>> root@exxodus.home.home:/usr/obj/usr/src/sys/LIOUX i386 >>> >>> -current as of Sep 10 2007. >> >> Yes, known issue. The lack of response by the ipf maintainer so far >> suggests it probably will not be fixed in 7.0. This should be >> documented in the relnotes. > > The quick, and probably correct, fix is to replace all use of sx(9) with > rw(9) in ipf. There might be places where a copying/copyout is being > performed with the lock held, in which case this will trigger new warnings. > > Robert N M Watson > Computer Laboratory > University of Cambridge > > Worth a shot I guess. Kris