From owner-freebsd-stable@FreeBSD.ORG Tue Dec 7 18:55:25 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED51D16A4CE for ; Tue, 7 Dec 2004 18:55:25 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id D351F43D1D for ; Tue, 7 Dec 2004 18:55:25 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id C8F6F72DF4; Tue, 7 Dec 2004 10:55:25 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id C714472DD4; Tue, 7 Dec 2004 10:55:25 -0800 (PST) Date: Tue, 7 Dec 2004 10:55:25 -0800 (PST) From: Doug White To: Arjan Van Leeuwen In-Reply-To: Message-ID: <20041207105412.I30209@carver.gumbysoft.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Timecounter problems on 5.3 - things take twice as long X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 18:55:26 -0000 On Tue, 7 Dec 2004, Arjan Van Leeuwen wrote: > On Mon, 6 Dec 2004 19:07:05 -0800 (PST), Doug White > wrote: > > On Mon, 6 Dec 2004, Arjan Van Leeuwen wrote: > (...) > > > > The rate on 'clk' should be 1000, so it looks like your system doesn't > > like HZ=1000. Try sticking this in loader.conf and rebooting: > > > > kern.hz="100" > > > > If that works then its like your motherboard has Issues(tm). > > I think it certainly has issues, but it's something else :). This is > what happens with kern.hz=100: > > interrupt total rate > irq1: atkbd0 2 0 > irq6: fdc0 10 0 > irq8: rtc 53803 127 > irq13: npx0 1 0 > irq16: atapci0 14751 35 > irq21: rl0 7180 17 > irq24: fwohci0 1 0 > irq28: sym0 30 0 > irq29: sym1 30 0 > irq31: fxp0 3236 7 > irq0: clk 21016 49 > Total 100060 237 > > In other words, exactly the same thing. I should also note that > earlier versions of 5-CURRENT worked correctly (-CURRENT from june 7). > Is there anything else I could try? Replace the motherboard? :) The i8254 hasn't changed in years, so I doubt we're programming it wrong. Something along the way is applying a /2 divisor. Maybe its been broken forever and you only recnetly noticed due to the HZ change? -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org