[chrony-users] chrony ignoring shm source

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-users Archives ]


Hello,

I cloned and compiled chrony from git today (hash:
34be117c9cc4ea471b13dd009fd2b18db48c8226).
Connected to the rpi on which I run it is a GPSDO. The GPSDO triggers
gpio 18 every second. A small program of mine updates the SHM
segments with offsets etc. This used to work fine with the original
ntpd.

My chrony.conf has:

    refclock SHM 0 poll 1 refid GPSO trust prefer

Now the strange this is that the SHM source stays '?':

MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
#? GPSO                          0   1     0     -     +0ns[   +0ns] +/-    0ns
^? 192.168.64.11                 0   8     0     -     +0ns[   +0ns] +/-    0ns
^? 192.168.65.254                0   8     0     -     +0ns[   +0ns] +/-    0ns
^- static.ip-031-223-173-22>     1   6   377    58   +612us[ +612us] +/- 3260us
^* 10.208.0.10                   2   6   377    61   -254us[ -765us] +/- 4360us

(please ignore the 192.168. sources)

I verified that in the shared memory segment, the 'valid' flag gets
set by the time-source and reset by chrony. I also added a printf in
shm_poll just before the last return statement of that function, and
that printf gets triggered. So chrony *does* poll and processed. I also
added printfs to RCL_AddSample and none of the return 0's are run.

measurements.log and tracking.log do not list the 'GPSO' source.

What can it be?


regards

-- 
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx 
with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/