Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50037 - clock is offset when resuming from a suspend
Summary: clock is offset when resuming from a suspend
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 15:41 UTC by Gábor BORGULYA
Modified: 2004-10-17 15:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.