Subject: Re: MI PCI fixes which may improve i386 SMP branch interrupt
To: None <sommerfeld@netbsd.org>
From: Matt Thomas <matt@3am-software.com>
List: tech-smp
Date: 05/18/2002 23:50:51
At 03:24 PM 5/18/2002, Bill Sommerfeld wrote:
>Folks may want to try the test kernels in:
>
>         ftp.netbsd.org:/pub/NetBSD/arch/i386/mptest/test-20020518/

Since GENERIC doesn't boot when you have 3GB of RAM, I built my own
custom kernel based on my normal i386 config files.

>dmesg output from a successful boot (or an unsuccessful boot, if you
>can rig up a serial console or otherwise capture the output) would be
>appreciated.  GENERIC.MPDEBUG output will contain more verbose
>information on interupt routing and so is preferred.

NetBSD 1.5ZC (PILOT.MP) #4: Sat May 18 23:32:22 PDT 2002
     matt@pilot.local:/export/i386/kobj/PILOT.MP
total memory = 3071 MB
avail memory = 2951 MB
using 4096 buffers containing 16384 KB of memory
BIOS32 rev. 0 found at 0xf0a70
PCI BIOS rev. 2.1 found at 0xf0aa0
PCI IRQ Routing Table rev. 1.0 found at 0xf1030, size 208 bytes (11 entries)
PCI Interrupt Router at 000:15:0 (ServerWorks OSB4 SouthBridge)
pci_intr_fixup: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0200
Warning: unable to fix up PCI interrupt routing
pci_addr_fixup: 000:04:0 0x1180 0x0478 new address 0xc0000000
pci_addr_fixup: 000:04:1 0x1180 0x0478 new address 0xc0001000
mainbus0 (root)
mainbus0: scanning 0x9f000 to 0x9f3f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf5290
mainbus0: MP config table at 0xf4e84, 292 bytes long
mainbus0: Intel MP Specification (Version 1.4) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 3 (boot processor)
cpu0: Intel Pentium III (Coppermine) Pentium III (686-class), 800.08 MHz
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,FGPAT,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 133 MHz
cpu0: 8 page colors
cpu0: kstack at 0xf3ecd000 for 8192 bytes
cpu0: idle pcb at 0xf3ecd000, idle sp at 0xf3ecef98
cpu1 at mainbus0: apid 0 (application processor)
cpu1: starting
cpu1: Intel Pentium III (Coppermine) Pentium III (686-class), 800.03 MHz
cpu1: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 383fbff<PGE,MCA,CMOV,FGPAT,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
cpu1: kstack at 0xf3edf000 for 8192 bytes
cpu1: idle pcb at 0xf3edf000, idle sp at 0xf3ee0f98
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 16 pins
ioapic1 at mainbus0 apid 3 (I/O APIC)
ioapic1: pa 0xfec01000, virtual wire mode, version 11, 16 pins
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 0<pol=0,trig=0>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int2 attached to isa0 irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int8 attached to isa0 irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to isa0 irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic1: int4 attached to pci0 device 2 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int0 attached to pci0 device 3 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int1 attached to pci0 device 4 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int12 attached to pci0 device 4 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int2 attached to pci0 device 5 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int14 attached to pci0 device 15 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int9 attached to isa0 irq 9 (type 0<type=0> flags f<pol=3=Act 
Lo,trig=3=Level>)
ioapic1: int8 attached to pci1 device 5 INT_A (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
ioapic1: int9 attached to pci1 device 5 INT_B (type 0<type=0> flags 
f<pol=3=Act Lo,trig=3=Level>)
local apic: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 
5<pol=1=Act Hi,trig=1=Edge>)
local apic: int1 attached to NMI (type 1<type=1=NMI> flags 5<pol=1=Act 
Hi,trig=1=Edge>)
mainbus0: MP WARNING: 124 bytes of extended entries not examined
pnpbios0 at mainbus0: nodes 15, max len 114
pnpbios0: node index mismatch (static): requested 0, got 1
pnpbios0: node index mismatch (dynamic): requested 0, got 1
lpt0 at pnpbios0 index 0 (PNP0401)
lpt0: io 378-37f 778-77f, irq 7, dma 3
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ServerWorks CNB20LE Host (rev. 0x05)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CNB20LE Host (rev. 0x05)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
esiop0 at pci1 dev 5 function 0: Symbios Logic 53c896 (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at apic 3 int 8 (irq 9)
esiop0: alloc new tag DSA table at PHY addr 0x5000
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci1 dev 5 function 1: Symbios Logic 53c896 (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at apic 3 int 9 (irq 9)
esiop1: alloc new tag DSA table at PHY addr 0x6000
scsibus1 at esiop1: 16 targets, 8 luns per target
fxp0 at pci0 dev 2 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at apic 3 int 4 (irq 5)
fxp0: detected 64 word EEPROM
fxp0: Ethernet address 00:e0:18:02:df:cd
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0 at pci0 dev 3 function 0: Texas Instruments TSB12LV22 OHCI IEEE 
1394 Host Controller (rev. 0x01)
fwohci0: interrupting at apic 3 int 0 (irq 11)
fwohci0: OHCI 1.0, 08:00:28:56:00:00:0a:f3, 400Mb/s, 2048 max_rec, 4 iso_ctx
cbb0 at pci0 dev 4 function 0: Ricoh 5C478 PCI-CardBus bridge (rev. 0x03)
cbb1 at pci0 dev 4 function 1: Ricoh 5C478 PCI-CardBus bridge (rev. 0x03)
fpa0 at pci0 dev 5 function 0: DEC DEFPA PCI FDDI DAS Controller
fpa0: FDDI address 00:00:f8:bc:cb:1d, FW=3.10, HW=0, SMT V7.2
fpa0: FDDI Port[A] = A (PMD = Unshielded Twisted Pair), FDDI Port[B] = B 
(PMD = Unshielded Twisted Pair)
fpa0: interrupting at apic 3 int 2 (irq 12)
ATI Technologies Rage XL (VGA display, revision 0x65) at pci0 dev 7 
function 0 not configured
pcib0 at pci0 dev 15 function 0
pcib0: ServerWorks OSB4 SouthBridge (rev. 0x4f)
pciide0 at pci0 dev 15 function 1: ServerWorks OSB4 IDE Controller (rev. 0x00)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
pciide0: primary channel interrupting at irq 14
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <TOSHIBA DVD-ROM SD-M1202, 3900700182, 1020> type 
5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
ServerWorks OSB4/CSB5 USB (USB serial bus, interface 0x10, revision 0x04) 
at pci0 dev 15 function 2 not configured
cbb0: interrupting at apic 3 int 1 (irq 10)
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 1 device 0
pcmcia0 at cardslot0
cbb1: interrupting at apic 3 int 12 (irq 9)
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 2 device 0
pcmcia1 at cardslot1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pcppi0 at isa0 port 0x61
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask 0 netmask 0 ttymask 0
cpu0: prelint0 8700<vector=0,delmode=7,level,dest=0> 0<target=0>
cpu0: prelint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: timer0 300d0<vector=d0,delmode=0,masked,dest=0> 0<target=0>
cpu0: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu0: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu0: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu0: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: enabling
ioapic1: int0 a170<vector=70,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int1 a171<vector=71,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int2 a181<vector=81,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int3 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int4 a182<vector=82,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int5 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int6 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int7 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int8 a172<vector=72,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int9 a173<vector=73,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int10 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int11 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int12 a174<vector=74,delmode=1,actlo,level,dest=0> 3000000<target=3>
ioapic1: int13 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic1: int14 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic1: int15 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: enabling
ioapic0: int0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
ioapic0: int1 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int2 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int3 1e1<vector=e1,delmode=1,dest=0> 3000000<target=3>
ioapic0: int4 1e2<vector=e2,delmode=1,dest=0> 3000000<target=3>
ioapic0: int5 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int6 175<vector=75,delmode=1,dest=0> 3000000<target=3>
ioapic0: int7 1a0<vector=a0,delmode=1,dest=0> 3000000<target=3>
ioapic0: int8 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int9 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int10 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int11 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int12 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int13 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int14 176<vector=76,delmode=1,dest=0> 3000000<target=3>
ioapic0: int15 177<vector=77,delmode=1,dest=0> 3000000<target=3>
scsibus0: waiting 2 seconds for devices to settle...
esiop0: alloc newcdb at PHY addr 0x7bd5000
scsibus1: waiting 2 seconds for devices to settle...
esiop1: alloc newcdb at PHY addr 0x7bd6000
sd0 at scsibus1 target 1 lun 0: <IBM, DXHS36D, 0162> SCSI3 0/direct fixed
sd0: 34732 MB, 11494 cyl, 20 head, 309 sec, 512 bytes/sect x 71132960 sectors
sd0: sync (25.0ns offset 15), 16-bit (80.000MB/s) transfers, tagged queueing
IPsec: Initialized Security Association Processing.
fw0 at fwohci0: 08:00:28:56:00:00:0a:f3:0a:02:20:00:00:00:00:00
boot device: sd0
root on sd0a dumps on sd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying lfs...
mountroot: trying ffs...
root file system type: ffs
cpu1: prelint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: prelint1 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: timer0 200d0<vector=d0,delmode=0,dest=0> 0<target=0>
cpu1: pcint0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: lint0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
cpu1: lint1 400<vector=0,delmode=4,dest=0> 0<target=0>
cpu1: err0 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
cpu1: CPU 0 running
init: copying out path `/sbin/init' 11
esiop1: alloc newcdb at PHY addr 0x7435000
esiop1: alloc newcdb at PHY addr 0x7436000
esiop1: alloc newcdb at PHY addr 0x7437000


-- 
Matt Thomas               Internet:   matt@3am-software.com
3am Software Foundry      WWW URL:    http://www.3am-software.com/bio/matt/
Cupertino, CA             Disclaimer: I avow all knowledge of this message