[ntp:questions] ntptime shows ERRORs

David Mills mills at udel.edu
Tue Jun 1 03:07:04 UTC 2010


Brian,

The ntp_adjtime() return code is decoded from the status word, which 
shows nothing wrong. The Linux kernel NTP interface does not a complete 
implementation as in Solaris or FreeBSD, for example. It, might have 
bugs or has incorporated something not in the specification.

Dave

blu wrote:

>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?
>
>_______________________________________________
>questions mailing list
>questions at lists.ntp.org
>http://lists.ntp.org/listinfo/questions
>  
>




More information about the questions mailing list