Subject: Re: 2nd round of i386 + MP test kernels now available.
To: Bill Sommerfeld <sommerfeld@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-smp
Date: 03/02/2000 14:17:48
Bill Sommerfeld wrote:

> Changes since last time:
> 	- INSTALL.MP floppy kernel is no longer stripped so tracebacks
> 		will be more comprehensible
> 	- I/O interrupts should work if the boot cpu is not at apic id 0.
> 	- the presence of an EISA bus should not cause an immediate
> 	  panic while processing interrupt routing information.  
> 	  Note that I have no idea if the EISA interrupt routing code 
> 	  I wrote actually *works*, as I have no hardware to test it on..
> 	- "locking against myself" warning message from msdosfs is
> 	  fixed.
> 
> ...
> 
> Please send reports of how far these manage to boot on your systems to
> sommerfeld@netbsd.org and/or tech-smp@netbsd.org.  

Still fails to boot on my DEC Prioris ZX6166/MP2 (with both PCI & EISA),
but gets further than before.  It's finding an ahc1 instead of an ahc0
and having real problems probing the scsi bus.  Lots of "no MP mapping
found" messages as well.

I've also put the serial bootblocks on (yippee!) so there're be no typos
this time :-)

>> NetBSD/i386 BIOS Boot, Revision 2.6
>> (simonb@wincen, Mon Feb 28 17:03:20 EST 2000)
>> Memory: 639/130048 k
Use hd1a:netbsd to boot sd0 when wd0 is also installed
Press return to boot now, any other key for boot menu
booting wd0a:netbsd - starting in 5 4 3 2 0
type "?" or "help" for help.
> boot netmp
booting wd0a:netmp
356308-241524-298060[65+218336+175378]=0x418fbc
[ preserving 394236 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.

202 pool entries; page size 4096
WARNING: static pool `pmaptlbpl' dropped below low water mark
NetBSD 1.4T (GENERIC.MP) #7: Tue Feb 29 09:44:21 EST 2000
    wes@thunk:/usr/wes/current/src/sys/arch/i386/compile/GENERIC.MP
total memory = 127 MB
avail memory = 112 MB
using 1659 buffers containing 6636 KB of memory
biostramp installed @ 1000
BIOS32 rev. 0 found at 0xf6a19
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 0xfdcc0
mainbus0: MP config table at 0x9fd50, 252 bytes long
mainbus0: Intel MP Specification (Version 1.4)
mainbus0: MP OEM INTEL    Product ORION       
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: family 6 model 1 step 7
cpu0: Intel Pentium Pro (686-class)
cpu0: features fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features fbff<PGE,MCA,CMOV>
cpu0: calibrating local timer
cpu0: apic clock running at 66 MHz
cpu0: kstack at 0xc9b03000 for 8192 bytes
cpu0: idle pcb at 0xc9b03000, idle sp at 0xc9b04fa0
cpu1 at mainbus0: apid 2 (application processor)
cpu1: family 6 model 1 step 7
cpu1: Intel Pentium Pro (686-class)
cpu1: features fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features fbff<PGE,MCA,CMOV>
cpu1: kstack at 0xc9b05000 for 8192 bytes
cpu1: idle pcb at 0xc9b05000, idle sp at 0xc9b06fa0
ioapic0 at mainbus0 apid 14 (I/O APIC)
ioapic0: pa 0xfec00000, virtual wire mode, version 11, 16 pins
ioapic0: int1 attached to eisa2 EISA irq 1 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int2 attached to eisa2 EISA irq 0 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int3 attached to eisa2 EISA irq 3 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int4 attached to eisa2 EISA irq 4 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int5 attached to eisa2 EISA irq 5 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int6 attached to eisa2 EISA irq 6 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int7 attached to eisa2 EISA irq 7 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int8 attached to eisa2 EISA irq 8 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int9 attached to eisa2 EISA irq 9 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int10 attached to eisa2 EISA irq 10 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int11 attached to eisa2 EISA irq 11 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int12 attached to eisa2 EISA irq 12 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int13 attached to eisa2 EISA irq 13 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int14 attached to eisa2 EISA irq 14 (type 0<type=0> flags 0<pol=0,trig=0>)
ioapic0: int15 attached to eisa2 EISA irq 15 (type 0<type=0> flags 0<pol=0,trig=0>)
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: 224 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pceb0 at pci0 dev 2 function 0
pceb0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x15)
ex0 at pci0 dev 6 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
pci_intr_map: no MP mapping found
isa_intr_establish: no MP mapping found
ex0: interrupting at irq 14
ex0: MAC address 00:60:97:9c:69:b0
nsphy0 at ex0 phy 24: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex0: supplying EUI64: 00:60:97:ff:fe:9c:69:b0
ahc1 at pci0 dev 8 function 0
pci_intr_map: no MP mapping found
isa_intr_establish: no MP mapping found
ahc1: interrupting at irq 15
ahc1: Reading SEEPROM...done.
ahc1: aic7870 Wide Channel, SCSI Id=7, 16 SCBs
ahc1: Resetting Channel A
ahc1: Downloading Sequencer Program...Done
scsibus0 at ahc1 channel 0: 16 targets, 8 luns per target
vga1 at pci0 dev 13 function 0: S3 Trio32/64 (rev. 0x00)
wsdisplay0 at vga1
Intel 82451KX/GX Memory Controller (MC) (RAM memory, revision 0x04) at pci0 dev 20 function 0 not configured
pchb0 at pci0 dev 25 function 0
pchb0: Intel 82454KX/GX PCI Bridge (PB) (rev. 0x04)
pchb0: Compatibility PB (bus 0)
pchb1 at pci0 dev 26 function 0
pchb1: Intel 82454KX/GX PCI Bridge (PB) (rev. 0x04)
pchb1: Auxiliary PB (bus 1)
pci1 at pchb1 bus 1
pci1: i/o space, memory space enabled
eisa0 at pceb0
eisa0: can't map I/O space for slot 7
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
isa_intr_establish: no MP mapping found
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
isa_intr_establish: no MP mapping found
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
isa_intr_establish: no MP mapping found
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0
pmsiprobe: intellimode -> 6
pms0 at pckbc0 (aux slot)
isa_intr_establish: no MP mapping found
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt0 at isa0 port 0x378-0x37b irq 7
isa_intr_establish: no MP mapping found
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
isa_intr_establish: no MP mapping found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: no ISA Plug 'n Play devices found
biomask af65 netmask ef65 ttymask ffe7
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: int0 10000<vector=0,delmode=0,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 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int4 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int5 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int6 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
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 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int11 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int12 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int13 10100<vector=0,delmode=1,masked,dest=0> 0<target=0>
ioapic0: int14 18100<vector=0,delmode=1,level,masked,dest=0> 0<target=0>
ioapic0: int15 18100<vector=0,delmode=1,level,masked,dest=0> 0<target=0>
scsibus0: waiting 2 seconds for devices to settle...
probe(ahc1:0:0): timed out in dataout phase, SCSISIGI == 0xb6
ahc1: Issued Channel A Bus Reset #2. 1 SCBs aborted
probe(ahc1:0:0): timed out in dataout phase, SCSISIGI == 0x0
ahc1: Issued Channel A Bus Reset #2. 1 SCBs aborted
probe(ahc1:0:0): timed out in dataout phase, SCSISIGI == 0x0
ahc1: Issued Channel A Bus Reset #2. 1 SCBs aborted
probe(ahc1:0:0): timed out in dataout phase, SCSISIGI == 0x0
ahc1: Issued Channel A Bus Reset #2. 1 SCBs aborted
probe(ahc1:0:0): timed out in dataout phase, SCSISIGI == 0x0
ahc1: Issued Channel A Bus Reset #2. 1 SCBs aborted
[ and so on ... ]


The normal messages for ahc0 are:

ahc0 at pci0 dev 8 function 0
ahc0: interrupting at irq 15
ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs
scsibus0 at ahc0 channel 0: 16 targets, 8 luns per target
ahc0: target 0 using 16Bit transfers
ahc0: target 0 synchronous at 10.0MHz, offset = 0x8
ahc0: target 4 synchronous at 4.0MHz, offset = 0xb
ahc0: target 5 synchronous at 4.0MHz, offset = 0xf

I can send a full normal dmesg if required.

Simon.