Strange timing problems with BETA7
Ken Smith
kensmith at cse.Buffalo.EDU
Thu Oct 14 06:19:30 PDT 2004
On Thu, Oct 14, 2004 at 03:06:24PM +0200, Herve Boulouis wrote:
> Le 14/10/2004 à 08:53, Ken Smith a écrit:
> >
> > initializing counter-timer
> > Timecounter "counter-timer" frequency 1000000 Hz quality 100
> > Timecounters tick every 10.000 msec
> >
> > I'm worried that you might not have 'counter-timer'.
>
> Here is the relevant part of my dmesg :
>
> FreeBSD 5.3-BETA7 #5: Tue Oct 5 11:50:48 CEST 2004
> root at netra:/usr/obj/usr/src/sys/NETRA
> WARNING: MPSAFE network stack disabled, expect reduced performance.
> Timecounter "tick" frequency 296036546 Hz quality 0
> real memory = 805306368 (768 MB)
> avail memory = 772554752 (736 MB)
> cpu0: Sun Microsystems UltraSparc-II Processor (296.04 MHz CPU)
> cpu1: Sun Microsystems UltraSparc-II Processor (296.04 MHz CPU)
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
> nexus0: <Open Firmware Nexus device>
> pcib0: <U2P UPA-PCI bridge> on nexus0
> pcib0: Psycho, impl 0, version 4, ign 0x7c0, bus B
> pcib0: [FAST]
> pcib0: [GIANT-LOCKED]
> pcib0: [FAST]
> pcib0: [GIANT-LOCKED]
> pcib0: [FAST]
> initializing counter-timer
> Timecounter "counter-timer" frequency 1000000 Hz quality 0
> ...
> Timecounters tick every 10.000 msec
>
> Do not hesitate to ask if you need info or want me to test patches,
> this box is not in production.
>
Do you follow along with cvsup, or by doing full installs from
ISO's? This looks like the configuration before the final set
of timer related patches, I think the last chunk went in late
last week. If you cvsup now you should get everything. Your
case may actually be one of the ones that this set of patches
was supposed to help - if the system chooses to use your CPU's
timer as its primary timecounter it might cause problems because
we don't even attempt to keep the clocks on the individual CPUs
in sync. The last set of patches sets it up so that on MP
systems the "quality" of the CPU's timers gets demoted so that
other counters should wind up being chosen as the primary
timecounter (in this case "counter-timer" should always be
chosen).
--
Ken Smith
- From there to here, from here to | kensmith at cse.buffalo.edu
there, funny things are everywhere. |
- Theodore Geisel |
More information about the freebsd-sparc64
mailing list