System clock running too fast
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
The CPU of this machine is underclocked.
It's a Pentium-1 133Mhz running at 75Mhz. All other hardware is running in its specifications. Can underclocking the CPU make the clock running faster? (I never saw a clock running slower on overclocked CPUs. 8-) )
root@server:~> uname -r
2.4.26-grsec
root@server:~> cat /proc/cpuinfo
processor : 0vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 12
cpu MHz : 75.172fdiv_bug : nohlt_bug : nof00f_bug : yescoma_bug : no
fpu : yesfpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 149.91
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs4ThFGK1OIvVOP4RAk/5AKCJH2XinQupYoYVU0X9uMIJFxb7VwCfTSQ4 cwGH1+bb6XXBxA3XcXLh4cU=
=krSc
-----END PGP SIGNATURE-----
Quoted 3 lines · Michael Buesch
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
Try tickadj (comes with ntpd):
tickadj 9997
Quoted 8 lines · Michael Buesch
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
Have you tried enabling CONFIG_HPET_TIMER *or* CONFIG_X86_PM_TIMER to see if it helps? They support high accuracy timers.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 2 lines · you
Have you tried enabling
CONFIG_HPET_TIMER*or*CONFIG_X86_PM_TIMERto see if it helps? They support high accuracy timers.
Do they need special hardware support, that may be unavailable in such an old machine? You remember it's a Pentium 1 Socket 7 With EDO Ram.
If not, I will try the options on my next planned kernel-update.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs5UuFGK1OIvVOP4RAs0HAJ92YmqGps1iKEibRaFsJPdlERoP5gCgj1qL bTa7dFBC9NHk0QfIUP42/aM=
=Lhlo
-----END PGP SIGNATURE-----
Quoted 8 lines · Michael Buesch
Quoted 2 lines · you
Have you tried enabling
CONFIG_HPET_TIMER*or*CONFIG_X86_PM_TIMERto see if it helps? They support high accuracy timers.Do they need special hardware support, that may be unavailable in such an old machine? You remember it's a Pentium 1 Socket 7 With EDO Ram.
If not, I will try the options on my next planned kernel-update.
Oops... I didn't notice the Pentium I stuff. This discards CONFIG_HPET_TIMER and will probably leave the CONFIG_X86_PM_TIMER out as, AFAIK, it depends on ACPI. I don't know if your machine does have a working ACPI implementation, even more if it will be able to support CONFIG_X86_PM_TIMER. So, I must confess my total ignorance on such an old hardware. Anyone?
Quoted 5 lines · Michael Buesch
Hi,
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
you should adjust it with adjtimex (there's a debian package)
Signature · 4 lines
Benoît Dejean JID: [email protected] http://gdesklets.gnomedesktop.org http://www.paulla.asso.fr
Quoted 9 lines · On Tue, 25 May 2004, [ISO-8859-1] Beno�t Dejean wrote:
Quoted 5 lines · Michael Buesch
Hi,
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
you should adjust it with adjtimex (there's a debian package)
Ahahh.. Did you accidentally set CONFIG_MELAN in .config? That would do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime (used to be you could delete it), now I think you
need to truncate it. Sometimes this file gets corrupt and it takes many settings of stime to undue the corrupt-ness.
Cheers,
Dick Johnson
Penguin : Linux version 2.4.26 on an i686 machine (5570.56 BogoMips).
Note 96.31% of all statistics are fiction.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 1 line · Richard B. Johnson
Ahahh.. Did you accidentally set
CONFIG_MELANin .config? That would
mb@server:~/kernel> cat .config |grep MELAN
# CONFIG_MELAN is not set
Quoted 4 lines
do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime (used to be you could delete it), now I think you
need to truncate it. Sometimes this file gets corrupt and it takes many settings of stime to undue the corrupt-ness.
Done. Let's see if it works.
- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAs63UFGK1OIvVOP4RAob7AKCdKfq0CZ4bO1bU2/4JVmz+qReX8ACfShMA PkLDDsstNG6geWzQImh1ur0=
=bYEy
-----END PGP SIGNATURE-----
Quoted 9 lines · Richard B. Johnson
Quoted 7 lines · On Tue, 25 May 2004, [ISO-8859-1] Benot Dejean wrote:
Quoted 5 lines · Michael Buesch
Hi,
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
Quoted 8 lines
Quoted 2 lines
you should adjust it with adjtimex (there's a debian package)
Ahahh.. Did you accidentally set
CONFIG_MELANin .config? That would do about 1 second fast per hour. If not, then do: echo "">/etc/adjtime (used to be you could delete it), now I think you
need to truncate it. Sometimes this file gets corrupt and it takes many settings of stime to undue the corrupt-ness.
no
cat /etc/adjtime
-0.541692 1084270031 0.000000
1084270031
LOCAL
before, my /etc/adjtime was empty, i was loosing 4.36s / 24H i sync my clock every 15days, and the difference is always < 0.1s (-0.04 average)
so i'm pretty happy with it
Signature · 4 lines
Benoît Dejean JID: [email protected] http://gdesklets.gnomedesktop.org http://www.paulla.asso.fr
Quoted 9 lines · Michael Buesch
I've got the problem with my server, that the system-clock is running really fast. It's running over one second too fast in one hour (aproximately).
The CPU of this machine is underclocked.
It's a Pentium-1 133Mhz running at 75Mhz. All other hardware is running in its specifications. Can underclocking the CPU make the clock running faster? (I never saw a clock running slower on overclocked CPUs. 8-) )
Try setting up ntpd to correct for your system's drift (1sec/hour ~= 277ppm drift).
thanks
-john