[ntp:questions] Motorola Oncore Surveyed Position

Miguel Gonçalves mail at miguelgoncalves.com
Tue Sep 6 10:45:16 UTC 2011


Hi all!

I configured a Motorola Oncore UT+ unit on a FreeBSD machine using ntpd
4.2.6p3 (ONCORE and SHHMEM enabled during configuration). If any Oncore user
could help me I would appreciate.

I am running with the following ntp.oncore.0 file

oncore# cat /etc/ntp.oncore.0
MODE 2
SHMEM /etc/oncore.0
TRAIM YES
DELAY 25 NS
CLEAR
MASK 0

and ntp.conf

server 127.127.30.0

server ntp02.oal.ul.pt iburst noselect
server ntp04.oal.ul.pt iburst noselect

server router7.lisboa.fccn.pt iburst noselect
server router15.porto.fccn.pt iburst noselect

statistics loopstats
statsdir /var/log/ntp/
filegen peerstats file peers type day link enable
filegen loopstats file loops type day link enable
filegen clockstats file clocks type day link enable

Here's the startup information (from /var/log/ntp/clocks)

55810 28040.976 127.127.30.0 ONCORE[0]: ONCORE DRIVER -- CONFIGURING
55810 28040.976 127.127.30.0 ONCORE[0]: state = ONCORE_NO_IDEA
55810 28040.977 127.127.30.0 ONCORE[0]: ONCORE: incomplete data on
/etc/ntp.oncore.0
55810 28040.977 127.127.30.0 ONCORE[0]: Input mode = 2
55810 28040.977 127.127.30.0 ONCORE[0]: Initializing timing to Clear.
55810 28040.978 127.127.30.0 ONCORE[0]: SHMEM (size = 3628) is CONFIGURED
and available as /etc/oncore.0
55810 28040.978 127.127.30.0 ONCORE[0]: state = ONCORE_CHECK_ID
55810 28041.619 127.127.30.0 ONCORE[0]: @@Cj
55810 28041.619 127.127.30.0 ONCORE[0]: COPYRIGHT 1991-1997 MOTOROLA INC.
55810 28041.619 127.127.30.0 ONCORE[0]: SFTW P/N #     98-P36848P
55810 28041.619 127.127.30.0 ONCORE[0]: SOFTWARE VER # 2
55810 28041.619 127.127.30.0 ONCORE[0]: SOFTWARE REV # 2
55810 28041.620 127.127.30.0 ONCORE[0]: SOFTWARE DATE  APR 24 1998
55810 28041.620 127.127.30.0 ONCORE[0]: MODEL #    R5122U1152
55810 28041.620 127.127.30.0 ONCORE[0]: HWDR P/N # 5
55810 28041.620 127.127.30.0 ONCORE[0]: SERIAL #   R08OTB
55810 28041.620 127.127.30.0 ONCORE[0]: MANUFACTUR DATE 0F10
55810 28041.620 127.127.30.0 ONCORE[0]:
55810 28041.620 127.127.30.0 ONCORE[0]: This looks like an Oncore UT with
version 2.2 firmware.
55810 28041.620 127.127.30.0 ONCORE[0]: Channels = 8, TRAIM = ON
55810 28041.620 127.127.30.0 ONCORE[0]: state = ONCORE_CHECK_CHAN
55810 28046.165 127.127.30.0 ONCORE[0]: Input   says chan = -1
55810 28046.165 127.127.30.0 ONCORE[0]: Model # says chan = 8
55810 28046.165 127.127.30.0 ONCORE[0]: Testing says chan = 8
55810 28046.165 127.127.30.0 ONCORE[0]: Using        chan = 8
55810 28046.165 127.127.30.0 ONCORE[0]: state = ONCORE_HAVE_CHAN
55810 28047.617 127.127.30.0 ONCORE[0]: state = ONCORE_TEST_SENT
55810 28055.640 127.127.30.0 ONCORE[0]: GPS antenna: OK
55810 28055.640 127.127.30.0 ONCORE[0]: state = ONCORE_INIT
55810 28057.973 127.127.30.0 ONCORE[0]: Oncore: Resend @@Cj
55810 28058.553 127.127.30.0 ONCORE[0]: state = ONCORE_ALMANAC
55810 28061.039 127.127.30.0 ONCORE[0]: Cable delay is set to 25 ns
55810 28061.042 127.127.30.0 ONCORE[0]: Satellite mask angle set to 0
degrees
55810 28062.965 127.127.30.0 ONCORE[0]: Have now loaded an ALMANAC
55810 28062.965 127.127.30.0 ONCORE[0]: state = ONCORE_RUN
55810 28062.965 127.127.30.0 ONCORE[0]: SSstate = ONCORE_SS_TESTING
55810 28063.039 127.127.30.0 ONCORE[0]: ONCORE: Detected TRAIM, TRAIM = ON
55810 28063.039 127.127.30.0 ONCORE[0]: Input   says TRAIM = 1
55810 28063.039 127.127.30.0 ONCORE[0]: Model # says TRAIM = 1
55810 28063.039 127.127.30.0 ONCORE[0]: Testing says TRAIM = 1
55810 28063.039 127.127.30.0 ONCORE[0]: Using        TRAIM = 1
55810 28064.065 127.127.30.0 ONCORE[0]: Initiating hardware 3D site survey
55810 28064.065 127.127.30.0 ONCORE[0]: SSstate = ONCORE_SS_HW
55810 28064.072 127.127.30.0 ONCORE[0]: PPS Offset is set to 0 ns
55810 28064.099 127.127.30.0 ONCORE[0]: Satellite mask angle is 0 degrees
55810 28088.234 127.127.30.0 3524284088.000133044 2011 249  7 48  8  8
rstat   10 dop  4.4 nsat 10,4 traim 1,0,1 sigma 63 neg-sawtooth  18 sat
00850808
55810 28089.247 127.127.30.0 3524284089.000129588 2011 249  7 48  9  9
rstat   10 dop  4.4 nsat 10,4 traim 1,0,1 sigma 63 neg-sawtooth -20 sat
00850808
55810 28090.234 127.127.30.0 3524284090.000121930 2011 249  7 48 10 10
rstat   10 dop  4.4 nsat 10,4 traim 1,0,1 sigma 63 neg-sawtooth -37 sat
00550808
55810 28091.233 127.127.30.0 3524284091.000120534 2011 249  7 48 11 11
rstat   10 dop  4.4 nsat 10,4 traim 1,0,1 sigma 63 neg-sawtooth  49 sat
00550808

My questions

1. I thought that I would only get fixes after survey is done? The Oncore is
surveying but it's passing clock information to ntp. Is this right?

2. When surveying finishes (ONCORE_SS_DONE) where can I get the surveyed
position to save it to /etc/ntp.oncore.0? What is the best procedure? I
don't want to survey every time I power up the unit... (the unit has no
backup power)

3. At the moment, the unit is still disciplining my local clock

oncore# ntpq -p -c rv -c as
assID=0 status=0415 leap_none, sync_uhf_clock, 1 event, event_clock_reset,
version="ntpd 4.2.6p3 at 1.2290-o Fri Sep  2 18:01:50 UTC 2011 (1)",
processor="i386", system="FreeBSD/7.4-RELEASE-p2", leap=00, stratum=1,
precision=-20, rootdelay=0.000, rootdisp=0.321, refid=GPS,
reftime=d210780a.3b95ff4a  Tue, Sep  6 2011 10:44:26.232,
clock=d210780b.0616f2be  Tue, Sep  6 2011 10:44:27.023, peer=6850, tc=4,
mintc=3, offset=0.072, frequency=-28.078, sys_jitter=0.002,
clk_jitter=0.001, clk_wander=0.001

ind assID status  conf reach auth condition  last_event cnt
===========================================================
  1  6850  973a   yes   yes  none  pps.peer              3
  2  6851  9024   yes   yes  none    reject   reachable  2
  3  6852  9024   yes   yes  none    reject   reachable  2
  4  6853  9024   yes   yes  none    reject   reachable  2
  5  6854  9024   yes   yes  none    reject   reachable  2
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
oGPS_ONCORE(0)   .GPS.            0 l    1   16  377    0.000    0.072
0.002
 ntp02.oal.ul.pt 194.117.9.129    2 u   37   64  377   10.639    1.352
0.157
 ntp04.oal.ul.pt 194.117.9.138    2 u   24   64  377   10.274    2.072
0.150
 Router7.Lisboa. 193.136.250.246  2 u   50   64  377    8.157    0.617
0.336
 Router15.Porto. 193.136.250.246  2 u   39   64  377   12.748    0.876
0.130

Is this a good result?

If anyone could help me I would really appreciate.

Thanks!

Cheers,
Miguel



More information about the questions mailing list