From owner-freebsd-questions@FreeBSD.ORG Tue Mar 17 12:42:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F9BA1065670 for ; Tue, 17 Mar 2009 12:42:23 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [220.233.188.227]) by mx1.freebsd.org (Postfix) with ESMTP id 92A0B8FC08 for ; Tue, 17 Mar 2009 12:42:22 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id n2HCflRa056105; Tue, 17 Mar 2009 23:41:47 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 17 Mar 2009 23:41:47 +1100 (EST) From: Ian Smith To: Olivier Nicole In-Reply-To: <20090317103140.8F61510656E8@hub.freebsd.org> Message-ID: <20090317225130.K95588@sola.nimnet.asn.au> References: <20090317103140.8F61510656E8@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: make installworld fails on RELEASE6.4 amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 12:42:23 -0000 On Tue, 17 Mar 2009 13:05:17 +0700 (ICT) Olivier Nicole wrote: > > > I am facing a problem that I cannot solve when trying to reinstall > > > wolrd on 6.4 amd 64. > > More about this issue. > > Regarding adjkerntz -i. > > Places that are ahead of UTC don't need to do the adjkerntz -i after > rebooting in single user. That's certainly not my experiance here (UTC+11 currently). That got well burnt into my brain after y2k with FreeBSD 2.2.6, having to patch /etc/rc (on advice) to deal with a BIOS that thought 2000 was 1994 :) > Suppose you are in a time zone at UTC +7. > > Boot in multiuser: > > Wall clock=7:00 > CMOS clock=7:00 > TZ time= 7:00 > UTC= 0:00 Right. It appears that /etc/wall_cmos_clock exists there, yes? > >From 7:00 to 7:30 you build world, file created will have a creation > date of 0:00 to 0:30 UTC. Well yes as UTC, but with wall_cmos_clock everything will show these files as local time (07:xx), just as any other files created multiuser. > Reboot in single user: > > Wall clock=7:30 > CMOS clock=7:30 > UTC= 7:30 (no adjkerntz) That's exactly WHY you want to run adjkerntz -i then, before anything that creates files is run, ie mergemaster, installworld .. but it only makes any difference if /etc/wall_cmos_clock does exist then of course. So if you'd run adjkerntz -i, times would show the same as in multiuser. > Make install world, the install will be done with a UTC at 7:30, that > is after the build time of 0:00 to 0:30. > > Reboot in multiuser: > > Wall clock=7:45 > CMOS clock=7:45 > TZ time= 7:45 > UTC= 0:45 > > Now if you look at the newly installed world, it will be in the > future, ahead by 7 hours: a file installed at 7:35 will be listed with > a time of 14:35. That is odd, but it works. Sorta works, if you don't mind file (and log) timestamps not reflecting reality. I'm fussy about chronology. And then there's that 7 hour wait until those files become dated in the past, and so can be 'updated'. > Hence country ahead of UTC don't need adjkerntz -i Sorry, but this demonstrates exactly why you DO need to run that when (ever) working single user, if you want file/log datestamps consistent. I can't comment on i386/amd64 differences, but it's necessary on i386. cheers, Ian