Michael Golden wrote:

On Wed, 2003-11-12 at 12:37, Ryan Bowman wrote:


Since installing Gentoo the clock seems to bde losing time.


If anyone knows why Gentoo loses time I'd be interested in hearing. Mine does it periodically as well. Seems when I sit there and watch it to see how much it loses per hour then it doesn't lose any, but when I'm not paying attention it does. (It's made me late to class several times)



This wasn't a problem under Red Hat (Gentoo is still better).
What methods have you found to be the most effective for updating
the clock from the internet, when the computer is only connected once or twice a day, if that?



I just use the ntp-client and sync with tick.byu.edu or tock.byu.edu. I
don't know if it runs as a daemon or not so you might have to just run
it when you connect.


This topic is covered a lot under the gentoo forums so if what i say is not your problem then you should check there and look for other solutions. Generally clock drift happens because of a bug in apm. If you are running linux on a laptop, using apm and have a battery monitor that polls /proc/apm to find the state of your battery then clockdrift will occur (this is not just confined to gentoo, i think gentoo people are simply more vocal about it, but i have seen the exact same thing happen with redhat 9) To prove to yourself that it is the polling of apm that is slowing down your clock you can open the clock so you can see the seconds tick by, and then in a terminal do an infinite loop of cat /proc/apm and you will see the second hand takes a LOT longer to tick than it should. NTP is not the ideal solution because regardless of wheter or not it works for you, it's still a hack.
What has worked for me (dell inspiron 8200, running gentoo 2.6.0-beta6 kernel - and worked for me on the 2.4 kernels) is to rm /etc/adjtime and then set the clock to the proper time. I think this is all that i did, but i could have done some other small thing. Any way i have done it the two times i have installed linux on this laptop and haven't thought about it since so if i am missing something then i appologize; However, like i said the forums cover this topic.
Hope this helps.


-Chris Kosanovich


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to