Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Mar 2004 16:11:37 +0800
From:      Stephen Liu <satimis@icare.com.hk>
To:        questions@freebsd.org
Subject:   Re: The clock is running too fast
Message-ID:  <200403191611.37914.satimis@icare.com.hk>
In-Reply-To: <FGEIJLCPFDNMGDOKNBABMEBFCIAA.flowers@users.sourceforge.net>
References:  <FGEIJLCPFDNMGDOKNBABMEBFCIAA.flowers@users.sourceforge.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan,

Thanks for your advice.

> I had a similar problem on one of the machines at work.  Here is a memo I
> made to myself to remind me of how to fix the problem in the future:
>
> The "ACPI-safe" Timecounter does not work (it is way, WAY too fast).  To
> get around this, add the following line to /etc/sysctl.conf:
>
> kern.timecounter.hardware=i8254

Added above line to /etc/sysctl.conf

$ cat /etc/sysctl.conf
vfs.usermount=1
kern.timecounter.hardware=i8254

Now only 2 lines in this file.

I have adjusted the clock thereafter and will check it again later

> There are multiple pieces of hardware capable of supplying timing
> information to the OS.  "dmesg | grep Timecounter" should give you a list
> of all such devices.
>
> I think this is an ACPI-related problem, since that is the technology I
> understand the least at the moment.

$ dmesg | grep Timecounter
Timecounter "i8254" frequency 1193182 Hz quality 0
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
Timecounter "TSC" frequency 350797051 Hz quality 800
Timecounters tick every 10.000 msec

Shall I run 'ntc' to synchronize the clock.

B.R.
Stephen



> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Stephen Liu
> Sent: March 18, 2004 21:47
> To: questions@freebsd.org
> Subject: The clock is running too fast
>
>
> Hi folks,
>
> AMD CUP
> FreeBSD 5.2
>
> The clock on KDE desktop is running on double speed compelling me to adjust
> it
> periodically.  Kindly advise how to fix this problem.
>
> TIA
>
> B.R.
> Stephen Liu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403191611.37914.satimis>