Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 10-31-2008, 08:27 AM   #1
Registered: Oct 2001
Location: Overland Park, KS
Distribution: Kubuntu 22.04
Posts: 375

Rep: Reputation: 30
Replaced CMOS battery and time is still not correct...???

I dual-boot XP-OpenSuSE 11.0...about two weeks ago I noticed my clock in either OS was not correct...after several resets of the clock I finally replaced the battery on my motherboard and have checked the voltage twice since replacing the battery...the voltage measures 3.275V for a 3.3V battery. I have not changed any hardware or software in either OS...I go into my BIOS and the date is correct but not the time.

I correct the time while inside the bios and boot into both OS and everything is on time until I soon as I reboot either OS the time is incorrect again.

Is there another motherboard setting that might be causing this? As I mentioned previously I have not changed any configuration either hardware or software. All programs in both OS work fine...access to the internet is fine. Thoughts please???
Thanks in advance!
Old 10-31-2008, 08:49 AM   #2
Senior Member
Registered: Jun 2004
Distribution: Arch, Debian, Slack
Posts: 1,016

Rep: Reputation: 47
You didn't say how much it is off by, but if it's hours (3, 4, etc.), then it's probably related to a sysclock/hwclock setting (man hwclock). If only a few minutes, maybe the bios is buggy, or you need to implement something like ntp or openntpd.
Old 10-31-2008, 08:59 AM   #3
Senior Member
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
If you are setting your bios clock to local time your linux distro might be reseting it to UTC.
Old 12-02-2008, 08:10 PM   #4
LQ Newbie
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
Thumbs up

currently running igniteux and i am having the same problem. i replaced my cmos battery and when i change the time and reboot... it changes the time back to i guess what would be called the UTC time. i think its odd cause if i let it be it will progress in time. i really dont feel like doing a software reload. oh yeah...its off by months...not minutes.

btw- this is a (classsified).... and the fact that this fault is not covered in any pubs or tech bullietins but was able to find something here relating to it, makes me proud to be a member of this website.


Last edited by 3000gtVR$; 12-02-2008 at 08:11 PM.
Old 08-23-2010, 11:11 PM   #5
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50


Testing the voltage of the cell using a multimeter out of circuit is not a fair test of the battery. Since the voltage across the cell will drop with the current drawn from it depending upon its condition.

May I suggest a very simple test:

Take the activities of the Linux distributions out of the equation.

#1 Enter the CMOS and (Temporarily) reconfigure the CMOS to boot from a diskette drive (or equivalent) and boot the system using a simple OS - eg. MS DOS, FreeDOS, etc.

#2 In the CMOS set the date and time (make the time match a reliable external timepiece nearby (eg. a reliable digital clock);

#3 Boot the system

#4 Periodically check the time.
Allow the system to run for some time and monitor the system time to see if the time is drifting.
#4 Then turn off the PC and leave it for an extended duration (eg. over night, a day, etc)
#5 Boot the system, enter the CMOS and check the date and time for drift

If you observe that the system date and time have substantially drifted, then you can focus on factors other than the Linux Distros (eg. CMOS battery with low charge, etc).

If the date and time are stable then it may be that the Linux distros have been configured to reset the system clock based on an external reference (eg. the time can be set to follow an external time reference source site on the Internet, etc).

Another thing to observe is whether the drift is cumulative. (ie. the drift gets longer and longer, as opposed to sometimes presenting a large error, and at other times a smaller error - the latter could indicate that something in software is periodically resetting the system clock).

In most cases I have encountered it is either the CMOS battery that is failing, or the motherboard clock circuitry that is at fault in these circumstances. The batteries don't last forever, and the stocks you buy might be years old.

Hope that helps

Old 08-23-2010, 11:18 PM   #6
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
I try to set the date and time even after installing the new battery (and several times with the old one) but when I exit the BIOS, even after pressing F10 to save the changes, the date/time still reverts to 10/01/2007 at 12:00 AM, which I know it's not, and a "CMOS Date/Time Not Set" error keeps coming up.
Old 08-23-2010, 11:55 PM   #7
Registered: Jul 2003
Posts: 363

Rep: Reputation: 50

Nods (ponders)

Did you clear the CMOS settings using the jumper on the motherboard ?
(turn off the system, close the jumper, turn on the system, turn it off, and restore the jumper to its normal position)

It sounds like the BIOS is corrupt if the battery is good, and the settings are not saved when you elect to do that on exit from the CMOS setup.

Please post the motherboard manufacture name and model number to assist.

Old 08-24-2010, 12:00 AM   #8
Senior Member
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
It is an ECS A770M-A motherboard and AMD Phenom X4 9750 CPU.
Old 08-24-2010, 08:04 AM   #9
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158

Load the cell out of the holder by using a 1-10kΩ resistor then read with a DVM/Multimeter.

BTW, look at the date of OP.

Kenny_Strawn look at your other post pertaining to BIOS problem. In addition since you moved the MB. What type of standoff for the MB mounts. Sometimes some MB place a mount point close to the CMOS. I always use a plastic or nylon when possible to prevent a problem in that area. Sometimes a insulated washer on both sides of the screw (top & bottom of MB) when a brass or steel standoff is used in that area to prevent shorting.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I have to reset CMOS every time i want to boot!! corn Linux - Hardware 14 09-14-2010 07:58 AM
LXer: Dead CMOS battery? Network Time Protocol to the rescue LXer Syndicated Linux News 0 08-18-2007 11:30 AM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
CMOS laptop battery question cellist Linux - Hardware 2 05-04-2005 07:45 AM
CMOS battery is dead -- preventing me from installing H'bert Linux - Hardware 10 06-12-2004 01:27 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration