From owner-freebsd-current Mon Jul 5 19: 7:32 1999 Delivered-To: freebsd-current@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 9C9AA15281 for ; Mon, 5 Jul 1999 19:07:26 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA29395; Tue, 6 Jul 1999 11:37:24 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA77620; Tue, 6 Jul 1999 11:37:23 +0930 (CST) Date: Tue, 6 Jul 1999 11:37:23 +0930 From: Greg Lehey To: Tom Pavel Cc: freebsd-current@FreeBSD.ORG Subject: Re: Kernel versions and kld modules [WAS: this of interest to anyone?] Message-ID: <19990706113723.H451@freebie.lemis.com> References: <19990702164008.2619E64@overcee.netplex.com.au> <0FEF008IZ5QDMA@mailbox.slac.stanford.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <0FEF008IZ5QDMA@mailbox.slac.stanford.edu>; from Tom Pavel on Mon, Jul 05, 1999 at 03:42:13PM -0700 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 5 July 1999 at 15:42:13 -0700, Tom Pavel wrote: > >>>>>> On Sat, 3 Jul 1999, Peter Wemm writes: > >> A few key suggestions for people still along for the ride: >> >> 1: When you've got a good running kernel that you're happy with, do yourself >> a big favour and copy it from /kernel to /kernel.ok or something like that. >> So, when you manage to get a bad /kernel and /kernel.old, you've still got >> a fallback that doesn't mean resorting to a fixit disk boot. > > This reminds me of something I wanted to ask about. A little while > back I made the typical junior mistake of building/installing a new > kernel without doing the make install of the related modules. In my > case, the crash came from kernfs and it was easy to boot single-user > and comment out a line in fstab. > > But my question is with the trend towards more module-ization of the > kernel, does saving a /kernel.old make sense without saving a > /modules.old? Should the config-generated Makefile for the kernel > have a target to build and install the new modules as well (as opposed > to installing them with make world)? Should we install modules into > some path identified by a kernel version (whatever that means > exactly)? You've come up with a point I've been wanting to make for some time. The kernel build should really build the modules as well, and the install should change things as you suggest. Of course, that takes up more space, but I believe it's necessary. > I suppose much of this becomes a non-issue outside of -current, Not really. Less of an issue, yes, but it's still there. Greg -- See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message