From owner-cvs-all Sat Jul 6 23:47: 4 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBF8437B400; Sat, 6 Jul 2002 23:46:57 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0594D43E31; Sat, 6 Jul 2002 23:46:57 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id g676ku618100; Sun, 7 Jul 2002 02:46:56 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Sun, 7 Jul 2002 02:46:56 -0400 (EDT) From: Jeff Roberson To: current@freebsd.org Cc: cvs-committers@freebsd.org, Subject: Re: cvs commit: src/sys/tools vnode_if.awk In-Reply-To: <200207070639.g676db48049957@freefall.freebsd.org> Message-ID: <20020707024045.J25604-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, 6 Jul 2002, Jeff Roberson wrote: > jeff 2002/07/06 23:39:37 PDT > > Modified files: > sys/tools vnode_if.awk > Log: > - Use 'options DEBUG_VFS_LOCKS' instead of the DEBUG_ALL_VFS_LOCKS > environment variable to enable the lock verifiction code. > > Revision Changes Path > 1.33 +7 -5 src/sys/tools/vnode_if.awk > This was previously disabled because our locking was so bad that we could not boot with this option enabled. I can now boot, compile a kernel, and reboot without catching any locking asserts. This means that we are safe at our current level of debugging, but we are certainly not out of the woods wrt VFS locking yet. If you have a crash test box I would appreciate it if you would enable this kernel option. If it catches any errors you will be droped into the debugger where you can get a backtrace (type: tr) and mail it to me && current@ to avoid dups. To disable the panic & print once you've hit a bug type the following in ddb: w vfs_badlock_print 0 w vfs_badlock_panic 0 And you will not see any more errors. Thanks! Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message