PDA

View Full Version : RTC problems



Crossbow
06-04-2002, 06:04 PM
I know this is a programming forum, but I don't know where else to turn, and a lot of people view this board. The Real Time Clock on my computer is messed up. It keeps the minutes right, but the hours keep changing every time I restart my computer. Also, it seems to be falling back instead of forwards. Does anybody know how to fix this?

ygfperson
06-04-2002, 07:43 PM
replace the cmos battery? my guess. or your motherboard needs replacing.
but chances are, if you have had your cmos battery for that long, an upgrade of your motherboard would not be uncalled for.

alex
06-05-2002, 11:13 AM
Hi!

I don't think I have the answer, but I don't think your (computers) battery is empty, because then the bios would probably warn about checksum errors. It's also very strange that the minutes seem to be correct.

It's worth checking whether the problem occurs without starting an operating system. (i.e., entering bios on boot by pressing the appropriate key(s), set clock, power cycle, enter bios again, check time) If this shows problems, it is probably the battery that is on the way of total failure. Most mainboards have the battery glued onto them, but do have pins to connect an external battery.

If you have a direct internetconnection, you could synchronize your computers clock at boot time using ntp. (I use the utility ntpdate on "my" linux machines, and there are windows implementations of ntp as well)

alex