From owner-freebsd-questions@FreeBSD.ORG Sun Mar 15 17:55:57 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 2BDB1106568B for ; Sun, 15 Mar 2009 17:55:57 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from smtp.owt.com (smtp.owt.com [66.119.213.2]) by mx1.freebsd.org (Postfix) with ESMTP id F418C8FC15 for ; Sun, 15 Mar 2009 17:55:56 +0000 (UTC) (envelope-from kstewart@owt.com) Received: from kstewart2.owt.com (kstewart2.owt.com [64.146.237.228]) (authenticated bits=0) by smtp.owt.com (8.13.8/8.13.8) with ESMTP id n2FHtAHM026470; Sun, 15 Mar 2009 10:55:10 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=owt.com; s=default; t=1237139713; bh=ZtojjoV1KmXIypYeRadt+HDJv8eyhOl7k1767ZCzVjs=; h=From:To:Subject:Date:Cc:References:In-Reply-To:MIME-Version: Content-Type:Content-Transfer-Encoding:Message-Id; b=PARs9jFdKxxOp D+7NrFPa8A33W+gRJ//v/vv31pArgraHxG5SvM+kqVel0AkqBOjI6/UdDXuEDfzgLqQ cY8J93XdN5B7fj2HDqS+97KaHroYXkRhCeWT0NBG01CiDJSQXSZX15xCmZmfZT6E5oE 2X/YHOv6hPAypRpIxyCoJSO8= From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sun, 15 Mar 2009 10:55:09 -0700 User-Agent: KMail/1.9.10 References: <200903141007.n2EA7tO6053641@banyan.cs.ait.ac.th> <200903150831.n2F8VOCW041210@banyan.cs.ait.ac.th> In-Reply-To: <200903150831.n2F8VOCW041210@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903151055.10191.kstewart@owt.com> Cc: Olivier Nicole 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: Sun, 15 Mar 2009 17:55:57 -0000 On Sunday 15 March 2009 01:31:24 am Olivier Nicole wrote: > Hi, > > > I am facing a problem that I cannot solve when trying to reinstall > > wolrd on 6.4 amd 64. > > More about this issue. > > RELEASE_6.4 i386 is imune of this problem. > > I did a make -d A installworld and it seems that it is all about > /usr/obj/usr/src/sys/boot/i386/boot2/machine. > > It's a link to /usr/src/sys/i386/include. This directory is created at > the first installation of FreeBSD. > > When CMOS clock is the wall clock and when one is located ahead of UTC > (Thailand is UTC+7), during the first installation of a distribution, > the machine boots with UTC=CMOS clock, hence creating the directory > hierarchy 7 hours ahead of time. > > The link /usr/obj/usr/src/sys/boot/i386/boot2/machine is created by > make buildworld, after the first boot of the newly installed system, > after the time zone has been set, so it is created with the right > time. > > If one does an installworld between the 7 hours interval, when > installing /usr/src/sys/boot/i386/boot2, it detects that the directory > /usr/src/sys/i386/include pointed by > /usr/obj/usr/src/sys/boot/i386/boot2/machine is newer than the objects > being installed, and it tries to rebuild the object. > > My wild guess is that on i386, make installworld looks at the > modification date of the link > /usr/obj/usr/src/sys/boot/i386/boot2/machine; while on amd64 make > installworld looks at the modification date of the directory > /usr/src/sys/i386/include pointed by the link. Hence the different > behaviour. > > This is annoying for people leaving ahead of UTC, that will install a > new distribution, cvsup the release, build and installworld, during > the interval of 7 hours. I think that users behing UTC will not be > affected. > > What I did is: during the installation of the distrubition I set back > the CMOS clock to UTC time, and when FreeBSD was done installing from > the CD, I reset the CMOS clock to the wall clock. It worked, but it's > not very nice. > What you did is not necessary if you "adjkerntz -i" when you boot to single user mode. > I am curious to have experts opinion on the different behaviour of > make regarding the modification date of the link > /usr/obj/usr/src/sys/boot/i386/boot2/machine. > > Best regards, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -- kent Stewart Richland, WA http://users.owt.com/kstewart/index.html