Re: Time keeping drifts in 2.6.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 07, 2005 at 15:40:12 +0530, Manas Anant Alekar wrote:
> I have an board running linux 2.6.9. The board does not have the RTC
> configured.
> 
> If I write a module to print time, I see that this kernel clock drifts 3
> minutes from a standard stop watch in 18 hours.
> 
> Is this drift expected from the linux kernel?

It depends on the hardware. It seems that your interrupt controller has
quite a bad time source.

Anyway, you can work around the problem by using some program, that can
estimate the systematic drift (by NTP (even if you only connect to internet
occasionaly) or manual correction from time to time) and compensate for it
using adjtimex or at least adjtime system call.  The chrony daemon is known
to work in (and in fact to have been desinged for) such situation.

--
						 Jan 'Bulb' Hudec <bulb@xxxxxx>

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux