From owner-freebsd-newbies@FreeBSD.ORG Fri Nov 21 21:59:36 2003 Return-Path: Delivered-To: freebsd-newbies@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AE8F16A4CE for ; Fri, 21 Nov 2003 21:59:36 -0800 (PST) Received: from hotmail.com (bay1-dav30.bay1.hotmail.com [65.54.244.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1BD1743FDD for ; Fri, 21 Nov 2003 21:59:35 -0800 (PST) (envelope-from taca98@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 21 Nov 2003 21:59:35 -0800 Received: from 66.92.99.129 by bay1-dav30.bay1.hotmail.com with DAV; Sat, 22 Nov 2003 05:59:34 +0000 X-Originating-IP: [66.92.99.129] X-Originating-Email: [taca98@hotmail.com] From: "kanematsu" To: Date: Sat, 22 Nov 2003 00:59:33 -0500 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 22 Nov 2003 05:59:35.0016 (UTC) FILETIME=[CE222E80:01C3B0BD] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: clock runs very fast on 5.1R X-BeenThere: freebsd-newbies@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kanematsu List-Id: Gathering place for new users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2003 05:59:36 -0000 Clock on my server runs very fast. It is about twice faster,=20 and I think it is not good for a server. I'm running 5.1R. =20 The problem did not occur under 4.4R, 4.7R, or 4.8R=20 on the same PC. I know FreeBSD doesn't read time=20 from CMOS Clock. Right after rebooting the machine,=20 date command shows me a correct time because of=20 xntpd in rc.conf. The PC has AMD 350 MHz IBM Aptiva. =20 I pasted information of Timercounter =1B$B!H=1B(Bi8254=1B$B!I=1B(B and = =1B$B!H=1B(BTSC=1B$B!I=1B(B=20 from dmesg.today below. =20 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@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) =20 I added each line below on my kernel and configured as someone=20 suggested me but it didn=1B$B!G=1B(Bt work.=20 =20 #options CLK_USE_TSC_CALIBRATION =20 =20 #options TIMER_FREQ=3D2359004 =20 #options CLK_USE_i8254_CALIBRATION =20 =20 Also, someone suggested me that I might modify clock.c file in=20 /usr/src/sys/i386/isa/ but I didn=1B$B!G=1B(Bt know how to modify it. =20 Does anyone have any idea or know where should I ask? Kanematsu