Re: Computer loosing time



On 05/15/2008 12:12 PM, Rashkae wrote:


Thanks all for the suggestion.. Unfortunately, after a grueling surgery
to replace my power supply, there is no change. The system clocks still
looses about 5 seconds per hour (note that the CMOS clock remains on the
right time, which can be verified with hwclock -r)

Both power supply (the old and the new) check out ok in the BIOS and on
a power supply tester.


man hwclock makes for some interesting reading :-) thanks for posting
that as I never even knew it existed.

FWIW: The CMOS battery can be dead as a doornail (where did that term
come from anyway?) and Ubuntu still works just fine. I have an old Clevo
lapbrick where the CMOS died a few years ago. I replaced it with an old
CMOS battery off of a motherboard that was in a junkbox in the garage,
and it ran Ok until a few weeks ago. It is dead again & it's too much of
a bother to tear the laptop apart and replace it, so I just set it at
BIOS time & off I go. Battery has been dead for 2 years too... Ubuntu
pops right in and the clock keeps pace with my other systems - pretty
much to the second.

sudo hwclock -r on that laptop (Hardy) shows:

-0.514280 seconds

and on this desktop (Gutsy with working CMOS etc)

-0.706494 seconds

and -0.265779 seconds on another desktop (Hardy).

Time on the desktops are configured for ntp via pool.ntp.org servers, on
the laptop with the dead CMOS it has not been configured and is at it's
default (manual). However, I seem to recall that at boot, the laptop
does go out to get it's initial time from the Canonical ntp server even
if ntp is not installed.






--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: OT: Re: Computer loosing time
    ... Time on the desktops are configured for ntp via pool.ntp.org servers, ... comments regarding the CMOS battery. ... dead CMOS battery _Ubuntu_ will run fine. ... My CMOS clock and battery are both perfectly fine. ...
    (Ubuntu)
  • Re: Bad clock setting hosed our entire domain
    ... So if one of your DC's has a bad CMOS battery it will not replicate to any other computer in your network. ... So you will only have to worry about the DC that has the bad CMOS battery and fix that not all DC's. ... If we were to use a hardware clock attached to a serial port, is there a way to make sure Windows syncs to that clock before it serves data to the domain? ... Our event logs were overflowing with errors, most of them Kerberos related, which is no surprise with the time problem. ...
    (microsoft.public.windows.server.active_directory)
  • ntpd and cmos clock update
    ... I think I saw more than once speculations that FreeBSD updates CMOS ... clock when time is set, so CMOS clock value should always be very close ... I believe that ntpd calls settime-family functions only if time offset ...
    (freebsd-hackers)
  • Re: Is the x86 clock stoppable?
    ... At the time I was told that CMOS ... to be used instead of the power or reset button as ... If you want a stop clock x86, ...
    (comp.arch)
  • Re: BIOS kaput?
    ... The OP is describing classic symptoms of CMOS battery failure. ... I've got an HP Compac nc6000 laptop at work. ... Is my BIOS kaput? ...
    (comp.sys.hp.hardware)