Hi folks, I wonder if anybody else is experiencing such a problem. Here in USA the Daylight Saving time started from the last Sunday, and my box has switched the clock properly. But then I found that every time when I suspend my ThinkPad R61 and bring it back to life the clock is switched back to old winter time! I run ntpdate to fix it, and everything is fine until the laptop is suspended again. Today I've updated tzdata and kernel - the same behaviour still persists... Am I missing something? Thanks for ideas. Sergey
I though arch was saving the clock state at shutdown, so the computer's internal clock was in sync with what the OS had. But maybe the bios has a DST hardcoded in it? 2009/3/10 Sergey Manucharian <sergeym@rmico.com>
Hi folks,
I wonder if anybody else is experiencing such a problem. Here in USA the Daylight Saving time started from the last Sunday, and my box has switched the clock properly. But then I found that every time when I suspend my ThinkPad R61 and bring it back to life the clock is switched back to old winter time! I run ntpdate to fix it, and everything is fine until the laptop is suspended again.
Today I've updated tzdata and kernel - the same behaviour still persists...
Am I missing something?
Thanks for ideas.
Sergey
2009/3/10 Sergey Manucharian <sergeym@rmico.com>
Hi folks,
I wonder if anybody else is experiencing such a problem. Here in USA the Daylight Saving time started from the last Sunday, and my box has switched the clock properly. But then I found that every time when I suspend my ThinkPad R61 and bring it back to life the clock is switched back to old winter time! I run ntpdate to fix it, and everything is fine until the laptop is suspended again.
Today I've updated tzdata and kernel - the same behaviour still persists...
Am I missing something?
Thanks for ideas.
Sergey
On Tue, 10 Mar 2009 23:27:08 -0400 Nicolas Bigaouette <nbigaouette@gmail.com> wrote:
I though arch was saving the clock state at shutdown, so the computer's internal clock was in sync with what the OS had.
But maybe the bios has a DST hardcoded in it?
I looked into BIOS - no such thing as DST. But - strange - after several cycles of suspend-restart-shutdown in different order it works now... Cheers, Sergey
On Tue, 2009-03-10 at 20:24 -0600, Sergey Manucharian wrote:
Hi folks,
I wonder if anybody else is experiencing such a problem. Here in USA the Daylight Saving time started from the last Sunday, and my box has switched the clock properly. But then I found that every time when I suspend my ThinkPad R61 and bring it back to life the clock is switched back to old winter time! I run ntpdate to fix it, and everything is fine until the laptop is suspended again.
Today I've updated tzdata and kernel - the same behaviour still persists...
Am I missing something?
Thanks for ideas.
Sergey
I guess the hardware clock isn't saved when doing suspend or hibernate. When the system boots up, the clock is read from hardware, resulting in your timeshift. This is only an issue when your system time is stored in local time instead of UTC.
On Wed, 11 Mar 2009 08:41:15 +0100 Jan de Groot <jan@jgc.homeip.net> wrote:
I guess the hardware clock isn't saved when doing suspend or hibernate. When the system boots up, the clock is read from hardware, resulting in your timeshift. This is only an issue when your system time is stored in local time instead of UTC.
Yes, most probably that's the reason. It was localtime, and I've switched to UTC and forgot to restart my computer. Then during my experiments I've finally restarted it and it's fixed. Thanks!
On Tue, Mar 10, 2009 at 22:24, Sergey Manucharian <sergeym@rmico.com> wrote:
Am I missing something?
For future reference, simply run: # ntpd -ds # hwclock -systohc and the correct time will be saved. -- Sincerely, Antony Jepson / <antonyat@gmail.com> / GPG Key: 0xFA10ED80
participants (4)
-
Antony
-
Jan de Groot
-
Nicolas Bigaouette
-
Sergey Manucharian