Subject: Intel OR840 GENERIC.MP dmesg
To: None <tech-smp@netbsd.org>
From: Hakan Olsson <ho@crt.se>
List: tech-smp
Date: 09/02/2000 16:39:22
Hi.

I tried to boot GENERIC.MP on my system with limited success. Sources are
current as of Aug 31st. I'd be happy to diagnose it further, just tell me
what to do. :)

System: Intel OR840, 2x 667MHz P3E. Other config appears to be present in
the dmesg. I see a number of 'pci_intr_map: no MP mapping found'
messages... perhaps because the system has 3 pcibusses?

Here's a captured dmesg (from serial console):

> boot netbsd.mp
booting wd0a:netbsd.mp
|/-\|/4033818-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\+384316|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-+323308\ [65+245152|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/+199886-\|/-\|/-\|/-\|/-\|/-\|/]=0x4f38a0
[ using 445560 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

bank 0 has 60538 pages
bank 1 has 2565 pages
bank 2 has 155 pages
202 pool entries; page size 4096
WARNING: static pool `pmaptlbpl' dropped below low water mark
NetBSD 1.5E (GENERIC.MP) #0: Sat Sep  2 01:59:35 CEST 2000
    ho@trinity:/d/netbsd/src/sys/arch/i386/compile/GENERIC.MP
total memory = 255 MB
avail memory = 228 MB
using 3296 buffers containing 13184 KB of memory
biostramp installed @ 1000
BIOS32 rev. 0 found at 0xfdb70
mainbus0 (root)
mainbus0: scanning 0x9fc00 to 0x9fff0 for MP signature
mainbus0: scanning 0x9f800 to 0x9fbf0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xf16f0
mainbus0: MP config table at 0xf1700, 484 bytes long
mainbus0: Intel MP Specification (Version 1.4)
mainbus0: MP OEM INTEL    Product Kitty Hawk  
cpu0 at mainbus0: apid 1 (boot processor)
cpu0: family 6 model 8 step 1
cpu0: Intel Pentium III (E) (686-class)
cpu0: features 383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 383fbff<PGE,MCA,CMOV,FGPAT,PSE36,MMX,FXSR,XMM>
cpu0: calibrating local timer
cpu0: apic clock running at 132 MHz
cpu0: kstack at 0xd2698000 for 8192 bytes
cpu0: idle pcb at 0xd2698000, idle sp at 0xd2699fa0
cpu1 at mainbus0: apid 0 (application processor)
cpu1: family 6 model 8 step 1
cpu1: Intel Pentium III (E) (686-class)
cpu1: features 387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 387fbff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX,FXSR,XMM>
cpu1: kstack at 0xd269a000 for 8192 bytes
cpu1: idle pcb at 0xd269a000, idle sp at 0xd269bfa0
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, PIC mode, version 20, 24 pins
ioapic0: int0 attached to ExtINT (type 3<type=3=ExtINT> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int2 attached to isa0 irq 0 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int1 attached to isa0 irq 1 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int3 attached to isa0 irq 3 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int4 attached to isa0 irq 4 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int5 attached to isa0 irq 5 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int6 attached to isa0 irq 6 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int7 attached to isa0 irq 7 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int8 attached to isa0 irq 8 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int9 attached to isa0 irq 9 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int10 attached to isa0 irq 10 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int11 attached to isa0 irq 11 (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int12 attached to isa0 irq 12 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int13 attached to isa0 irq 13 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int14 attached to isa0 irq 14 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int15 attached to isa0 irq 15 (type 0<type=0> flags 5<pol=1=Act Hi,trig=1=Edge>)
ioapic0: int16 attached to pci0 device 31 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci0 device 31 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci0 device 31 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci0 device 31 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci1 device 0 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci1 device 0 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 3 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci2 device 8 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci2 device 8 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci2 device 8 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 8 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci2 device 9 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci2 device 9 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 9 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci2 device 9 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci2 device 10 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 10 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci2 device 10 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci2 device 10 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 11 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci2 device 11 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci2 device 11 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci2 device 11 INT_D (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int17 attached to pci2 device 4 INT_A (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int18 attached to pci2 device 4 INT_B (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int19 attached to pci2 device 4 INT_C (type 0<type=0> flags f<pol=3=Act Lo,trig=3=Level>)
ioapic0: int16 attached to pci2 device 4 INT_D (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>)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel product 0x1a21 (rev. 0x01)
ppb0 at pci0 dev 1 function 0: Intel product 0x1a23 (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: Nvidia Corporation GeForce DDR (rev. 0x10)
wsdisplay0 at vga1
ppb1 at pci0 dev 30 function 0: Intel 82801AA Hub-to-PCI Bridge (rev. 0x02)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
fxp0 at pci2 dev 3 function 0: Intel i82557 Ethernet, rev 8
pci_intr_map: no MP mapping found
fxp0: interrupting at irq 10
fxp0: detected 64 word EEPROM
fxp0: Ethernet address 00:d0:b7:59:55:d4, 10/100 Mb/s
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
unknown vendor 0x11e3 product 0x0001 (undefined subclass 0x00, revision 0x02) at pci2 dev 8 function 0 not configured
Creative Labs SBLive! EMU 10000 (audio multimedia, revision 0x07) at pci2 dev 9 function 0 not configured
Creative Labs PCI Gameport Joystick (miscellaneous input, revision 0x07) at pci2 dev 9 function 1 not configured
ahc1 at pci2 dev 11 function 0
pci_intr_map: no MP mapping found
ahc1: interrupting at irq 10
ahc1: Reading SEEPROM...done.
ahc1: internal 50 cable not present, internal 68 cable not present
ahc1: external cable is present
ahc1: BIOS eeprom is present
ahc1: High byte termination Enabled
ahc1: Low byte termination Enabled
ahc1: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1 channel 0: 16 targets, 8 luns per target
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801AA LPC Interface Bridge (rev. 0x02)
pciide0 at pci0 dev 31 function 1: Intel 82801AA IDE Controller (ICH) (rev. 0x02)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <FUJITSU MPE3173AE>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 16536 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 33867188 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
wd1 at pciide0 channel 0 drive 1: <IBM-DJNA-372200>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 21557 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 44150400 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <_NEC DV-5500A, , 1.42> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 31 function 2: Intel 82801AA USB Controller (rev. 0x02)
uhci0: interrupting at apic 2 int 19 (irq 10)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82801AA SMBus Controller (SMBus serial bus, revision 0x02) at pci0 dev 31 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lptprobe: mask ff data 55 failed
lptprobe: mask ff data 55 failed
lptprobe: mask ff data 55 failed
seaprobe: board type unknown at address 0xc8000
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
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 700<vector=0,delmode=7,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>
ioapic0: enabling
ioapic0: writing to IMCR to disable pics
ioapic0: here's hoping it works
ioapic0: int0 10700<vector=0,delmode=7,masked,dest=0> 0<target=0>
ioapic0: int1 1a0<vector=a0,delmode=1,dest=0> 1000000<target=1>
ioapic0: int2 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int3 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int4 1e1<vector=e1,delmode=1,dest=0> 1000000<target=1>
ioapic0: int5 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int6 170<vector=70,delmode=1,dest=0> 1000000<target=1>
ioapic0: int7 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int8 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int9 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int10 a181<vector=81,delmode=1,actlo,level,dest=0> 1000000<target=1>
ioapic0: int11 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int12 1a1<vector=a1,delmode=1,dest=0> 1000000<target=1>
ioapic0: int13 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int14 171<vector=71,delmode=1,dest=0> 1000000<target=1>
ioapic0: int15 172<vector=72,delmode=1,dest=0> 1000000<target=1>
ioapic0: int16 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int17 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int18 1a100<vector=0,delmode=1,actlo,level,masked,dest=0> 0<target=0>
ioapic0: int19 a173<vector=73,delmode=1,actlo,level,dest=0> 1000000<target=1>
ioapic0: int20 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int21 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int22 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
ioapic0: int23 10000<vector=0,delmode=0,masked,dest=0> 0<target=0>
scsibus0: waiting 2 seconds for devices to settle...
Timedout SCB handled by another timeout
Timedout SCB handled by another timeout
kernel: page fault trap, code=0
Stopped at      cpu_switch+0xc1:        andl    $0xfffffdff,       0x4(%eax,%edx
,1)
db{1}> tr
db{1}> trace
db{1}> machine cpu
addr            dev     id      flags   ipis    curproc         fpcurproc
0xc0beb400      cpu1    0       1002    8              0x0             0x0
0xc0beb500      cpu0    1       3009    0              0x0             0x0
db{1}> 

During a few earlier attempts (without serial console/capture) I did not
see the "Timeout SCB" messages. Some of the attempts panic'ed on a
"privileged instruction fault" trap, if it may matter(?).

//Håkan

--
Håkan Olsson <ho@crt.se>        (+46) 708 437 337     Carlstedt Research
Unix, Networking, Security      (+46) 31 701 4264        & Technology AB