From owner-cvs-all Tue Apr 25 17:35:15 2000 Delivered-To: cvs-all@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id C131437B5BE; Tue, 25 Apr 2000 17:35:09 -0700 (PDT) (envelope-from robert@cyrus.watson.org) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.9.3/8.9.3) with SMTP id UAA29292; Tue, 25 Apr 2000 20:34:54 -0400 (EDT) (envelope-from robert@cyrus.watson.org) Date: Tue, 25 Apr 2000 20:34:53 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Greg Lehey Cc: "David O'Brien" , Boris Popov , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: How about building modules along with the kernel? (was: cvs commit: src/sys/modules/syscons/fire fire_saver.c src/sys/modules/syscons/rain rain_saver.c src/sys/modules/syscons/warp warp_saver.c) In-Reply-To: <20000426093809.R26934@freebie.lemis.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 26 Apr 2000, Greg Lehey wrote: > I mind. They *should* be built along with the kernel. Can we get a > consensus that this needs to be done, and maybe even how? Back at the > FreeBSDcon we discussed the matter, and the fact that the kernel > probably needs to be in a subdirectory of root, along with the modules > and possibly other information. Any comments? At the very least, they should not be built and installed with world -- this can have some pretty bad side effects, especially in kernel hacking environments. I could see a new (maybe already present) ``make buildmodules'' and ``make installmodules'' target in /usr/src. I could also see the suggestion of building modules with a particular kernel, although I'm not clear on the details and side effects. I suppose to a large extent, this depends on how we see kernels and modules being used. We have thus far utterly failed to provide any kind of consistent ABI for many of the common modules (nfs is a prime example) meaning that in many cases, the modules are closely tied to the version of the kernel selected. This makes debugging kernels with a changing sys tree very difficult for a number of reasons. Any thoughts on this? Robert N M Watson robert@fledge.watson.org http://www.watson.org/~robert/ PGP key fingerprint: AF B5 5F FF A6 4A 79 37 ED 5F 55 E9 58 04 6A B1 TIS Labs at Network Associates, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message