[LinuxPPS] Any Updates on that issue [PATCHv3 12/16] ntp: add hardpps implementation

Udo van den Heuvel udovdh at xs4all.nl
Fri Oct 8 14:48:23 CEST 2010


On 2010-10-08 14:38, Felix Joussein wrote:
> is there any update?

No?

> I have made a curious observation:
> 
> My server uses the hardpps patch, and behaves like it, but shows some 
> odd ntpq and ntptime output:
> 
> ntp_gettime() returns code 5 (ERROR)
(...)
> ntp_adjtime() returns code 5 (ERROR)

These are `normal`.
At least, I saw them too on my system.

> Why do I get an error (return code 5 (ERROR)), if on the other hand 
> side, the frequency is other then ZERO and the PPS Signal status is well 
> synchronised?

Error in the patch?
hvengel wrote that in an older patch it worked OK. So needs to be
verified. Did anyone get a response from Alexander?
Or can we spot the bug in the patch(es) if we understand what is missing
or how this is caused?

> Out from the irc #ntp I was told, that the PPSSIGNAL flag is missing, 
> and that it should be cleared when there was no pulse in last 10 seconds.

So this implies that if we somehow add this flag the ERRORs should go away?
If so: can we somehow hardcode the PPSSIGNAL flag just to try?
Then later we can find a `clean` solution.

Kind regards,
Udo



More information about the LinuxPPS mailing list