Re: chrony ignoring shm source
folkert <folkert-Beo89p9qyDM6GGFevw1D/[email protected]> Wed, 17 Jul 2024 14:49:02 +0200
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <Zpe9vlDaI/[email protected]> |
> > 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? Aaah! I did not now you could increase the debugging with that! And now I know what it is what is going wrong: a few days ago I did a "this can only improve things" improvement to my gpio -> shm thing, which actually broke it :-) (f.w.i.w.: what I used returned CLOCK_MONOTIC (kernel timestamp, seconds since bootup) instead of something useable). So many thanks. regards -- 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]