From owner-freebsd-current@FreeBSD.ORG Thu Apr 22 10:58:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4708716A4CE; Thu, 22 Apr 2004 10:58:44 -0700 (PDT) Received: from localhost (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i3MHwdGZ032309; Thu, 22 Apr 2004 13:58:39 -0400 (EDT) (envelope-from green@green.homeunix.org) Message-Id: <200404221758.i3MHwdGZ032309@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Peter Losher In-Reply-To: Message from Peter Losher <200404212335.03156.Peter_Losher@isc.org> From: Brian Fundakowski Feldman Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 22 Apr 2004 13:58:39 -0400 Sender: green@green.homeunix.org cc: current@freebsd.org Subject: Re: sleep mutex panic on 5.2.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 22 Apr 2004 17:58:44 -0000 Peter Losher 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@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\