Date: Tue, 23 Feb 1999 16:16:26 +0100 From: Eivind Eklund <eivind@FreeBSD.ORG> To: Jos Backus <Jos.Backus@nl.origin-it.com> Cc: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, freebsd-current@FreeBSD.ORG Subject: Re: panic: zone: entry not free Message-ID: <19990223161625.B10845@bitbox.follo.net> In-Reply-To: <19990223105939.D97001@hal.mpn.cp.philips.com>; from Jos Backus on Tue, Feb 23, 1999 at 10:59:39AM %2B0100 References: <19990223094120.A97001@hal.mpn.cp.philips.com> <199902230909.MAA01169@tejblum.dnttm.rssi.ru> <19990223105939.D97001@hal.mpn.cp.philips.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990223161625.B10845>