From owner-freebsd-questions@FreeBSD.ORG Mon Nov 15 09:15:16 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 E884C16A4D1 for ; Mon, 15 Nov 2004 09:15:16 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BC4B43D45 for ; Mon, 15 Nov 2004 09:15:16 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id iAF9H4ck071347 for ; Mon, 15 Nov 2004 10:17:04 +0100 (CET) (envelope-from bulk@ei.bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id iAF9H4wV071346 for freebsd-questions@freebsd.org; Mon, 15 Nov 2004 10:17:04 +0100 (CET) (envelope-from bulk@ei.bzerk.org) Resent-From: Ruben de Groot Resent-Message-Id: <200411150917.iAF9H4wV071346@ei.bzerk.org> Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.13.1/8.13.1) with ESMTP id iAF8hRUD070949; Mon, 15 Nov 2004 09:43:27 +0100 (CET) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.13.1/8.13.1/Submit) id iAF8hQpM070948; Mon, 15 Nov 2004 09:43:26 +0100 (CET) (envelope-from mail25@bzerk.org) Date: Mon, 15 Nov 2004 09:43:26 +0100 From: Ruben de Groot To: Subhro Message-ID: <20041115084326.GA70816@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Subhro , 'Gert Cuykens' , freebsd-questions@freebsd.org References: <20041114135721.GA2501@ei.bzerk.org> <41978d7c.751bdeae.269c.0003@smtp.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41978d7c.751bdeae.269c.0003@smtp.gmail.com> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, score=-2.3 required=5.0 tests=ALL_TRUSTED, FROM_ENDS_IN_NUMS autolearn=failed version=3.0.0 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ei.bzerk.org Resent-Date: Mon, 15 Nov 2004 10:17:04 +0100 Resent-To: freebsd-questions@freebsd.org cc: 'Ruben de Groot' cc: 'Gert Cuykens' cc: freebsd-questions@freebsd.org Subject: Re: upgrade 5.3b7 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2004 09:15:17 -0000 On Sun, Nov 14, 2004 at 10:22:58PM +0530, Subhro typed: >> >> >> Read /usr/src/UPDATING >> >> > If i do make installkernel and reboot without make installworld. The >> > old kernel will be loaded right ? >> >> Wrong. The new kernel will be loaded with the old world, which is >> generally not a problem. You can then do an installworld and >> mergemaster. > > This is a generalized statement. I would just add the word "Generally" > before the previous quote of Ruben. However refer to /usr/src/UPDATING. The > information there always overrides the handbook. For example, updating from > 5.2.1 (or lower) to 5.3 first calls for an installworld before the kernel > can be built. Trying to rebuild the kernel with buildkernel in an old world > would surely fail. These kind of deviations are seen with major changes to > the source tree, in this case it's the system compiler upgrade. It's never a good idea to do an installworld before building (and installing) the new kernel. Don't do this. I think you are referring to the 20040728 entry in UPDATING, which reads: With the upgrade of the system compiler, the kernel has been upgraded to match the new system compiler. This makes it impossible to build a new kernel with the old compiler. Upgrade your system via make buildworld and make kernel (see below) to fix this problem. This clearly states that you *can* build the kernel *after* you do a make buildworld. It does *not* say you have to do an installworld. Ruben