From owner-freebsd-current Mon Apr 22 13: 8: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from ady.warpnet.ro (ady.warpnet.ro [217.156.25.2]) by hub.freebsd.org (Postfix) with ESMTP id A8AEE37B400; Mon, 22 Apr 2002 13:07:51 -0700 (PDT) Received: from localhost (ady@localhost) by ady.warpnet.ro (8.9.3/8.9.3) with ESMTP id WAA11478; Mon, 22 Apr 2002 22:43:47 +0300 (EEST) (envelope-from ady@freebsd.ady.ro) X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: ady.warpnet.ro Date: Mon, 22 Apr 2002 22:43:43 +0300 (EEST) From: Adrian Penisoara X-Sender: ady@ady.warpnet.ro To: Bruce Evans Cc: "Jacques A. Vidrine" , alfred@FreeBSD.ORG, phk@FreeBSD.ORG, Maxim Konovalov , freebsd-current@FreeBSD.ORG Subject: Re: panic:bremfree with today's current and linux-netscape In-Reply-To: <20020422231049.V8742-100000@gamplex.bde.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Hi, On Mon, 22 Apr 2002, Bruce Evans wrote: > Yes; I forgot to write the clause about it only being equivalent to a > panic if certain options (mainly INVARIANTS) are configured. > > > do see that falloc does lock the file descriptor table too, though --- > > I wonder how it ever worked. > > INVARIANTS causes a check of an assertion that non-recursive locks > like fd_mtx aren't actually misused recursively. The check causes more > panics than the misuse since the misuse is rarely fatal. I may be > missing something since I rarely use INVARIANTS and haven't checked > that it causes the panic deterministically. I think you're talking about the WITNESS option rather than INVARIANTS, that's the one who's at least documented in GENERIC as being responsible for mutex and deadlock checks. And this is somewhat confirmed by the face that an alternative kernel that I built doesn't panic and the difference between them two is that WITNESS is disabled in the non-panicking one. Happy debuggin' Ady (@freebsd.ady.ro) _______________________________________________________________________ | Programming in BASIC causes brain damage. | | (Edsger Wybe Dijkstra) | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message