From owner-freebsd-current@FreeBSD.ORG Wed Sep 12 11:47:59 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 8E49516A421; Wed, 12 Sep 2007 11:47:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E29513C494; Wed, 12 Sep 2007 11:47:59 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id F2EAB48CBD; Wed, 12 Sep 2007 07:47:58 -0400 (EDT) Date: Wed, 12 Sep 2007 12:47:58 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Kris Kennaway In-Reply-To: <46E7AB54.9060103@FreeBSD.org> Message-ID: <20070912124704.C79170@fledge.watson.org> References: <20070912084914.9985.qmail@exxodus.fedaykin.here> <46E7AB54.9060103@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 11:47:59 -0000 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