[ntp:questions] Oncore driver hangs

Miguel Gonçalves mail at miguelgoncalves.com
Mon Oct 3 21:50:29 UTC 2011


Hi there!

I am running a FreeBSD machine with a Oncore UT+ receiver.

At the moment the NTP Oncore driver is hanging here

oncore# tail -f /var/log/ntp/clocks
55837 78346.503 127.127.30.0 ONCORE[0]: state = ONCORE_CHECK_CHAN
55837 78350.990 127.127.30.0 ONCORE[0]: Input   says chan = -1
55837 78350.990 127.127.30.0 ONCORE[0]: Model # says chan = 8
55837 78350.990 127.127.30.0 ONCORE[0]: Testing says chan = 8
55837 78350.990 127.127.30.0 ONCORE[0]: Using        chan = 8
55837 78350.990 127.127.30.0 ONCORE[0]: state = ONCORE_HAVE_CHAN
55837 78352.463 127.127.30.0 ONCORE[0]: state = ONCORE_TEST_SENT
55837 78361.539 127.127.30.0 ONCORE[0]: GPS antenna: OK
55837 78361.540 127.127.30.0 ONCORE[0]: state = ONCORE_INIT
55837 78362.520 127.127.30.0 ONCORE[0]: Oncore: Resend @@Cj
55837 78363.163 127.127.30.0 ONCORE[0]: Setting Posn from input data
55837 78363.164 127.127.30.0 ONCORE[0]: state = ONCORE_ALMANAC
55837 78370.189 127.127.30.0 ONCORE[0]: Posn:
55837 78370.190 127.127.30.0 ONCORE[0]: Lat = N  41.1745292deg,    Long = W
  8.6560922deg,    Alt = 131.84m (432.55ft) GPS
55837 78370.190 127.127.30.0 ONCORE[0]: Lat = N  41deg 10.4718m,   Long = W
  8deg 39.36553m,  Alt =  131.84m ( 432.55ft) GPS
55837 78370.191 127.127.30.0 ONCORE[0]: Lat = N  41deg 10m 28.30s, Long = W
  8deg 39m 21.93s, Alt =  131.84m ( 432.55ft) GPS
55837 78370.248 127.127.30.0 ONCORE[0]: Cable delay is set to 25 ns
55837 78370.262 127.127.30.0 ONCORE[0]: Satellite mask angle set to 0
degrees
55837 78372.662 127.127.30.0 ONCORE[0]: Have now loaded an ALMANAC
55837 78372.663 127.127.30.0 ONCORE[0]: state = ONCORE_RUN
55837 78372.663 127.127.30.0 ONCORE[0]: SSstate = ONCORE_SS_DONE
55837 78372.732 127.127.30.0 ONCORE[0]: ONCORE: Detected TRAIM, TRAIM = ON
55837 78372.733 127.127.30.0 ONCORE[0]: Input   says TRAIM = 1
55837 78372.733 127.127.30.0 ONCORE[0]: Model # says TRAIM = 1
55837 78372.733 127.127.30.0 ONCORE[0]: Testing says TRAIM = 1
55837 78372.734 127.127.30.0 ONCORE[0]: Using        TRAIM = 1
55837 78373.762 127.127.30.0 ONCORE[0]: PPS Offset is set to 0 ns
55837 78373.782 127.127.30.0 ONCORE[0]: Satellite mask angle is 0 degrees

After this point nothings happens... yet if I force mode 3 (reset without
survey) it works... The problem is that this way I have to wait for an
almanac load... too much time.

My ntp.oncore.0 file is this

MODE 1
#
#The following coordinates were surveyed using SynTac over a day
#
LAT 41 10 28.3055
LONG -8 39 21.9320
HT 131.84 M
TRAIM YES
DELAY 25 NS
CLEAR
MASK 0
HARDPPS
SHMEM /etc/oncore.0

Can anyone help me?

Thanks!

Cheers,
Miguel



More information about the questions mailing list