Re: sleep mutex panic on 5.2.1-RELEASE

From: Peter Losher <Peter_Losher_at_isc.org>
Date: Thu, 22 Apr 2004 11:40:46 -0700
On Thursday 22 April 2004 10:58, Brian Fundakowski Feldman wrote:

> Chances are this bug does not exist anymore.  Robert Watson rewrote a
> large amount of the pipe code to improve its locking and security, and
> I hammered out some left-over bugs that showed up with SMP testing. 
> Please try either upgrading to -CURRENT or, if you are not using MAC,
> these two diffs might be all you need:
>
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/pipe.h.diff?r1=1.25&
>r2=1.26
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/kern/sys_pipe.c.diff?r1=
>1.170&r2=1.158

Thanks for the pointers (I'd rather stay in the release branch if I can), 
the patches applied cleanly, but it has a issue when compiling it in. 

-=-
cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. 
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica 
-I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm 
-D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 
-fno-strict-aliasing  -mno-align-long-strings 
-mpreferred-stack-boundary=2 -ffreestanding 
-Werror  /usr/src/sys/kern/sys_pipe.c
/usr/src/sys/kern/sys_pipe.c: In function `pipe':
/usr/src/sys/kern/sys_pipe.c:364: warning: implicit declaration of 
function `fdunused'
*** Error code 1
-=-

Is there something else I might be missing here?

Thanks again - Peter
-- 
Peter_Losher_at_isc.org | ISC | OpenPGP Key E8048D08 | "The bits must flow"

Received on Thu Apr 22 2004 - 09:40:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC