From owner-freebsd-stable Thu Oct 3 9: 7:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D74E137B404 for ; Thu, 3 Oct 2002 09:07:26 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id B93D443E6A for ; Thu, 3 Oct 2002 09:07:22 -0700 (PDT) (envelope-from bmah@employees.org) Received: from bmah.dyndns.org ([12.233.149.189]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20021003160721.RMOW6431.sccrmhc01.attbi.com@bmah.dyndns.org>; Thu, 3 Oct 2002 16:07:21 +0000 Received: from intruder.bmah.org (localhost [IPv6:::1]) by bmah.dyndns.org (8.12.6/8.12.6) with ESMTP id g93G7L3e019288; Thu, 3 Oct 2002 09:07:21 -0700 (PDT) (envelope-from bmah@intruder.bmah.org) Received: (from bmah@localhost) by intruder.bmah.org (8.12.6/8.12.6/Submit) id g93G7KX2019287; Thu, 3 Oct 2002 09:07:20 -0700 (PDT) Message-Id: <200210031607.g93G7KX2019287@intruder.bmah.org> X-Mailer: exmh version 2.5+ 20020729 with nmh-1.0.4 To: Jeff Love Cc: Kevin Oberman , freebsd-stable@FreeBSD.ORG Subject: Re: 4.4->RELENG_4 error when running make... In-Reply-To: <3D9B9411.2090606@burghcom.com> References: <20021002203011.C7EA55D08@ptavv.es.net> <3D9B9411.2090606@burghcom.com> Comments: In-reply-to Jeff Love message dated "Wed, 02 Oct 2002 20:49:21 -0400." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-934826336P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 03 Oct 2002 09:07:20 -0700 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 --==_Exmh_-934826336P Content-Type: text/plain; charset=us-ascii If memory serves me right, Jeff Love wrote: > >Of course, if you installed the new system before building the new > >kernel, you would not have hit this problem, but you are living > >dangerously when you install the new world and try to run with the old > >kernel. > > > That is exactly how I've been doing it for years. 'cd /usr/src', 'make > buildworld', 'make installworld', 'cd sys/i386/conf', 'rm -rf > ../../compile/mykernel', 'config mykernel', 'cd ../../compile/mykernel', > 'make depend', 'make', 'make install', do manual merge, reboot. > > This has never failed, except when I've used mergemaster, which can make > a mess of things easily. > How would this method differ from using 'make buildkernel > KERNCONF=/usr/src/sys/i386/conf/mykernel' and 'make installkernel > KERNCONF=/usr/src/sys/i386/conf/mykernel' ? Both methods install the new > kernel on a running machine. "make buildkernel" uses the compiler toolchain that was compiled by a previous "make buildworld". "config / make depend / make" uses the the toolchain that is currently installed on the running system. If you're updating across certain types of changes to the toolchain, you need to use the buildkernel target. You'll probably ask, "Why can't I do buildworld / installworld / config?" In a lot of instances you can, *except* when the userland depends on features of the new kernel. People get bit there too. As has been pointed out ad nauseum on this list, in many cases you can get away various short-cuts. But if you run into problems, the first thing that a lot of people (including myself) will say is "go follow the instructions in src/UPDATING". These instructions were written by people who understand all the bizarre edge cases that can happen during upgrading. Bruce. --==_Exmh_-934826336P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) Comment: Exmh version 2.5+ 20020506 iD8DBQE9nGs42MoxcVugUsMRAqwHAKC98CuMZsBqBm+iVbHKLWb0Pj94wACfXYvV qpuR7vxDBpJtPpCjQmVFrmE= =hhTx -----END PGP SIGNATURE----- --==_Exmh_-934826336P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message