Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Aug 2002 10:44:36 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        "Crist J. Clark" <cjc@FreeBSD.ORG>, FreeBSD-Stable <stable@FreeBSD.ORG>, neil@restricted.dyndns.org
Subject:   Re: make buildworld
Message-ID:  <3D515C84.7040307@owt.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help


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=<your kernel name here>
>>>>>>       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 <cliche>temporal
>>chaos.</cliche>
>>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D515C84.7040307>