From owner-freebsd-current Thu Apr 20 12: 0:17 2000 Delivered-To: freebsd-current@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id AE45E37BE9B for ; Thu, 20 Apr 2000 12:00:09 -0700 (PDT) (envelope-from sobomax@altavista.net) Received: from altavista.net (dialup4-48.iptelecom.net.ua [212.9.226.240]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id WAA19787; Thu, 20 Apr 2000 22:02:31 +0300 (EEST) Message-ID: <38FF5369.7BE907CA@altavista.net> Date: Thu, 20 Apr 2000 21:58:49 +0300 From: Maxim Sobolev Organization: Home, sweet home X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Donn Miller Cc: Stijn Hoop , current@FreeBSD.ORG Subject: Re: Stale modules (Re: panic in the morning) References: <20000419162806.A8502@gil.physik.rwth-aachen.de> <20000420112449.C51522@pcwin002.win.tue.nl> <38FF44A6.F7C3C20B@cvzoom.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Donn Miller wrote: > Stijn Hoop wrote: > > > > On Wed, Apr 19, 2000 at 06:15:55PM -0700, Kris Kennaway wrote: > > > > make world doesn't build a kernel. Making a kernel doesn't build > > > modules. This bit me again the other day when updating, as well - panic at > > > boot when loading a stale linux.ko. > > > > \begin{newbie question} > > So why aren't the modules built with the kernel instead of with the world? > > \end{newbie question} > > Good question. With Linux, you have the option of building the > modules when you compile the kernel by doing a "make modules". I > think maybe we could use a similar approach. For example, I think we > should put an option into config(8) where we can choose the modules we > want to build. Like, we add the keyword "module" somewhere to the > driver we want to add as a modules. Then, we could add an option > "make modules" and "make install_modules" so that they could be > built/installed with the kernel. > > After all, modules ARE a part of the kernel... Looks like *really* nice idea. This would allow to solve "stale modules" problem at minimal cost. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message