clock runs very fast on 5.1R
kanematsu
taca98 at hotmail.com
Fri Nov 21 21:59:36 PST 2003
Clock on my server runs very fast. It is about twice faster,
and I think it is not good for a server. I'm running 5.1R.
The problem did not occur under 4.4R, 4.7R, or 4.8R
on the same PC. I know FreeBSD doesn't read time
from CMOS Clock. Right after rebooting the machine,
date command shows me a correct time because of
xntpd in rc.conf. The PC has AMD 350 MHz IBM Aptiva.
I pasted information of Timercounter “i8254” and “TSC”
from dmesg.today below.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #15: Thu Nov 20 00:54:10 EST 2003
root at abc.abc.com:/usr/src/sys/i386/compile/KERNELABC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc043c000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc043c1cc.
Timecounter "i8254" frequency 1193182 Hz
Timecounter "TSC" frequency 349180042 Hz
CPU: AMD-K6(tm) 3D processor (349.18-MHz 586-class CPU)
I added each line below on my kernel and configured as someone
suggested me but it didn’t work.
#options CLK_USE_TSC_CALIBRATION
#options TIMER_FREQ=2359004
#options CLK_USE_i8254_CALIBRATION
Also, someone suggested me that I might modify clock.c file in
/usr/src/sys/i386/isa/ but I didn’t know how to modify it.
Does anyone have any idea or know where should I ask?
Kanematsu
More information about the freebsd-newbies
mailing list