[SWLUG] System clock loosing time
steve at nexusuk.org
steve at nexusuk.org
Tue Nov 16 11:40:21 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, 14 Nov 2004, Neil Jones wrote:
> Is this a cmos battery problem or something?
> Everything else seems to work fine.
The hardware clock (and cmos battery) should only affect the time whilest
the machine is powered off - while the kernel is running the time is
maintained by the software, and then synced back to the hardware clock on
shutdown.
The most common cause of the clock losing time whilest the machine is
powered on is some broken kernel module turning off interrupts for long
periods of time (I have especially noticed this with the LIRC modules).
You said that it's got worse - have you installed any new hardware or
changed the kernel recently?
> Is there some way of synchonising the computer to a time source on the net?
You can use ntpd to sync with NTP time sources on the internet, Fedora
Core 3 will set it up automagically for you on installation, or install
and configure the ntpd package on other distributions. However, if the
clock is going way too wrong then ntpd will refuse to sync it since it
will consider it too broken to be of use.
In that case, I'd suggest trying to unload as many unnecessary kernel
modules as possible and see if the problem dissappears, then you could
trace it back to one specific driver.
- Steve Jabber: steve at nexusuk.org Web: http://www.nexusuk.org/
Servatis a periculum, servatis a maleficum - Whisper, Evanescence
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Public key available at http://www.nexusuk.org/pubkey.txt
iD8DBQFBmecp5zUOsIV3bqERAnHSAJ0WDo40Nc6MhwM68zfK6Sb2MH3BlACfT2b+
nXtMYnBvPIUF4WX7Q1EnurY=
=cEJW
-----END PGP SIGNATURE-----
More information about the Swlug
mailing list