I find that my linux box's time always runs faster than real time.

This is the trouble:
[EMAIL PROTECTED] ~]$ LANG=C uptime
 19:17:58 up 3 days, 23:44,  1 user,  load average: 0.27, 0.21, 0.24
[EMAIL PROTECTED] ~]$ LANG=C date
Mon May 16 19:18:17 CST 2005
[EMAIL PROTECTED] ~]$ LANG=C hwclock
Mon May 16 18:59:42 2005  -0.271290 seconds

I double checked the 2 time with other clocks, the hwclock is accurate. The system clock gets about 18.5 minutes faster after 3 day running.

I noticed this problem several days ago.And I have googled about it, an article saying kernel timer 3 times faster. But its solution seems not suitable for me.

And I have checked that, it does not exist when kernel is 2.4.xx version.
It must be a kernel related problem, now I am using 2.6.11.7 kernel for that 18.5 minutes faster after 3 day.
Knoppix 3.8.1, slax 5.0.x get same result: system get 2-3 minutes faster after 6-8 hour running.


I have tried to address down the problem, but it seems to hard for an average user.
I think it's adjtimx's job to control the system clock's speed. But I can not figure out what parameters to give. And arch linux does not provide it.
Or more directly, the system clock speed is reflected from one of the files in /proc/sys or /sys, maybe that clock's speed can be tuned by write a number into a file there. /proc/sys/dev/rtc/max-user-freq and /sys/block/hda/queue/iosched/est_time may be. But I am not sure of their meaning. /sys/devices/system/timer/timer0 is an empty directory, then what is it for?


Some other information about my machine(this may help to trackdown the problem):
[EMAIL PROTECTED] ~]$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) XP 2500+
stepping : 0
cpu MHz : 1830.099
cache size : 512 KB
physical id : 0
siblings : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
bogomips : 3620.86


[EMAIL PROTECTED] ~]$ lspci
00:00.0 Host bridge: nVidia Corporation: Unknown device 01e0 (rev c1)
00:00.1 RAM memory: nVidia Corporation: Unknown device 01eb (rev c1)
00:00.2 RAM memory: nVidia Corporation: Unknown device 01ee (rev c1)
00:00.3 RAM memory: nVidia Corporation: Unknown device 01ed (rev c1)
00:00.4 RAM memory: nVidia Corporation: Unknown device 01ec (rev c1)
00:00.5 RAM memory: nVidia Corporation: Unknown device 01ef (rev c1)
00:01.0 ISA bridge: nVidia Corporation: Unknown device 0060 (rev a4)
00:01.1 SMBus: nVidia Corporation: Unknown device 0064 (rev a2)
00:02.0 USB Controller: nVidia Corporation: Unknown device 0067 (rev a4)
00:02.1 USB Controller: nVidia Corporation: Unknown device 0067 (rev a4)
00:02.2 USB Controller: nVidia Corporation: Unknown device 0068 (rev a4)
00:04.0 Ethernet controller: nVidia Corporation: Unknown device 0066 (rev a1)
00:06.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a1)
00:08.0 PCI bridge: nVidia Corporation: Unknown device 006c (rev a3)
00:09.0 IDE interface: nVidia Corporation: Unknown device 0065 (rev a2)
00:1e.0 PCI bridge: nVidia Corporation: Unknown device 01e8 (rev c1)
01:07.0 Ethernet controller: Unknown device 168c:001a (rev 01)
02:00.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5961 (rev 01)
02:00.1 Display controller: ATI Technologies Inc: Unknown device 5941 (rev 01)


I am running faster to year 2038, another Y2K day. ^_^
It is very kind of you to help me get knowledge about linux internal. :)

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to