Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Apr 2000 01:31:43 -0600
From:      Warner Losh <imp@village.org>
To:        Alex Zepeda <jazepeda@pacbell.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: Stale modules (Re: panic in the morning) 
Message-ID:  <200004200731.BAA07337@harmony.village.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>  <Pine.BSF.4.21.0004191814410.73491-100000@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004200731.BAA07337>