Date: Thu, 27 Jan 2000 17:37:00 +0000 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Marc Giannoni <mgiannoni@capu.net> Cc: freebsd-questions@freebsd.org Subject: Re: CMOS clock and NTP Message-ID: <20000127173700.A4663@strontium.scientia.demon.co.uk> In-Reply-To: <00012700030900.03694@yowzer.archela.net> References: <00012700030900.03694@yowzer.archela.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000127173700.A4663>
