From owner-freebsd-stable Wed Aug 7 8:39:14 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 90EB137B400 for ; Wed, 7 Aug 2002 08:39:10 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA5F743E70 for ; Wed, 7 Aug 2002 08:39:04 -0700 (PDT) (envelope-from davep@meduseld.net) Received: from baloo.meduseld.net ([66.30.120.53]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020807153904.QIHM23732.sccrmhc01.attbi.com@baloo.meduseld.net> for ; Wed, 7 Aug 2002 15:39:04 +0000 Received: from localhost (localhost [127.0.0.1]) by baloo.meduseld.net (8.12.3/8.12.3) with ESMTP id g77FdAbZ008888 for ; Wed, 7 Aug 2002 11:39:11 -0400 (EDT) (envelope-from davep@meduseld.net) Date: Wed, 07 Aug 2002 11:39:10 -0400 (EDT) Message-Id: <20020807.113910.607952342.davep@meduseld.net> To: freebsd-stable@FreeBSD.ORG Subject: Re: make buildworld From: "David A. Panariti" In-Reply-To: <20020807150633.GB36526@sunbay.com> References: <20020807141934.23707.qmail@ns1.onie.yi.org> <20020807104347.F20616-100000@topperwein.dyndns.org> <20020807150633.GB36526@sunbay.com> X-Attribution: davep X-Mailer: Mew version 2.2 on XEmacs 21.4.8 (Honest Recruiter) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 >>>>> "Ruslan" == Ruslan Ermilov writes: Ruslan> On Wed, Aug 07, 2002 at 10:46:45AM -0400, Chris BeHanna Ruslan> wrote: >> On Wed, 7 Aug 2002, Ronneil Camara wrote: >> >> > All I can say is that I just normally execute those commands >> > as what I have been doing a long time ago. >> > >> > vi stable-supfile >> > cvsup -g -L2 stable-supfile >> > cd /usr/src >> > make buildworld >> > make installworld >> >> This is not right. Here's what you should be doing: >> >> vi stable-supfile cvsup -g -L2 stable-supfile >> cd /usr/src >> make buildworld >> make buildkernel KERNCONF= >> make installkernel >> shutdown -r now >> # (make sure the system comes up) >> shutdown -r now >> # (come up in single-user mode this time) >> make installworld >> mergemaster >> shutdown -r now >> # (come up normally this time) >> >> These steps have been documented in /usr/src/UPDATING since 4.0. >> This is the only supported procedure for upgrading your system >> from source. >> Ruslan> ... that is _guaranteed_ to work (modulo the ``mergemaster Ruslan> -p'' step). At different times, a simple "make world Ruslan> kernel" may work, but it is not guaranteed to. To be pedantic, this is *NOT* what is in /usr/src/UPDATING, at least in mine. Here is what I have in /usr/src/UPDATING: make buildworld make buildkernel KERNCONF=YOUR_KERNEL_HERE make installkernel KERNCONF=YOUR_KERNEL_HERE reboot (in single user) make installworld mergemaster reboot The boot to multiuser >> shutdown -r now >> # (make sure the system comes up) is not in the documented sequence and may result in problems with daemons started by /etc/rc that are out of sync with the new kernel. In practice, I'm sure it rarely will cause a problem, but I don't see any advantage to doing the multiuser boot. And, since it may fail or have problems only due to kernel/world sync issues (which the installworld will fix) it may imply a problem that doesn't really exist. davep -- Of course, that's just my opinion. I could be wrong. -- Dennis Miller To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message