View previous topic :: View next topic |
Author |
Message |
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Mon Mar 12, 2007 7:27 pm Post subject: |
|
|
knifeyspoony wrote: | What you say is true, though I'm unsure if you realize that my purpose in rebooting was to test if the correct time would persist.
Perhaps grofaz will oblige in tagging the topic solved. |
I will when it is indeed solved. I'm not happy yet! I don't like the fact my monitor now goes into standby when I get to my login screen. That sucks. I don't understand why changing to DST screws everything up when the timezone-data-2007c was supposed to prevent that from happening. I really don't have the time to sit around googling and trying to fix things that shouldn't break in the first place. That bugs me, man!! This kind of thing should be handled by a simple update.
grofaz...out |
|
Back to top |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Mon Mar 12, 2007 7:32 pm Post subject: |
|
|
grofaz wrote: | knifeyspoony wrote: | What you say is true, though I'm unsure if you realize that my purpose in rebooting was to test if the correct time would persist.
Perhaps grofaz will oblige in tagging the topic solved. |
I will when it is indeed solved. I'm not happy yet! I don't like the fact my monitor now goes into standby when I get to my login screen. That sucks. I don't understand why changing to DST screws everything up when the timezone-data-2007c was supposed to prevent that from happening. I really don't have the time to sit around googling and trying to fix things that shouldn't break in the first place. That bugs me, man!! This kind of thing should be handled by a simple update.
grofaz...out |
have you looked at your bios date/time? perhaps your CMOS battery is dead and needs replacing... it was a simple update for me but really I feel like pulling my suggestion for using ntp... |
|
Back to top |
|
|
knifeyspoony n00b
Joined: 01 Jun 2005 Posts: 70
|
Posted: Mon Mar 12, 2007 7:34 pm Post subject: |
|
|
That's one of the headaches many people associate with Linux. But I think of it as an opportunity to think more deeply about the way computers and operating systems work...
...although I wish the Gentoo maintainers would have just deleted Pacific time or made obvious that it's deprecated, since it doesn't work with DST. |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Mon Mar 12, 2007 8:13 pm Post subject: |
|
|
jonnevers wrote: |
have you looked at your bios date/time? perhaps your CMOS battery is dead and needs replacing... it was a simple update for me but really I feel like pulling my suggestion for using ntp... |
I don't know, clock worked fine before the time switch. |
|
Back to top |
|
|
gwong86 n00b
Joined: 06 Dec 2006 Posts: 12
|
Posted: Mon Mar 12, 2007 8:56 pm Post subject: Clock still 1 hour behind |
|
|
I was late updating the tzdata and now my clock is one hour behind. I emerged the timezone-data yesterday evening, restarted the server, and restarted ntp-client but no luck. Any ideas? |
|
Back to top |
|
|
knifeyspoony n00b
Joined: 01 Jun 2005 Posts: 70
|
Posted: Mon Mar 12, 2007 9:24 pm Post subject: |
|
|
Does nightmorph's advice apply to you?
nightmorph wrote: | Don't use Pacific time. Use PST8PDT.
Note that you need to set this in /etc/conf.d/clock, this is the new way to set your time. If necessary, re-emerge timezone-data after setting TIMEZONE="PST8PDT" in /etc/conf.d/clock, and make sure that you haven't symlinked anything to /etc/localtime; just rm that file.
Once you've finished, run ntpdate -b -u pool.ntp.org to make sure things get fixed. |
|
|
Back to top |
|
|
gwong86 n00b
Joined: 06 Dec 2006 Posts: 12
|
Posted: Mon Mar 12, 2007 9:28 pm Post subject: |
|
|
It might. Right now i believe I am using EST for my time zone. I'm in Boston. I'm not sure what I would set the TIMEZONE= to in /etc/conf.d/clock though... |
|
Back to top |
|
|
knifeyspoony n00b
Joined: 01 Jun 2005 Posts: 70
|
|
Back to top |
|
|
gwong86 n00b
Joined: 06 Dec 2006 Posts: 12
|
Posted: Mon Mar 12, 2007 9:41 pm Post subject: |
|
|
That seemed to have worked. Thanks very much. |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Mon Mar 12, 2007 11:30 pm Post subject: |
|
|
knifeyspoony wrote: | Does nightmorph's advice apply to you?
nightmorph wrote: | Don't use Pacific time. Use PST8PDT.
Note that you need to set this in /etc/conf.d/clock, this is the new way to set your time. If necessary, re-emerge timezone-data after setting TIMEZONE="PST8PDT" in /etc/conf.d/clock, and make sure that you haven't symlinked anything to /etc/localtime; just rm that file.
Once you've finished, run ntpdate -b -u pool.ntp.org to make sure things get fixed. |
|
I'll try this as well, thanks very much! |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Wed Mar 14, 2007 4:15 am Post subject: |
|
|
It works! I unmerged ntp and removed /etc/localtime. Then I re-merged timezone-data and all is well in gentooland!!
Thanks one and all for helping me get it sorted.
grofaz...out |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Wed Mar 14, 2007 4:14 pm Post subject: |
|
|
Oops! Reboot broke it again. Still unsolved I'm afraid. Any ideas ?? |
|
Back to top |
|
|
knifeyspoony n00b
Joined: 01 Jun 2005 Posts: 70
|
Posted: Wed Mar 14, 2007 6:35 pm Post subject: |
|
|
Reboot broke mine again too! But this time I had loaded Windows in between Gentoo loads. My Windows has not gotten the DST update. Now in Gentoo, my date is still in PDT, and my UTC time (date -u) is an hour behind as well. Windows must have changed my system time.
Running ntp-client now fixes it for me. Similar case for you? |
|
Back to top |
|
|
albright Advocate
Joined: 16 Nov 2003 Posts: 2588 Location: Near Toronto
|
Posted: Wed Mar 14, 2007 6:41 pm Post subject: |
|
|
windows wreaks havoc on linux clocks.
One possible fix is to force the hardware clock in line with the
system time (after you get it set properly).
Maybe this will work for grofaz too (worth a try anyway). |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Thu Mar 15, 2007 2:17 am Post subject: |
|
|
albright wrote: | windows wreaks havoc on linux clocks.
One possible fix is to force the hardware clock in line with the
system time (after you get it set properly).
Maybe this will work for grofaz too (worth a try anyway). |
I'll try that! |
|
Back to top |
|
|
xtlosx Apprentice
Joined: 14 Jan 2006 Posts: 219 Location: Chicago
|
Posted: Thu Mar 15, 2007 11:32 am Post subject: |
|
|
I had the same issue.. after re emerging timezone-data i was an hour behind..
come to find out.. i was using EST instead of EST5EDT or whatever it is _________________ Linux cebula 3.5.7-gentoo #3 SMP Fri Nov 9 15:26:37 CST 2012 i686 Genuine Intel(R) CPU 1300 @ 1.66GHz GenuineIntel GNU/Linux |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Fri Mar 16, 2007 6:57 pm Post subject: |
|
|
I was personally having problem with the timezoen not sticking when I suspended to disk. A clean reboot helped things. |
|
Back to top |
|
|
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
Posted: Fri Mar 16, 2007 7:33 pm Post subject: |
|
|
albright wrote: | windows wreaks havoc on linux clocks.
One possible fix is to force the hardware clock in line with the
system time (after you get it set properly).
Maybe this will work for grofaz too (worth a try anyway). |
There is also in /etc/conf.d/clock Code: | # If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="yes" | Also shouldn't hurt to rm /etc/adjtime after resetting things and before reboot. The system will put /etc/adjtime back, removing it will keep a bad value from messing things up. |
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Sat Mar 17, 2007 1:52 am Post subject: |
|
|
n00bsRus wrote: | albright wrote: | windows wreaks havoc on linux clocks.
One possible fix is to force the hardware clock in line with the
system time (after you get it set properly).
Maybe this will work for grofaz too (worth a try anyway). |
There is also in /etc/conf.d/clock Code: | # If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.
CLOCK_SYSTOHC="yes" | Also shouldn't hurt to rm /etc/adjtime after resetting things and before reboot. The system will put /etc/adjtime back, removing it will keep a bad value from messing things up. |
I assume that I must first correct the time according to my timezone using something like ntp. Or perhaps just date hhmmyyyy at the command line. Then rm /etc/adjtime. And change "no" to "yes" in /etc/conf.d/clock. Is that correct ?
I'm a little leary of messing about with my hw clock. Shouldn't the timezone-data-2007c do that ?
:) |
|
Back to top |
|
|
roki942 Apprentice
Joined: 18 Apr 2005 Posts: 285 Location: Seattle
|
|
Back to top |
|
|
grofaz Guru
Joined: 18 Sep 2005 Posts: 319
|
Posted: Fri Mar 23, 2007 7:34 am Post subject: |
|
|
seems to have fixed it. Thanks to you all for helping. |
|
Back to top |
|
|
|