From owner-freebsd-stable Wed Dec 26 11:29:28 2001 Delivered-To: freebsd-stable@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 8DE4637B419 for ; Wed, 26 Dec 2001 11:29:24 -0800 (PST) Received: from dialup-209.244.107.61.dial1.sanjose1.level3.net ([209.244.107.61] helo=blossom.cjclark.org) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16JJjv-0007Uf-00; Wed, 26 Dec 2001 11:29:23 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fBQJTKM02621; Wed, 26 Dec 2001 11:29:20 -0800 (PST) (envelope-from cjc) Date: Wed, 26 Dec 2001 11:29:16 -0800 From: "Crist J . Clark" To: Brian Behlendorf Cc: stable@FreeBSD.ORG Subject: Re: make buildkernel fails on behalf of config version Message-ID: <20011226112916.C2090@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011225153309.C136@gohan.cjclark.org> <20011226105454.Y92442-100000@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011226105454.Y92442-100000@localhost>; from brian@hyperreal.org on Wed, Dec 26, 2001 at 11:03:54AM -0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 26, 2001 at 11:03:54AM -0800, Brian Behlendorf wrote: > On Tue, 25 Dec 2001, Crist J. Clark wrote: > > It is true. Don't run a kernel and world that were not built with > > the same set of source code. > > *shrug* OK. I guess somewhere along the way I picked up that it was > possible by design and intent (and thanks to some serious effort) to > upgrade from sources and install a new kernel without having to upgrade > world. It's never caused me a problem, and I had assumed that kernel API > changes relevant to userland were documented in UPDATING since I saw some > messages like that there, e.g., 20010814. Nope, minor tweaks are made all of the time. Besides the 20011102 entry, there have been frequent changes to ipfw(8) that require world and kernel to be in sync. > It's an awfully useful > convention, since it takes a lot longer to compile world than the kernel, > and if one runs a fairly locked-down site with just a few services > exposed, A system like this should only be updated when it essential. SAs usually contain explicit directions on how to fix those kinds of issues. I don't really see many circumstances where it one would be wanting to make a kernel from newer source, but would not also want to update world. If you want to change the kernel configuration, use the same source the world was built with instead of newer source. > I do wonder why, if one should never build them > separately, they are separate make targets in the upgrade docs? You do not always need to rebuild world when you modify your kernel. As I said above, you only need to concern yourself with syncing world and kernel when you update the source code. -- "It's always funny until someone gets hurt. Then it's hilarious." Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message