[ntp:hackers] Problems with Oncore???

Terje Mathisen terje.mathisen at hda.hydro.com
Wed Jun 1 13:23:50 PDT 2005


jhay at icomtek.csir.co.za wrote:
>>I tried your patch, and I seem to get different results!?!
> 
> Well I can't explain it. I just checked my ntp-dev directory and that
> is the only patch I have in there at the moment. My Oncore is pretty
> old though, so I wouldn't know if newer firmware changed some of the
> sentences.
> 
> 
>>Could the expected message length in the driver be wrong, or could some
>>bytes be suppressed by your patch?
> 
> 
> Well my patch should just make it not change cr->lf. Pretty much as
> it was before rev 1.60. ... Or that was my intension. :-)
> 
> 
>>The 012 012 combinations did go away though!
> 
> 
> Some progress at least.

More progress!

After several hours (almost as if it did a site survey?) it started working!

It is taking a very long time to get down to single us values, but it
seems to be getting there:

nontp1 is the new server, ntp9 is the old, with two clocks:

nontp1# ntpq -c rv -p
assID=0 status=0464 leap_none, sync_uhf_clock, 6 events,
event_peer/strat_chg,
version="ntpd 4.2.0a at 1.1354-o Tue May 10 12:18:32 UTC 2005 (1)"?,
processor="i386", system="FreeBSD/5.4-RELEASE", leap=00, stratum=1,
precision=-18, rootdelay=0.000, rootdispersion=0.357, peer=53676,
refid=GPS, reftime=c64896a1.4979dd48  Wed, Jun  1 2005 22:18:41.287,
poll=4, clock=0xc64896a5.19428ab6, state=4, offset=-0.029,
frequency=15.623, jitter=0.004, noise=0.000, stability=0.000
     remote   refid      st t when poll reach   delay   offset  jitter
=====================================================================
*GPS_ONCORE(0)   .GPS.   0 l    4   16  377    0.000   -0.029   0.004
+ntp9.hda.hydro. .GPS.   1 u    5   16  377    0.354   -0.019   0.026


nontp1# ntpq -c rv -p ntp9
assID=0 status=0464 leap_none, sync_uhf_clock, 6 events,
event_peer/strat_chg,
version="ntpd 4.2.0 at 1.1161-r Thu Dec 16 13:30:37 UTC 2004 (1)"?,
processor="i386", system="FreeBSD/5.3-RELEASE", leap=00, stratum=1,
precision=-19, rootdelay=0.000, rootdispersion=0.633, peer=52725,
refid=GPS, reftime=c64896ca.32f60f32  Wed, Jun  1 2005 22:19:22.199,
poll=4, clock=0xc64896d4.6a9c8020, state=4, offset=0.002,
frequency=14.333, jitter=0.002, stability=0.000
     remote   refid      st t when poll reach   delay   offset  jitter
====================================================================
+ntp0.hda.hydro. .GPS.   1 u   37   64  377    0.504   -0.014   0.026
*GPS_ONCORE(0)   .GPS.   0 l   10   16  377    0.000    0.002   0.002
+GPS_ONCORE(1)   .GPS.   0 l    9   16  377    0.000    0.001   0.002

<BG>

Terje
-- 
- <Terje.Mathisen at hda.hydro.com>
"almost all programming can be viewed as an exercise in caching"



More information about the hackers mailing list