Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 21:10:45 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        KOT MATPOCKuH <matpockuh@gmail.com>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: FreeBSD/sparc64 on SunFire V215 - clock (?) problem
Message-ID:  <20091018191045.GJ27159@alchemy.franken.de>
In-Reply-To: <3979a4b0910142324s5158a7f9g91ca45298738730c@mail.gmail.com>
References:  <3979a4b0910142324s5158a7f9g91ca45298738730c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 15, 2009 at 10:24:30AM +0400, KOT MATPOCKuH wrote:
> 2009/9/21 Marius Strobl <marius@alchemy.franken.de>:
> 
> >> > Like I said, mainline FreeBSD doesn't support V215 so
> >> > far. If you like you can give the following patch a try:
> >> > http://people.freebsd.org/~marius/fire.diff
> >> > It requires head r197164 or later.
> >> I'm tried to apply this patch, also add "device ofw_console" to kernel
> >> configuration, but system panic after:
> > Please re-fetch fire.diff and try again.
> System works like good. But I have a problem with clock in NVRAM (?).
> The time in NVRAM's clock is not synced after reboot, and time
> difference increases after each system restart.
> 
> For example:
> 14 Oct 18:31:27 ntpdate[963]: step time server 192.168.2.1 offset 343.494018 sec
> 15 Oct 10:22:53 ntpdate[962]: step time server 192.168.2.1 offset 345.509317 sec
> 
> After system boot I have ntpd running and have no problems with clock.
> 

This issue isn't limited to V215 but also happens on some other
machines equipped with LOMs, though I haven't noticed their
clocks to increasingly differ between reboots so far. I think
what's going on is that the RTC is fed with the time from the
LOM during boot, so besides setting the LOM clock correctly
the only thing you can do until FreeBSD gains support for
talking to the various LOMs is to run ntpdate(8) during boot
(you can use ntpdate_enable together with ntpd_enable).

Marius




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