View previous topic :: View next topic |
Author |
Message |
RabbidFrogLobotomy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/97142055842b70ee75a041.jpg)
Joined: 25 Jan 2005 Posts: 39
|
Posted: Thu Nov 10, 2005 6:17 pm Post subject: Time stands still |
|
|
Whenever I power on my PC the time is exacly what is was when I last powered of.
I've searched the forums but other threads deal with time jumping, not freezing
My /etc/conf.d/clock
Code: | # /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local".
CLOCK="local"
# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.
CLOCK_OPTS=""
# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="yes"
|
I double-checked my /etc/localtime and it fits
hwclock gives me
Code: | kryshaol ~ # hwclock
Sat Sep 10 17:57:14 2005 -0.109723 seconds |
And date gives me
Code: | kryshaol ~ # date
Sat Sep 10 17:58:11 CEST 2005
|
When I set the time i do a
Code: | date MMDDhhmmCCYY && hwclock --systohc |
(as root)
I just don't get it
Cheers _________________ "My good man, now is not the time to make more enemies" - Voltaire, asked to renounce the devil on his deathbed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
marvin5 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar12.gif)
Joined: 19 Mar 2005 Posts: 162 Location: Germany
|
Posted: Thu Nov 10, 2005 7:15 pm Post subject: |
|
|
Well, that is more like a workaround than a solution, but did you consider using ntp?
Might want to take a look here:
http://gentoo-wiki.com/HOWTO_NTP |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RabbidFrogLobotomy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/97142055842b70ee75a041.jpg)
Joined: 25 Jan 2005 Posts: 39
|
Posted: Thu Nov 10, 2005 11:49 pm Post subject: |
|
|
Yeah, but I prefer booting my system without internet connection, then connecting later (if need be) which kinda kills the idea. _________________ "My good man, now is not the time to make more enemies" - Voltaire, asked to renounce the devil on his deathbed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dwblas Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Fri Nov 11, 2005 12:04 am Post subject: |
|
|
If your system is 5+ years old, the clock battery is probably dead. Unless you got a bad battery with the system. If the battery is dead you will have to sync your time on the internet every time you boot. Depending on how old the system is, you may or may not be able to replace the battery. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RabbidFrogLobotomy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/97142055842b70ee75a041.jpg)
Joined: 25 Jan 2005 Posts: 39
|
Posted: Fri Nov 11, 2005 6:47 am Post subject: |
|
|
It's not the battery either, I've had this issue before, (it disappeared, last time I reinstalled from scrath, so I have no idea what was wrong, except its software) and it appeared again recently when I had to adjsut my time for proper daylight savings _________________ "My good man, now is not the time to make more enemies" - Voltaire, asked to renounce the devil on his deathbed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dwblas Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
Posted: Fri Nov 11, 2005 3:45 pm Post subject: |
|
|
Instead of a symlink for /etc/localtime, try copying the actual file to /etc. If the directory (/usr for the actual file as it is now) is not mounted when the system starts the time process it can cause problems. I have no real idea either. If you do find a solution, please post it as this is one of those annoying problems that can drive you crazy. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
RabbidFrogLobotomy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/97142055842b70ee75a041.jpg)
Joined: 25 Jan 2005 Posts: 39
|
Posted: Mon Nov 14, 2005 2:57 pm Post subject: |
|
|
Sorry about the absence, but I was a tad busy, anyway, no joy when I tried copying the localtime instead of linking.
This is driving me nuts _________________ "My good man, now is not the time to make more enemies" - Voltaire, asked to renounce the devil on his deathbed |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Isaiah Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 25 Feb 2003 Posts: 359
|
Posted: Thu Dec 01, 2005 3:15 am Post subject: |
|
|
Deleting /etc/adjtime seems to have solved this same problem for yours truly... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|