Port-arm archive   Re: TS-7200: time sync issues  >: I'm sorry
if this wasn't clear ... but the problem seems to be within >:
the settimeofday() (or perhaps clock_settime()) function.  Once
ntpd >: gets "lucky" and gets the clock within 128ms, it's
happy.  Right now >: my TS-7200 box has been up for over a day
without any time steps, and >: ntptime shows a frequency of -51
ppm. >Why must this be the case? ntpd doesn't even use these
functions.  Respectfully ... you are wrong (about ntpd not using
these functions).  When the time is stepped, ntpd calls
step_systime().  step_systime() calls ntp_set_tod().
ntp_set_tod() calls clock_settime() or settimeofday(). I am of
course speaking about the ntpd that ships with NetBSD.  >You'd
get the same problem if your frequency was wrong, or if you were
>missing clock interrupts so that time would run slow.  Yeah
.... but that still doesn't explain why it syncs up fine once it
gets within the offset threshold for frequency adjustment.
>What happens if you do two ntpdate