From owner-freebsd-questions@FreeBSD.ORG Sat Feb 21 09:23:31 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1825816A4CE for ; Sat, 21 Feb 2004 09:23:31 -0800 (PST) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 002F543D1F for ; Sat, 21 Feb 2004 09:23:30 -0800 (PST) (envelope-from hawkeyd@visi.com) Received: from sheol.localdomain (hawkeyd-fw.dsl.visi.com [208.42.101.193]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id EC8BB8139; Sat, 21 Feb 2004 11:23:29 -0600 (CST) Received: (from hawkeyd@localhost) by sheol.localdomain (8.11.6p2/8.11.6) id i1LHNTF22779; Sat, 21 Feb 2004 11:23:29 -0600 (CST) (envelope-from hawkeyd) X-Spam-Policy: http://www.visi.com/~hawkeyd/index.html#mail Date: Sat, 21 Feb 2004 11:23:28 -0600 From: D J Hawkey Jr To: Gabriel Ambuehl Message-ID: <20040221172328.GA22671@sheol.localdomain> References: <20040221160709.GA22447@sheol.localdomain> <1455334090.20040221175633@buz.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1455334090.20040221175633@buz.ch> User-Agent: Mutt/1.4.1i cc: questions at FreeBSD Subject: Re: Clarification needed on Handbook: Tracking for Multiple Machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hawkeyd@visi.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Feb 2004 17:23:31 -0000 On Feb 21, at 05:56 PM, Gabriel Ambuehl wrote: > > DJHJ> Second, two machines are of the same architecture, but they have different > DJHJ> CPUs: One is an Intel PIII, but the other is a PII. Will the world built > DJHJ> on a PIII be correct for a PII? Similarly, will the kernel for the PII > DJHJ> built on a PIII be correct for the PII, given the different variables and > DJHJ> settings in the two kernel configuration files? > > Just make sure you build for 686. If that doesn't work, make it 586 (I > think the PI qualifies as 686 but I'm not entirely sure). I think the extensions such as > SSE etc are detected dynamically and shouldn't cause any problem. > In all my years of messing with builds, I never run into this problem, > so I guess it's pretty safe. Yes, both [my] machines define I686_CPU. "Dynamically", as in "at runtime"? I think you're right, but I don't know for certain, either. This is exactly what I'm wondering about; the PII has only MMX, for instance, while the PIII has SSE and MMX2. I assume the world's codebase is CPU-agnostic within an architecture, but I really don't want to assume this; I'd rather know this. > DJHJ> Finally, after briefly following the makefile chain, it looks as though > DJHJ> what is written for -CURRENT is backward-compatible to 4.5-RELEASE? > > I don't think it is. 4.5 is OLD. You might not even find 4.9 to be > backwards compatible to 4.5, much less CURRENT. Yes, 4.5-REL is old, but I have too much vested in my 4.5-REL systems to jump anytime soon. I have been maintaining my 4.5-REL systems WRT post-4.5 security updates (right up to SA-04:02), and for what these machines are and what they do, 4.5-REL is perfectly suitable. > DJHJ> /etc/defaults/make.conf doesn't mention KERNCONF; /usr/src/Makefile.inc1 > DJHJ> does. Since /usr/share/mk/sys.mk sucks in /etc/make.conf, that should > DJHJ> propogate KERNCONF to /usr/src/Makefile, right? > > You can also > just supply it on the command line when doing your make runs. Yes, but this means individual commands for each machine's kernel, as opposed to one command for all machines (think "issue command and go to bed", or even an `at` command). Are you stating definitively that what I saw in the makefile chain isn't what is really there? Dave -- ______________________ ______________________ \__________________ \ D. J. HAWKEY JR. / __________________/ \________________/\ hawkeyd@visi.com /\________________/ http://www.visi.com/~hawkeyd/