sleep mutex panic on 5.2.1-RELEASE

Brian Fundakowski Feldman green at freebsd.org
Thu Apr 22 10:58:44 PDT 2004


Peter Losher <Peter_Losher at isc.org> wrote:
> Hi,
> 
> I have a dual-Xeon system in production (Dell PE2550) that has started to 
> randomly lock up, adding debugging fun and WITNESS, I got it to panic 
> and pop it into the debugger...
> 
> -=-
> panic: lock (sleep mutex) pipe mutex not locked 

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

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green at FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




More information about the freebsd-current mailing list