Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2004 10:55:25 -0800 (PST)
From:      Doug White <dwhite@gumbysoft.com>
To:        Arjan Van Leeuwen <avleeuwen@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Timecounter problems on 5.3 - things take twice as long
Message-ID:  <20041207105412.I30209@carver.gumbysoft.com>
In-Reply-To: <d86b487304120706252944058c@mail.gmail.com>
References:  <d86b4873041202105422e501a2@mail.gmail.com>  <d86b487304120604542b89f02b@mail.gmail.com> <d86b487304120706252944058c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 7 Dec 2004, Arjan Van Leeuwen wrote:

> On Mon, 6 Dec 2004 19:07:05 -0800 (PST), Doug White
> <dwhite@gumbysoft.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041207105412.I30209>