Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2000 10:56:06 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Greg Black <gjb-freebsd@gba.oz.au>
Cc:        FreeBSD-hackers@FreeBSD.ORG
Subject:   Re: Kernel adjustment for clock drift 
Message-ID:  <28635.955443366@critter.freebsd.dk>
In-Reply-To: Your message of "Tue, 11 Apr 2000 12:02:28 %2B1000." <nospam-38f287b4dd01d59@maxim.gba.oz.au> 

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

Hi Greg,

I got your email, but didn't get down to it yet.

On 3.4 you need to set the frequency of the relevant timecounter.

If you 
	grep Timecounter /var/run/dmesg.boot
and look at the *last line*, it will say either TSC or i8254.

You can then modify the frequency with the corresponding sysctl
variable:
	machdep.i8254_freq: 1193182
or
	machdep.tsc_freq: 400911216

and set the frequency there.

Make sure that you have APM firmly disabled in the BIOS.

7 seconds per day is 81 PPM and not atypical for PC hardware.

Consider using a newer NTP (www.ntp.org), the burst mode is
pretty good for dial-up/demand lines.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | 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-hackers" in the body of the message




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