From owner-freebsd-current Thu Apr 20 0:32:27 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id EE07037B807 for ; Thu, 20 Apr 2000 00:32:22 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id BAA64903; Thu, 20 Apr 2000 01:32:21 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id BAA07337; Thu, 20 Apr 2000 01:31:43 -0600 (MDT) Message-Id: <200004200731.BAA07337@harmony.village.org> To: Alex Zepeda Subject: Re: Stale modules (Re: panic in the morning) Cc: current@FreeBSD.ORG In-reply-to: Your message of "Thu, 20 Apr 2000 00:15:40 -0000." <000365a645d89ae9_mailit@mail.pacbell.net> References: <000365a645d89ae9_mailit@mail.pacbell.net> Date: Thu, 20 Apr 2000 01:31:43 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <000365a645d89ae9_mailit@mail.pacbell.net> Alex Zepeda writes: : Perhaps it's time to implement some sort of versioning in the modules to : prevent them from being loaded into the incorrect kernel. In theory that sounds nice, but in -current the kernel ABI changes too quickly for that to be effecitve. The general rule in -current is that the modules must be compiled at the same time as the kernel, or from the same sources. Anything else might work, but is unsupported. I don't know of a good way to serialize (eg assign a serial number to) the sources that would work. For -stable, long periods of time pass between the ABI changes forcing a recompile, so it could be keyed off the FreeBSD version somehow. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message