|
Bugzilla – Full Text Bug Listing |
| Summary: | Wrong time (may be clock speed?) | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Valentin Balt <valentin> |
| Component: | Kernel | Assignee: | E-mail List <kernel-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | forgotten_GqVoGY8DvD |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 10.3 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Valentin Balt
2007-11-06 09:23:15 UTC
I have not this error in previous version (openSUSE 10.2). I upgrade to 10.3 with fresh install (with system partition format). So, after 5 min thinking about this problem: I shut off an automatic System Speedup tecnology (N.O.S. by Asus in BIOS) and my clock remain accuracy now! But! The Bug is still open. The system clock depends on CPU timing clocks. If the CPU clock varies, so will the system clock. What is really needed is for the kernel to optionally read the hardware clock for such systems, especially since variable clocked systems are becoming far more common. Really no excuse now since hardware clocks are also more accurate, generally.
Crude workaround:
1. Use cron to periodically reset the system clock:
#/sbin/hwclock --hctosys
(use option --utc if your hwclock is set to UTC.)
I reset my system clock every minute. My typical drift
is -3 seconds per minute.
This works if your hardware clock is accurate, which it should be. Else,
use NTP or rdate to reset the clock frequently but not more frequently
the server's policy allows, of course.
2. In /etc/sysconfig/clock. change the following line:
SYSTOHC="yes"
to
SYSTOHC="no"
to keep the system from writing the wrong time to the hardware
clock on shutdown.
3. YMMV
4. $SYSTOHC apparently not available until 10.2.
Or, disable SpeedStep, PowerNow, or whatever clock speed changing method is used, in BIOS settings, if possible. This will noticeably shorten the battery run time on laptops, etc.
Closing due to workaround being available. |