Re: [chrony-users] Fatal error : adjtimex() failed

[ Thread Index | Date Index | More Archives ]

On 23/08/2012 12:32, Tomalak Geret'kal wrote:
On 23/08/2012 12:20, Tomalak Geret'kal wrote:
Having fixed that, I can now see that the *actual* error from shmget() (as implied by the SYS_307 line, I guess) is errno 22 EINVAL (Invalid argument), and *not* 2 (No file or directory).


I've found a discrepancy in the size of the shmTime structure: chrony does it the same as gpsd (so, presumably, correctly), but my in-house shm source, which *is* known to function properly as such, regardless has a typo in the dimension of the "dummy" array member.

  int dummy[0];

  int dummy[10];

What a dummy.
I'm sure that correcting this typo will bring an end to my problems starting chrony.


Yep, this seems fine now. Many thanks Miroslav and Bill! Your direction was invaluable in resolving the adjtimex() and shmget() problems.

I have temporarily reverted my workaround for the "high Last Sample value for PPS0" potential chrony bug we discussed and turned on refclock & tracking logging as suggested. Hopefully through this I'll be able to come up with some data that might go towards identifying and/or solving a chrony bug. The least I can do. :)


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+