From owner-freebsd-current Fri May 17 09:41:33 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA00258 for current-outgoing; Fri, 17 May 1996 09:41:33 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA00252 for ; Fri, 17 May 1996 09:41:29 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id CAA29856; Sat, 18 May 1996 02:40:13 +1000 Date: Sat, 18 May 1996 02:40:13 +1000 From: Bruce Evans Message-Id: <199605171640.CAA29856@godzilla.zeta.org.au> To: freebsd-current@freebsd.org, syssgm@devetir.qld.gov.au Subject: Re: Wildly inaccurate clock calibration. Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >I don't know how much you care about my ancient hardware, but I got this >from the new clock calibration code when run on my 16Mhz 386sx: >May 15 13:02:44 stupid /kernel: FreeBSD 2.2-CURRENT #45: Wed May 15 01:06:31 EST 1996 >May 15 13:02:44 stupid /kernel: syssgm@stupid.devetir.qld.gov.au:/usr/src/sys/compile/STUPID >May 15 13:02:44 stupid /kernel: Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 63817 Hz >May 15 13:02:45 stupid /kernel: 63817 Hz differs from default of 1193182 Hz by more than 1% >May 15 13:02:45 stupid /kernel: CPU: i386DX (386-class CPU) >and on a subsequent reboot: >May 16 17:01:33 stupid /kernel: 63814 Hz differs from default of 1193182 Hz by more than 1% You are experienced enough to debug it :-). Start by defining option CLK_CALIBRATION_LOOP and booting with -v. Each calibration should take about 1 second if the mc14* clock is working. Bruce