Abhay Kedia wrote:
> On Saturday 28 January 2006 02:55, Benno Schulenberg wrote:
> > the /etc/adjtime file.  Throw it away, as it might be the
> > adjusting feature that thinks your clock is drifting a full
> > hour per hour (that is: ticks away two hours in one).
>
> That was it!!! That was the file causing all the pain. I moved it
> away and now there are no problems. Any ideas why it was doing
> it.

A possibility is that you've set the hwclock twice, first with a 
wrong time, then say ten minutes later you realize your watch is 
five minutes fast, and you set the clock again, with the correct 
time.  Now the adjust feature thinks your CMOS clock is ticking 
away ten minutes in just five minutes, and every time you boot your 
computer it will adjust the CMOS clock for this drift and then read 
it to set the system time.

This drift correction feature is useful, but one should be aware of 
it when setting the hardware clock manually: remove the /etc/adjtime 
file after 'hwclock --set' has been used with a wrong time.

> The file is obviously there for some reason

See man hwclock, the section on "The Adjust Function".

Benno
-- 
gentoo-user@gentoo.org mailing list

Reply via email to