make installworld fails on RELEASE6.4 amd64

Kent Stewart kstewart at
Sun Mar 15 10:55:57 PDT 2009

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 at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

kent Stewart
Richland, WA

More information about the freebsd-questions mailing list