Subject: Still "SMP hiccups", better though
To: None <current-users@netbsd.org>
From: Martin S. Weber <Ephaeton@gmx.net>
List: current-users
Date: 01/29/2005 09:44:56
(F'up: http://mail-index.netbsd.org/current-users/2004/06/02/0008.html)

Moin current users,

I still have those SMP intr problems as sketched in the above mail. In
the meantime I'm at 2.99.14, and the problems have partially gone away
(e.g. it's possible to listen to music with xmms without the music stopping
from time to time), but part of it still is there. Most notably you can see
the problems when using X, that is, moving the mouse or the keyboard. The
mouse pointer freezes from time to time (w/o disk activity) just to jump
on, and/or the keyboard stops delivering keypresses just to deliver some
of one at once (e.g. if I type "hello" and it has a "hiccup" at the first
'l' of "hello" something like "helllo" will result [typically the keypress
|                                ^^ 1st 'l'
where it had some hiccup is duplicated, followed by all the other keys I've
hit since the hiccup start].

Back then, love seemed to be the only one seeing the same phenomen
(http://mail-index.netbsd.org/current-users/2004/06/02/0011.html), how
about now ? No one ?

Same portion of my dmesg as back then:

NetBSD 2.99.15 (CIRCE.MP) #0: Fri Jan 28 14:32:50 CET 2005
        root@circe.entropie.net:/usr/obj/sys/arch/i386/compile/CIRCE.MP
total memory = 511 MB
avail memory = 498 MB
BIOS32 rev. 0 found at 0xfd8b0
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (HP       MARSHAL     )
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: Intel Pentium III (686-class), 731.09 MHz, id 0x683
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383fbff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 256 KB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: calibrating local timer
cpu0: apic clock running at 132 MHz
cpu0: 8 page colors
cpu1 at mainbus0: apid 0 (application processor)
cpu1: starting
cpu1: Intel Pentium III (686-class), 731.02 MHz, id 0x683
cpu1: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 383fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu1: features 383fbff<FXSR,SSE>
cpu1: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu1: L2 cache 256 KB 32B/line 8-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 3 is type ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 16 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xfec01000, version 11, 16 pins
mpbios: WARNING: pin 17 for apic 3 too high; assuming ACPI global int value

If you wonder about CIRCE.MP, don't; the problems appear with GENERIC.MP, too.

How to debug/fix this ? INTRDEBUG + LOCKDEBUG + MPVERBOSE + MPDEBUG ? Add pcibios
+ pcibios_intr_fixup ? 

For the record, this is a HP Visualize-X workstation. There's one bios update
out there, but I don't think it'll help (or maybe ... but I'm not too keen to
patch a running system :)

Tia,

-Martin