View previous topic :: View next topic |
Author |
Message |
Catach Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Sephiroth.gif)
Joined: 06 Nov 2003 Posts: 268 Location: Australia
|
Posted: Wed Sep 22, 2004 10:38 pm Post subject: UTC clock problem |
|
|
Ok whats the best way to get Gentoo to use the exact BIOS clock for it's time setting? I tried to link /etc/localtime with /usr/share/zoneinfo/UTC, which I thought would just sync on the hardware clock, but I get these crazy random skews everytime I boot.
When I continually reboot and change the BIOS clock back to the real time Gentoo gets closer and closer. I thought I had it last night but I booted this morning and i'm 1h 20m off again ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) _________________ Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hardcore l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Predator/movie_predator_dutch.jpg)
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Wed Sep 22, 2004 10:47 pm Post subject: |
|
|
Link to your local timezone, then in /etc/rc.conf change _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Catach Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Sephiroth.gif)
Joined: 06 Nov 2003 Posts: 268 Location: Australia
|
Posted: Fri Sep 24, 2004 2:53 am Post subject: |
|
|
Did that, but it's still skewed by about 2 hours. I remember some file that recorded the clock offset or something that should be deleted, what's it called?
Is there a timezone that just reads from the hardware clock and thats it, nothing else? _________________ Zak: Luke's making a 3D interface for Linux"
Jon G: "Yeah, Luke's making a 3D user interface with Logowriter"
Jon H: "He's only got 99 shapes to work with"
Jon G: "And they're all turtles." |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
hardcore l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Predator/movie_predator_dutch.jpg)
Joined: 01 Nov 2003 Posts: 626 Location: MSU, MI
|
Posted: Mon Sep 27, 2004 10:05 am Post subject: |
|
|
You want to link /etc/localtime to a city that is in your timezone. If your clock is constantly gaining/losing minutes, your CMOS battery is dying, replace it. _________________ Nothing can stop me now, cuz I just don't care. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
pjp Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/1154772887439692d88303b.jpg)
Joined: 16 Apr 2002 Posts: 20588
|
Posted: Mon Sep 27, 2004 4:19 pm Post subject: |
|
|
Moved from Portage & Programming. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sabaisabai Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 05 May 2004 Posts: 83 Location: Singapore
|
Posted: Mon Sep 27, 2004 4:40 pm Post subject: |
|
|
remove /etc/adjtime That should fix the skew on startup.
You'll probably find that the last number in the first line of your old /etc/adjtime is non-zero, which means Gentoo is trying to adjust your time when you boot.
After removing the file Gentoo will re-create it upon boot, and the last value on the first line should be zero. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|