From owner-freebsd-questions Thu Jan 27 9:43:11 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 6C8BD14D11 for ; Thu, 27 Jan 2000 09:43:07 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12Dsqq-000Fvh-00; Thu, 27 Jan 2000 17:37:00 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #1) id 12Dsqq-0001Du-00; Thu, 27 Jan 2000 17:37:00 +0000 Date: Thu, 27 Jan 2000 17:37:00 +0000 From: Ben Smithurst To: Marc Giannoni Cc: freebsd-questions@freebsd.org Subject: Re: CMOS clock and NTP Message-ID: <20000127173700.A4663@strontium.scientia.demon.co.uk> References: <00012700030900.03694@yowzer.archela.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00012700030900.03694@yowzer.archela.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marc Giannoni wrote: > I have a Dell Dimension P100 with a fast CMOS clock. > This clock will gain almost an hour a day, and NTP won't > sync with any servers. (I have NTP working on another host) > > #sysctl kern.clockrate > #kern.clockrate: { hz = 100, tick = 10000, tickadj = 5, profhz = 1024, stathz > = 128 } > > How can I tweak the tick? sysctl says kern.clockrate is readonly!?! look at machdep.i8254_freq instead, I tweaked that on a machine of mine which was gaining about 1 sec/hour and it's worked fine. (I use ntpdate, but with errors like that it was always doing 'step' rather than 'adjust' -- now it can always use 'adjust' as the error is less than 0.5 sec.) -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message