Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 1998 13:24:12 -0600 (CST)
From:      Kevin Day <toasty@home.dragondata.com>
To:        julian@whistle.com (Julian Elischer)
Cc:        current@FreeBSD.ORG
Subject:   Re: MediaGX and calcru: negative time
Message-ID:  <199811241924.NAA19240@home.dragondata.com>
In-Reply-To: <3651D4A1.7566F4CF@whistle.com> from Julian Elischer at "Nov 17, 98 11:55:13 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Kevin Day wrote:
> > 
> > On a possibly related note, after upgrading to -current:
> > 
> > > FreeBSD 2.2.7-RELEASE #0: Wed Oct 21 16:22:35 CDT 1998
> > >     devel@kevin1.touchmaster:/usr/src/sys/compile/DEVEL
> > > CPU: Cyrix GXm (0.00-MHz 586-class CPU)
> > >   Origin = "CyrixInstead"  Id = 0x540  DIR=0x3346  Stepping=3  Revision=3
> > > real memory  = 63963136 (62464K bytes)
> > > avail memory = 60252160 (58840K bytes)
> > 
> > FreeBSD 3.0-RELEASE #0: Mon Nov 16 16:10:02 CST 1998
> >     root@kevin1.touchmaster:/usr/src/sys/compile/DEVEL
> > Timecounter "i8254"  frequency 1193182 Hz  cost 40336 ns
> > Timecounter "TSC"  frequency 20172892 Hz  cost 180 ns
> > CPU: Cyrix GXm (20.17-MHz 586-class CPU)
> >   Origin = "CyrixInstead"  Id = 0x540  Stepping=0  DIR=0x3346
> >   Features=0x808131<FPU,TSC,MSR,CX8,CMOV,MMX>
> > real memory  = 63963136 (62464K bytes)
> > avail memory = 60243968 (58832K bytes)
> > 
> > The clock now runs super fast.
> 

To follow up..... Patching according to PR/6630 (and probing 4 times, not 2)
and modifying i8254_get_timecount still doesn't have the problem completely
fixed.

I now see:

FreeBSD 3.0-RELEASE #4: Tue Nov 24 13:11:34 CST 1998
    devel@kevin1.touchmaster:/usr/src/sys/compile/DEVEL
Calibrating clock(s) ... TSC clock: 233904016 Hz, i8254 clock: 1217253 Hz
1217253 Hz differs from default of 1193182 Hz by more than 1%
Timecounter "i8254"  frequency 1193182 Hz  cost 4419 ns
Timecounter "TSC"  frequency 210479132 Hz  cost 193 ns

interrupt      total      rate
clk0 irq0       34825       89
rtc0 irq8       44567      114


Any further suggestions? This is much closer, but the clock still runs too
quickly.

Kevin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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