[ntp:questions] ntptime shows ERRORs

blu brian.utterback at gmail.com
Tue Jun 1 01:57:51 UTC 2010


On May 31, 11:04 am, Udo van den Heuvel <udo... at xs4all.nl> wrote:

> ntp_gettime() returns code 5 (ERROR)
>   time cfae4e24.4152b090  Mon, May 31 2010 17:03:00.255, (.255168371),
>   maximum error 6247 us, estimated error 0 us
> ntp_adjtime() returns code 5 (ERROR)
>   modes 0x0 (),
>   offset 11.066 us, frequency -4.353 ppm, interval 4 s,
>   maximum error 6247 us, estimated error 0 us,
>   status 0x2007 (PLL,PPSFREQ,PPSTIME,NANO),
>   time constant 4, precision 0.001 us, tolerance 500 ppm,
>   pps frequency 0.000 ppm, stability 0.000 ppm, jitter 0.000 us,
>   intervals 0, jitter exceeded 0, stability exceeded 0, errors 0.


In my experience, this type of error return has more to do with how
ntptime is called rather than a problem in the kernel. Take a look at
errno.h, what does it show for error 5?




More information about the questions mailing list