From owner-freebsd-i386@FreeBSD.ORG Sat May 10 12:55:46 2008 Return-Path: Delivered-To: freebsd-i386@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18E77106567B for ; Sat, 10 May 2008 12:55:46 +0000 (UTC) (envelope-from Jeff@PointHere.net) Received: from postmaster.pointhere.net (64-145-20-227.client.dsl.net [64.145.20.227]) by mx1.freebsd.org (Postfix) with ESMTP id A7FAF8FC1A for ; Sat, 10 May 2008 12:55:45 +0000 (UTC) (envelope-from Jeff@PointHere.net) Received: from warpcore (warpcore.pointhere.net [192.168.2.22]) by postmaster.pointhere.net (Postfix) with ESMTP id 54CFCB40C65; Sat, 10 May 2008 08:24:17 -0400 (EDT) From: "Jeffrey Brower" To: "'Bruce Evans'" References: <200805100030.m4A0U4g2010514@freefall.freebsd.org> <20080510204712.V2970@besplex.bde.org> Date: Sat, 10 May 2008 08:23:32 -0400 Organization: Green Visor, Inc. Message-ID: <08da01c8b298$aa973af0$1602a8c0@warpcore> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <20080510204712.V2970@besplex.bde.org> Thread-Index: AciyjOLIUkIY5lAvQTCrGUXkkjawNQACwRAA Cc: freebsd-i386@freebsd.org Subject: RE: i386/104867: Clock running at 2x speed of wall clock X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeff@PointHere.net List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2008 12:55:46 -0000 Wow! I wish I could have found you back in 2006! This sounds like the perfect solution as my clock was in solid error and the problem was never transient. I still have that board so I might pull it down just to prove this, but I think you have a solution for my problem here. I hope it helps someone correct their computer clock. Thanks for replying! -- Jeff -----Original Message----- From: Bruce Evans [mailto:brde@optusnet.com.au] Sent: Saturday, May 10, 2008 6:58 AM To: Jeffrey Brower Cc: freebsd-i386@freebsd.org Subject: Re: i386/104867: Clock running at 2x speed of wall clock On Sat, 10 May 2008, Jeffrey Brower wrote: > I verified that the timecounter was indeed i8254 after I recompiled > with that option and it still ran double time. With the i8254 and precisely double time, just type in the correct (doubled) freqency to "sysctl machdep.i8254_freq=..." With the APCI-fast timecounter, first fix the bug that the corresponding sysctl is read-only. > Everything I tried failed - even NTP gave up because it was constantly > slewing. No one could solve it and I never got an answer so I ended > up NTP can't reasonably handle a 2x error in the clock frequency. Nor can fixing a 2x error work if the error is transient. Bruce