From owner-freebsd-current Tue Feb 23 7:16:43 1999 Delivered-To: freebsd-current@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id 01349119ED for ; Tue, 23 Feb 1999 07:16:28 -0800 (PST) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.1a/8.9.1) with ESMTP id QAA13116; Tue, 23 Feb 1999 16:16:26 +0100 (CET) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id QAA11127; Tue, 23 Feb 1999 16:16:26 +0100 (MET) Date: Tue, 23 Feb 1999 16:16:26 +0100 From: Eivind Eklund To: Jos Backus Cc: Dmitrij Tejblum , freebsd-current@FreeBSD.ORG Subject: Re: panic: zone: entry not free Message-ID: <19990223161625.B10845@bitbox.follo.net> References: <19990223094120.A97001@hal.mpn.cp.philips.com> <199902230909.MAA01169@tejblum.dnttm.rssi.ru> <19990223105939.D97001@hal.mpn.cp.philips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990223105939.D97001@hal.mpn.cp.philips.com>; from Jos Backus on Tue, Feb 23, 1999 at 10:59:39AM +0100 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Feb 23, 1999 at 10:59:39AM +0100, Jos Backus wrote: > On Tue, Feb 23, 1999 at 12:09:03PM +0300, Dmitrij Tejblum wrote: > > Inline functions in vm/vm_zone.h depend on INVARIANTS. These functions > > used in msdosfs and in other parts of the kernel. > > OK, I see. > > > > How does one add INVARIANTS support to modules? > > > > You could add -DINVARIANTS to CFLAGS in sys/module/msdosfs/Makefile. > > You better just link msdosfs statically, or remove INVARIANTS from your > > kernel. > > I'll try this tonight, thanks. > > > That is, INVARIANTS in kernel incompatible with dynamic loading. > > Somehow this strikes me as a Bad Thing... It _is_ a bad thing. I've been pondering what to do with the intrusive invariant checks - make them dependent on INTRUSIVE_INVARIANTS, perhaps? That would still make some KLDs incompatible with INTRUSIVE_INVARIANTS, but that is probably the best we can do. Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message