Slashdot Mirror


Weird PC Clock Behavior?

cybercyst asks: "I've been having a problem with this for quite some time, and thought it was just me -- until two good friends of mine experienced the same problem. What we are experiencing is best described as a time-skew: our system time is apparently jumping forward an hour, and then returning to normal. It repeats this multiple times, and as far as I can tell only a reboot is any sort of remedy for this, albeit a temporary one. As you can imagine this causes all sorts of problems (under windows managers xscreensaver is always popping up -- in fact as I wrote this, the screensaver has come on over 10 times, negative fps in OpenGL programs, extremely large ping times, and so forth)."

"Friend A runs an Athlon system on a Soyo Dragon motherboard, I'm running a K6-2 450Mhz CPU on an older Epox motherboard. We are both running Slackware 8.0 with kernel 2.4.17, but Friend B runs nothing but Red Hat, and kernel 2.4.2-2.

I have personally tried many things to get this fixed permanently, including setting the time with 'date -s; hwclock --hctosys; hwclock --systohc' the BIOS is set to the right time that doesn't seems to help! So, I'm asking Slashdot, Has anyone out there encountered a similar problem, and if they have, have you been able to fix it?"

3 of 70 comments (clear)

  1. Time/space anomaly by mclinc · · Score: 5, Funny

    Have you checked for nearby chronoton emisions?

    Try a tatacion burst, that normaly helps...

    --
    "Oh no, not again"
  2. The solution might be this... by jakobgrimstveit · · Score: 5, Informative

    You might have to delete /etc/adjtime after adjusting your clock. This file is updated now and then to prevent clock drift.

    'man 8 hwclock' and 'The Adjust Function' might give you some answers.

    Give it a shot, at least.

    --
    Jakob Breivik Grimstveit
    "I love deadlines. I love the whooshing noise they make as they go by."
  3. My opinion (serious) by Lord+Sauron · · Score: 5, Interesting

    [from http://www.debian.org/doc/manuals/system-administr ator/ch-sysadmin-time.html]:

    Computers have a clock to keep time. Usually there is a hardware clock with battery backup to keep time when the computer is off. The operating system (for example Linux) runs its own clock, and from this clock comes the time shown by commands such as date in Linux and time in DOS.

    The hardware clock is usually accurate enough, provided that the battery has not run out. If the time shown by the computer when you turn it on is wrong by several months or years, it is worth checking if the battery is still usable.

    The "software" clock in the operating system usually has drift, either systematic or random. This drift means the clock runs too fast or too slow. For this reason it is necessary to use some accurate time source to syncronize the operating system clock if accurate time is needed.

    [my opinion:] Normally I'd just say: Use NTP. But your random time drift seems to be so high, NTP would freak out.

    It seems to be a hardware problem, or some friend made a practical joke on you, inserting some random time drift in crontab. Try to reinstall your OS and check if this behavior continues. If so, you should change your motherboard. And try to get a good one, like Asus.