[LinuxPPS] Fwd: Re: [ntp:questions] ntptime shows ERRORs
Udo van den Heuvel
udovdh at xs4all.nl
Tue Jun 1 05:29:01 CEST 2010
People,
How to proceed from here?
Fix the issue ourselves? Ask linux-kernel?
Udo
-------- Original Message --------
Subject: Re: [ntp:questions] ntptime shows ERRORs
Date: Tue, 1 Jun 2010 03:07:04 GMT
From: David Mills <mills at udel.edu>
Organization: NTP Public Services Project NewsGate
To: questions at lists.ntp.org
Newsgroups: comp.protocols.time.ntp
References: <4C03D007.107 at xs4all.nl>
<a1f7a3b3-fa0e-49fd-b175-6eb5d49d4c6d at c11g2000vbe.googlegroups.com>
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
>
>
_______________________________________________
questions mailing list
questions at lists.ntp.org
http://lists.ntp.org/listinfo/questions
More information about the LinuxPPS
mailing list