Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 16:16:55 -0500
From:      "tony" <tony@tntpro.com>
To:        <phk@phk.freebsd.dk>
Cc:        <current@FreeBSD.ORG>
Subject:   RE: Problems with timekeeping 
Message-ID:  <CNEFKDNEFDGFAHFOFONBCEAPDGAA.tony@tntpro.com>
In-Reply-To: <5296.1045123157@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
as you can see below that fixed it! before every time I did an nptdate
command it would be a second off at least.
Thank you for the help!

Tony

root:~# sysctl kern.timecounter.hardware=i8254
kern.timecounter.hardware: ACPI-safe -> i8254
root:~# ntpdate ntp.nasa.gov
13 Feb 16:07:05 ntpdate[12753]: step time server 198.123.30.132
offset -75.755911 sec
root:~# ntpdate ntp.nasa.gov
13 Feb 16:07:07 ntpdate[12754]: adjust time server 198.123.30.132
offset -0.002553 sec
root:~# ntpdate ntp.nasa.gov
13 Feb 16:07:09 ntpdate[12757]: adjust time server 198.123.30.132 offset
0.001302 sec
root:~# ntpdate ntp.nasa.gov
13 Feb 16:07:10 ntpdate[12758]: adjust time server 198.123.30.132
offset -0.003793 sec
root:~# ntpdate ntp.nasa.gov
13 Feb 16:07:12 ntpdate[12759]: adjust time server 198.123.30.132 offset
0.003071 sec
root:~#

-----Original Message-----
From: owner-freebsd-current@FreeBSD.ORG
[mailto:owner-freebsd-current@FreeBSD.ORG]On Behalf Of
phk@phk.freebsd.dk
Sent: Thursday, February 13, 2003 2:59 AM
To: tony
Cc: current@FreeBSD.ORG
Subject: Re: Problems with timekeeping


In message <CNEFKDNEFDGFAHFOFONBIEAEDGAA.tony@tntpro.com>, "tony" writes:
>My time clock seems to do two ticks for every one that it should do. I'm
not
>sure where to start on fixing this. I had 4.7 installed and did a clean
>install of 5.0 release thats when I noticed the time keeping weirdness.. it
>always kept time perfectly before. I cvsuped to tag=RELENG_5_0 and built
>installed built kernel installed. but no change...
>
>Any ideas?

Please try:

	sysctl kern.timecounter.hardware=i8254


Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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