panic: Trying sleep, but thread marked as sleeping prohibited

Robert Watson rwatson at FreeBSD.org
Wed Sep 12 04:47:59 PDT 2007


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 at 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


More information about the freebsd-current mailing list