On 04/06/2015 04:10 PM, Walter Dnes wrote:
   I have a bunch of spreadsheets, browser tabs, etc, open all the time,
scattered over various work areas.  Rather than re-open them every day,
I simply hibernate, using suspend-to-disk.  This way, things are where I
left them.

   The past couple of months, when the machine comes up from hibernation,
the clock is a few hours ahead.  Now it's 4 hours ahead.  It was 5 hours
ahead before the switch to daylight savings time.  This looks
suspiciously like GMT.  GMT is 5 hours ahead of EST, and 4 hours ahead
of EDT.

   I dug deeper.  Apparently, it's just the "kernel system time" that
gets bumped forward when it wakes up from hibernation.  The BIOS clock
is OK.  As a heavy-handed hack, I've inserted the line...

OnResume 01 hwclock --hctosys

...into my /etc/hibernate/hibernate.conf.  This copies over the BIOS
time to the kernel system date.  It works, but I'd really like to know
why it's necessary in the first place.



# hwclock --help

Gives many options to test.

https://wiki.gentoo.org/wiki/System_time

is the formal gentoo wiki pagy on system time.


hth,
James

Reply via email to