From owner-freebsd-hackers Tue Apr 11 1:57:32 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id E1DFF37B897 for ; Tue, 11 Apr 2000 01:57:26 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id KAA28637; Tue, 11 Apr 2000 10:56:06 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Greg Black Cc: FreeBSD-hackers@FreeBSD.ORG Subject: Re: Kernel adjustment for clock drift In-reply-to: Your message of "Tue, 11 Apr 2000 12:02:28 +1000." Date: Tue, 11 Apr 2000 10:56:06 +0200 Message-ID: <28635.955443366@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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