[ntp:questions] drift file set to -500

Aggie c.kevin.lam at gmail.com
Tue Nov 27 19:11:02 UTC 2007


On Nov 26, 10:54 pm, "David J Taylor" <david-tay... at blueyonder.not-
this-bit.nor-this-bit.co.uk> wrote:
> Aggie wrote:
> > After running NTPD on VxWorks for a couple days, the ntp.drift file
> > was set to -500, that made it jump to the infinite loop trying to call
> > adjtime(), but VxWorks doesn't have adjtime().
>
> > I read the ntp documentation. It suggests to disable the time-of-year
> > (TOY) clock chip. How do I disable this clock chip??
>
> > Have anyone seen this "-500" error before? How did you resolve this?
>
> > Any advice help,
>
> > Thanks
> > Kev
>
> Kev,
>
> I've seen something similar under Windows - known good hardware with drift
> values from 10 to 100.  Suddenly, NTP becomes confused, and sets the drift
> value to a an extreme (+/- 496, for example, I don't recall plus or
> minus), and cannot recover from it.  You need to delete the drift file, or
> enter a near correct value.
>

David,
> Delete the drift file??
Did you leave ntp running when u deleted the drift file or did you
restart ntp after u delete the drift file?

> near correct value??
What is a near correct value?? How do I find out what's the correct
value for my hardware?

> Of course, as Richard says, it could be a hardware issue, or it could be
> something in NTP.  What happens if you delete the drift file and leave it
> for a few hours?

I will try that.

Thanks,
Kev.




More information about the questions mailing list