From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 8 10:40:00 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21BFB16A4CE for ; Mon, 8 Dec 2003 10:40:00 -0800 (PST) Received: from smtp3.server.rpi.edu (smtp3.server.rpi.edu [128.113.2.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6625B43F93 for ; Mon, 8 Dec 2003 10:39:58 -0800 (PST) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp3.server.rpi.edu (8.12.10/8.12.9) with ESMTP id hB8IdvYR004471; Mon, 8 Dec 2003 13:39:57 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20031208174126.GJ82104@sentex.net> References: <20031206074503.GA73696@siue.dnsalias.net> <20031208174126.GJ82104@sentex.net> Date: Mon, 8 Dec 2003 13:39:56 -0500 To: Damian Gerow , freebsd-hackers@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: FBSD 5-CURRENT: Kernel Makefile.inc1 Error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2003 18:40:00 -0000 At 12:41 PM -0500 12/8/03, Damian Gerow wrote: >Thus spake Garance A Drosihn (drosih@rpi.edu) [06/12/03 03:31]: >> From the above description, it sounds like you are running >> on a 5.1 system, and you are trying to compile a 5.2 kernel. >> Is this true? >> >> If the system you are on is 5.1, then you are going to have >> to do a 'make buildworld' of the 5.2-source before you can >> do a 'make buildkernel' of a 5.2 kernel. > >It's not clear from what you're saying, but will this cause >problems with the statfs stuff? I've been under the impression >that a 5.1->5.2 upgrade requires me to build and boot a new >kernel before I can install a new world -- it's not clear if >you're saying I need to build /and install/ a new world >before building a kernel, or if I just need to build world... My comments were not trying to cover the installation steps. All I said was that you have to do a BUILDworld before you do a BUILDkernel, because it sounded to me like you might have been building a 5.2 kernel without doing any matching buildworld. You can get through the statfs changes by following the standard recommended build&install order. The standard recommended order is: make buildworld make buildkernel make installkernel mergemaster -p make installworld mergemaster Many developers have gotten away with shortening this list, or with an alternate order. For the statfs change, it is particularly important that the proper order be followed. For this change, you really need to do that installkernel and *reboot* before doing the installworld. Oh, and due to a small-but-significant bug in one of the makefiles, you would be well advised to make sure that you do not set the 'DISTDIR' variable. You might have that set in /etc/make.conf, expecting it to be used by the *ports* collection. Right now there is a problem where it is also checked during installworld, and the makefile will not do the right thing if that is set. We hope to have that sorted out very soon... -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu