From owner-freebsd-current Thu Apr 20 10:56: 0 2000 Delivered-To: freebsd-current@freebsd.org Received: from ns.cvzoom.net (ns.cvzoom.net [208.226.154.2]) by hub.freebsd.org (Postfix) with SMTP id 46EA037B69A for ; Thu, 20 Apr 2000 10:55:58 -0700 (PDT) (envelope-from dmmiller@cvzoom.net) Received: (qmail 29238 invoked from network); 20 Apr 2000 17:55:56 -0000 Received: from lc210.cvzoom.net (HELO cvzoom.net) (208.226.154.210) by ns.cvzoom.net with SMTP; 20 Apr 2000 17:55:56 -0000 Message-ID: <38FF44A6.F7C3C20B@cvzoom.net> Date: Thu, 20 Apr 2000 13:55:50 -0400 From: Donn Miller X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Stijn Hoop Cc: 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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... - Donn To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message