Hi Robert
Bob von Knobloch wrote:
> Erich Titl wrote:
>> Hi Robert
>>
..>>
> Hi Eric,
>
> I am using opentpd (with the '-s' switch) and it does adjust the time on
> boot (an older version on LEAF had this problem, but it got fixed in
> uClibc 3.0 [I think], just not exactly and then spends all it's time
> trying to adjust the last seconds, apparently without any result. As
> above, the log shows that it is trying to adjust, but it doesn't achieve
> anything.
> I don't know the exact mechanism of the clock under LEAF, I suppose it
> is running in memory and only uses the hardware at boot/shutdown ?
> (which, in my case does nothing - no battery). My question is why can it
> perform the initial setting, but cannot later fine adjust ? I don't need
> battery backup and I don't think it would change my problem.
The mechanism is exactly as in any other x86 based hardware, with the
exception of not being persistant across power outage. Please look at
the hwclock command, this is what I see on my WRAP, which uses the
original ntpd stuff, which is a bit bigger, but that does not bother me.
gatekeeper# hwclock ; date;
Wed Feb 10 17:04:04 2010 0.000000 seconds
Wed Feb 10 17:04:03 UTC 2010
so my hwclock runs a bit faster than the system clock, which is kept
updated by ntp, let's just adjust it
gatekeeper# hwclock -w
gatekeeper# hwclock ; date;
Wed Feb 10 17:05:55 2010 0.000000 seconds
Wed Feb 10 17:05:55 UTC 2010
here is the ntp status
gatekeeper# ntpq -np
remote refid st t when poll reach delay offset
jitter
==============================================================================
*195.141.190.190 212.161.179.138 2 u 54 64 37 0.393 -9.413
4.027
cheers
Erich
>
> cheers to you too,
>
> Robert
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> ------------------------------------------------------------------------
> leaf-user mailing list: [email protected]
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/