From owner-freebsd-current Thu Apr 25 10:11:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 94E6B37B429 for ; Thu, 25 Apr 2002 10:11:34 -0700 (PDT) Received: (qmail 805 invoked from network); 25 Apr 2002 17:11:32 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Apr 2002 17:11:32 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g3PHBVv11002; Thu, 25 Apr 2002 13:11:31 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020424224652.A284@hpdi.ath.cx> Date: Thu, 25 Apr 2002 13:10:40 -0400 (EDT) From: John Baldwin To: Hiten Pandya Subject: RE: Spin lock (?) problems with MUTEX_PROFILING Cc: current@FreeBSD.org, des@ofug.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 24-Apr-2002 Hiten Pandya wrote: > Hi all, > > I am not generating a false alarm, but I compiled a fresh kernel > yesterday with the MUTEX_PROFILING option, and it just went haywire just > after the FreeBSD copyright messages and the build info: > > [ Copyright Info ] > [ Build Information ] > panic: spin lock mutex profiling lock not in order list > > I had no idea how to debug this, so I am sending it to the -current list > and cc'ing a copy to DES. I am also attaching my kernel configuration > file for reference purposes. This means WITNESS is broken with MUTEX_PROFIING (I guess they were never tested together without WITNESS_SKIPSPIN). The fix is for the MUTEX_PROFILING folks to add the spin lock into the spin lock order list in the proper location. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message