Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 50037

Summary: clock is offset when resuming from a suspend
Product: Gentoo Linux Reporter: Gábor BORGULYA <bvg.linuxnewbie>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gábor BORGULYA 2004-05-04 15:41:22 UTC
The hardware clock of my laptop is set to local time=Budapest time=CET. During the system boot the system clock is successfully synchonised to the hardware clock, it gets the CET, too.
However, if I suspend and awake the laptop, pressing <Fn> <Moon button> twice, the system clock gets two hours ahead. It seems that when the laptop awakes, it thinks that the hardware clock was set to UTC. Thus, ignoring the setting in rc.conf.

Reproducible: Always
Steps to Reproduce:
1. check the system time:
$ date
14:32
2. suspend the laptop
3. awake the laptop
4. check the system time again:
$ date
16:32


Expected Results:  
The clock should get back its correct walue after awaking the suspended 
laptop. 

A workaround is to set the hardware clock to UTC, and update rc.conf according 
to this setting.
Comment 1 SpanKY gentoo-dev 2004-10-15 15:22:20 UTC
sounds like a kernel issue
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-10-17 15:36:02 UTC
If this is still an issue with the latest 2.6.9-final kernel, please report it as an upstream bug at http://bugzilla.kernel.org
Thanks.