| View previous topic :: View next topic |
| Author |
Message |
kukacomone n00b

Joined: 20 Jul 2007 Posts: 34
|
Posted: Thu Aug 23, 2007 8:37 pm Post subject: [solved]clock is late |
|
|
Hello,
the clock is always late. I set it and after its still late. It becomes good after a reboot. If the computer is on for 2 days, then by the end it is late by 1 hour.. I dont know what is the problem. It is good with windows and ubuntu, but wrong with gentoo and arch. I have no idea. 
Last edited by kukacomone on Sun Aug 26, 2007 10:18 pm; edited 1 time in total |
|
| Back to top |
|
 |
jasm Tux's lil' helper

Joined: 10 Sep 2003 Posts: 80 Location: Belgium
|
Posted: Thu Aug 23, 2007 9:06 pm Post subject: |
|
|
| I remember having a similar problem a little while back. Removing /etc/adjtime solved the problem back then. Have a look at /etc/init.d/clock and the man page of hwclock if you're interested in the details. |
|
| Back to top |
|
 |
kukacomone n00b

Joined: 20 Jul 2007 Posts: 34
|
Posted: Fri Aug 24, 2007 7:12 pm Post subject: |
|
|
I removed I/etc/adjtime, hope this works, thanx. I dont put "solved" in the title yet, cuz i dont know the problem is solved or not.  |
|
| Back to top |
|
 |
kukacomone n00b

Joined: 20 Jul 2007 Posts: 34
|
Posted: Sat Aug 25, 2007 2:08 pm Post subject: |
|
|
I am on for 4hours, and the clock is late 3mins, but it was good..  |
|
| Back to top |
|
 |
jasm Tux's lil' helper

Joined: 10 Sep 2003 Posts: 80 Location: Belgium
|
Posted: Sat Aug 25, 2007 7:50 pm Post subject: |
|
|
The purpose of adjtime is to anticipate the drift of your clock. At the moment (asuming you did a restart of the clock service e.g. by means of a reboot), I expect that a default adjtime is created - containing all zeroes. Next time you correct the time, some calculation will take place in order to derive the drift of your clock. The result of all of this is stored in adjtime. From now on, your clock will be a whole lot more accurate.
Another option for getting an accurate time is to use NTP (http://gentoo-wiki.com/HOWTO_NTP) |
|
| Back to top |
|
 |
kukacomone n00b

Joined: 20 Jul 2007 Posts: 34
|
Posted: Sun Aug 26, 2007 10:18 pm Post subject: |
|
|
| I will set up NTP, thank you! |
|
| Back to top |
|
 |
|