Re: chrony ignoring shm source

Miroslav Lichvar <[email protected]> Wed, 17 Jul 2024 14:09:06 +0200
Newsgroups gmane.comp.time.chrony.user
Message-ID <Zpe0YrFzqgr6RBoo@localhost>
On Wed, Jul 17, 2024 at 02:02:42PM +0200, folkert wrote:
> 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.

Can you compile chrony with the --enable-debug option, run chronyd
with -d -d and see what debug messages you get for the refclock?

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]