[mdlug] Clocks

Ron Blanchett muteid10t at gmail.com
Thu Dec 17 23:31:51 EST 2009


We recently seen this at work and it ended up being the clock source:

See what clocksource you are using with: cat
/sys/devices/system/clocksource/clocksource0/current_clocksource
See what sources are available with: cat
/sys/devices/system/clocksource/clocksource0/available_clocksource
Change the clocksource with: echo $source_name >
/sys/devices/system/clocksource/clocksource0/current_clocksource

search google for how to set the clocksource at boot once you find one that
doesn't keep drifting.

-Ron

On 12/17/09, Joe Doehler <lugnuts at doehler.us> wrote:
>
> My system time keeps losing 3 seconds every minute ever since I
> installed Fedora 10 a couple of weeks ago. My hardware clock works just
> fine. I have been trying to fix this, so far without luck.
>
> - Hardware clock is set to UTC
> - /etc/localtime points to /usr/share/zoneinfo/EST
> - The error continues whether or not ntpd is running. I suspect that the
> drift is too large for ntpd to handle it by itself.
> - I deleted /etc/adjtime, adjusted both system time and hardware clock,
> and rebooted immediately. Both clocks were in sync.
>
> > [root at black joe]# cat /etc/adjtime
> > 0.000000 1261096847 0.000000
> > 1261096847
> > UTC
>   >
> > [root at black joe]# cat /var/lib/ntp/drift
> > 0.000
>
> After a few minutes:
>
> > [root at black joe]# hwclock --show ; date
> > Thu 17 Dec 2009 08:01:03 PM EST  -0.425194 seconds
> > Thu Dec 17 20:00:10 EST 2009
>
> I am running out of places to look. I tried a few other things I found
> after googling, but no luck so far. Any ideas?
>
> Joe.
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>



-- 
-Ron



More information about the mdlug mailing list