Re: Clock Problem?



On 2007-04-25 18:52, Paul J Gans wrote:
birre <spamtrap@xxxxxxxxxxxx> wrote:
On 2007-04-24 18:07, Unruh wrote:
birre <spamtrap@xxxxxxxxxxxx> writes:

He can configure ntp, and don't need to use the hardware clock at all.
If his system gains a sec per sec ( Ie runs a factor of 2 too fsst) ntp can
do nothing It cannot compensate for so gross an error.



/birre

Yeah , very true , but this is not the same clock.

The time is updated using a counter in the kernel, not by reading the
hwclock.

So, what is the problem, a drifting hwclock, or the system ticks ?
Maybe something added something faulty in /etc/adjtime .

Well, we are trying to find out. So far he's reported that
Ubuntu has the same problem. He also has windows available
and I've asked him to see if Windows handles the time correctly.

If it does not, then it is almost certainly the motherboard.
And that would be my guess.

If Windows *does* handle the clock correctly, then there is
something faulty, probably in /etc/adjtime as you sugget.

We will see.


I have seen this problem with suse as a vmware client when windows is the
host for vmware, and I don't remember what the problem was, if it even was found.

Unless there is a file that got corrupted by changing the clock by hand
or with ntpdate while ntp was running, it looks as a combination of
some hardware and something in this kernel.

Maybe someone like Alan Cox can find it, but I'm lost, since everything that
com to my mind is already tested here.

Even the clock=pit boot option, but I think this was only when running
the 32 bits smp kernel on amd64 dual core , and maybe only in suse 10.1
But in this case, the clock was a minor problem, since most other things
was going crazy.

/birre
.



Relevant Pages

  • Re: Does Fedora mess up the clock for Windows?
    ... the clock to match the NTP server. ... Running the AtomTime95 program under windows would probably make ... Making sure that the time zone is the same under both ...
    (Fedora)
  • Re: Need to implement a calendar clock with millisecond resolution, please help.
    ... clock, not a per-CPU counter, since those may not be or stay in sync. ... I'm confident Windows does provide such a capability, ... standard for this called NTP ... they provide this support for NTP free presumably in the hope that ...
    (comp.lang.c)
  • Re: NTP Synchronisation Problem
    ... >> You dont say which version of Windows or include any config files so its ... >> SNTP client to an NTP server. ... >> Time service doesn't take into account clock drift, clock reliability, ...
    (comp.unix.sco.misc)
  • Re: System clock modified after crash
    ... > advance/retard the clock at daylight savings time boundaries. ... in the spring you get the pleasure of seeing windows ... > locale and show times and dates in your local time. ... Most ISPs have a local NTP server, but using NTP to stabilise is defintitely ...
    (comp.os.linux.misc)
  • Re: Clock Problem?
    ... If his system gains a sec per sec ntp can ... do nothing It cannot compensate for so gross an error. ... Maybe something added something faulty in /etc/adjtime. ... and I've asked him to see if Windows handles the time correctly. ...
    (alt.os.linux.suse)