From owner-freebsd-stable Wed Aug 7 10:44:44 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 9833B37B400; Wed, 7 Aug 2002 10:44:39 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C890443E86; Wed, 7 Aug 2002 10:44:38 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA09463; Wed, 7 Aug 2002 10:44:37 -0700 Message-ID: <3D515C84.7040307@owt.com> Date: Wed, 07 Aug 2002 10:44:36 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Ruslan Ermilov Cc: "Crist J. Clark" , FreeBSD-Stable , neil@restricted.dyndns.org Subject: Re: make buildworld References: <20020807141934.23707.qmail@ns1.onie.yi.org> <20020807104347.F20616-100000@topperwein.dyndns.org> <20020807150633.GB36526@sunbay.com> <3D51501E.2030202@owt.com> <20020807170039.GA44474@sunbay.com> <20020807172641.GA71991@blossom.cjclark.org> <20020807173326.GA51278@sunbay.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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 Ermilov wrote: > On Wed, Aug 07, 2002 at 10:26:41AM -0700, Crist J. Clark wrote: > >>On Wed, Aug 07, 2002 at 08:00:39PM +0300, Ruslan Ermilov wrote: >> >>>On Wed, Aug 07, 2002 at 09:51:42AM -0700, Kent Stewart wrote: >>> >>>> >>>>Ruslan Ermilov wrote: >>>> >>>> >>>>>On Wed, Aug 07, 2002 at 10:46:45AM -0400, Chris BeHanna 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. >>>>>> >>>>>> >>>>>> >>>>>... that is _guaranteed_ to work (modulo the ``mergemaster -p'' step). >>>>>At different times, a simple "make world kernel" may work, but it is >>>>>not guaranteed to. >>>>> >>>> >>>>Ruslan, >>>> >>>>Did you look at Ronneil's installworld log >>>>(http://restricted.dyndns.org/error.txt). >>>> >>>> >>>Nope, ENOTIME. >>> >>> >>>>Why would it be trying to create osreldate.h during the install. Could >>>>make think it is old because of system time or something? >>>> >>>> >>>The usual roots of this problem are: >>> >>>- system date/time is set incorrectly >>> >>> Fix: consult with date(1) >>> >>Also, if you reboot straight into single-user mode, you won't have >>adjkerntz(8) running. If your CMOS clock is not running on UTC, >>manually start adjkerntz(8). Or else you may have temporal >>chaos. >> > Yep, I should have said: "compare date(1) with watches". The other thing is it should be part of the single user boot sequence in /usr/src/UPDATING. I think it is something most of us do. I am in PST/PDT and my system time can be really off if I didn't use "adjkerntz -i" everytime I boot to single user mode. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message