From owner-freebsd-current Tue Feb 23 1:14: 5 1999 Delivered-To: freebsd-current@freebsd.org Received: from helios.dnttm.ru (dnttm-gw.rssi.ru [193.232.0.205]) by hub.freebsd.org (Postfix) with ESMTP id DAC4810F4E for ; Tue, 23 Feb 1999 01:11:45 -0800 (PST) (envelope-from dima@tejblum.dnttm.rssi.ru) Received: (from uucp@localhost) by helios.dnttm.ru (8.9.1/8.9.1/IP-3) with UUCP id MAA04066; Tue, 23 Feb 1999 12:08:07 +0300 Received: from tejblum.dnttm.rssi.ru (localhost [127.0.0.1]) by tejblum.dnttm.rssi.ru (8.9.3/8.9.1) with ESMTP id MAA01169; Tue, 23 Feb 1999 12:09:03 +0300 (MSK) (envelope-from dima@tejblum.dnttm.rssi.ru) Message-Id: <199902230909.MAA01169@tejblum.dnttm.rssi.ru> X-Mailer: exmh version 2.0gamma 1/27/96 To: Jos Backus Cc: freebsd-current@FreeBSD.ORG Subject: Re: panic: zone: entry not free In-reply-to: Your message of "Tue, 23 Feb 1999 09:41:20 +0100." <19990223094120.A97001@hal.mpn.cp.philips.com> Content-Type: text/plain; charset=us-ascii From: Dmitrij Tejblum Date: Tue, 23 Feb 1999 12:09:03 +0300 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jos Backus wrote: > On Tue, Feb 23, 1999 at 02:41:14AM +0300, Dmitrij Tejblum wrote: > > Jos Backus wrote: > > > This occurs almost immediately after copying a file to an msdos fs. I can > > > provide more info if that is deemed useful. > > > > I suspect your kernel compiled with INVARIANTS, > > Yes, and with INVARIANTS_SUPPORT as well as per Matt's instructions. > > > you load msdosfs module dynamically, and the module isn't compiled with > > INVARIANTS. > > This is after a successful world and subsequent kernel build. > > > If so, don't do that. > > I'm not aware that I do, really. > > jos:/usr/src/sys/modules/msdos# grep INVARIANTS * > jos:/usr/src/sys/modules/msdos# > jos:/usr/src/sys/msdosfs# grep INVARIANTS * > jos:/usr/src/sys/msdosfs# Inline functions in vm/vm_zone.h depend on INVARIANTS. These functions used in msdosfs and in other parts of the kernel. > 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. That is, INVARIANTS in kernel incompatible with dynamic loading. Dima To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message