From owner-freebsd-current Tue Mar 25 15:32:42 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5209637B426 for ; Tue, 25 Mar 2003 15:32:24 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76E9943FBF for ; Tue, 25 Mar 2003 15:20:21 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 6825 invoked from network); 25 Mar 2003 23:20:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 25 Mar 2003 23:20:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h2PNKIOv097185; Tue, 25 Mar 2003 18:20:18 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <16000.57820.971424.771124@grasshopper.cs.duke.edu> Date: Tue, 25 Mar 2003 18:20:18 -0500 (EST) From: John Baldwin To: Andrew Gallatin Subject: Re: panic: blockable sleep lock (sleep mutex) Giant @ /usr/src/sys/vm/vm_fault.c:206 Cc: freebsd-current@freebsd.org, Martin Karlsson X-Spam-Status: No, hits=-19.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) 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 25-Mar-2003 Andrew Gallatin wrote: > > Martin Karlsson writes: > > > #9 0xc02dca88 in calltrap () at {standard input}:96 > > #10 0xc01e7b0b in panic (fmt=0x0) at /usr/src/sys/kern/kern_shutdown.c:528 > > #11 0xc020256e in witness_lock (lock=0xc03760c0, flags=8, file=0xc0332416 > "/usr/src/sys/vm/vm_fault.c", line=206) > > at /usr/src/sys/kern/subr_witness.c:604 > > #12 0xc01e0237 in _mtx_lock_flags (m=0xc03760c0, opts=0, file=0xc0332416 > "/usr/src/sys/vm/vm_fault.c", line=206) at /usr/src/sys/kern/kern_mutex.c:336 > > > It looks like the witness mutex debugging system crashed. This sort > of thing tends to happen when the witness data structures become > corrupt. A frequent cause of this is a module failing to destroy a > mutex. > > I think the recent addition of the > > MTX_SYSINIT(linux_osname, &osname_lock, "linux osname", MTX_DEF); > > could be causing the problem, as I do not see how its getting torn > down. Oh, good catch Drew. My bad it seems :( I'll work up a patch. -- 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