Subject: Re: pre-built i386 + MP spinup test kernels now available.
To: Bill Sommerfeld <>
From: Simon Burge <>
List: tech-smp
Date: 02/24/2000 12:19:28
Bill Sommerfeld wrote:

> See
> In that directory, you'll find several test kernels and a boot floppy
> image set containing the currently HIGHLY EXPERIMENTAL x86
> multiprocessor spinup support.  If you attempt to put these into
> production use, I'll laugh at you.
> netbsd-GENERIC.MP       GENERIC.MP kernel, for booting on systems
>                         which already have NetBSD installed.

Using this kernel on a DEC Prioris SZ 6166/MP2 with dual PPros and 128MB
of RAM.  I get a uvm_fault during the ioapic configuration.  The box has
an EISA bus with an unused NE3200 sitting in it.  It has complained for
a long time during self tests about an EISA bus config error but that
hasn't seemed to worry NetBSD since 1.4.  All other devices work fine
with NetBSD - I've included a ``normal'' dmesg below.  Here's a finger
cut'n'paste of the last screen - I should really put serial bootblocks
on this thing.

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<PGE,MCA,CMOV>
cpu0: calibrating local timer
cpu0: apic clock running at 66 MHz
cpu0: kstack at 0xc9b02000 for 8192 bytes
cpu0: idle pcb at 0xc9b02000, idle sp at 0xc9b03fa0
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel Pentium Pro (686-class)
cpu1: features fbff<PGE,MCA,CMOV>
cpu1: kstack at 0xc9b04000 for 8192 bytes
cpu1: idle pcb at 0xc9b04000, idle sp at 0xc9b05fa0
mainbus0: unsupported bus type EISA
ioapic0 at mainbus0 apid 14 (I/O APIC)
ioapic0: pa 0xfecb0000 virtual wire mode, version 11, 16 pins
uvm_fault(0xc04899a0, 0x0, 0, 1) -> 1
kernel: page fault trap, code=0
Stopped in swapper at   0:   invalid address
(cpu 0)db> tr
(cpu 0)db>

If I give a "reboot" here, the machine then fails to come through the
self tests with a "CPU2 FAIL" on the LCD panel.  A hard reset fixes

Here's 1.4P boot dmesg for reference:

NetBSD 1.4P (WINCEN) #2: Tue Nov 23 11:47:48 EST 1999
cpu0: family 6 model 1 step 7
cpu0: Intel Pentium Pro (686-class)
total memory = 127 MB
avail memory = 116 MB
using 1659 buffers containing 6636 KB of memory
BIOS32 rev. 0 found at 0xf6a19
mainbus0 (root)
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
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
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
vga0 at pci0 dev 13 function 0: S3 Trio32/64 (rev. 0x00)
wsdisplay0 at vga0: console (80x25, vt100 emulation)
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
unknown device NVL0701 at eisa0 slot 2 not configured
eisa0: can't map I/O space for slot 7
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
lpt0 at isa0 port 0x378-0x37b irq 7
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
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 bf65 netmask ff65 ttymask ffe7
scsibus0: waiting 2 seconds for devices to settle...
ahc0: target 0 using 16Bit transfers
ahc0: target 0 synchronous at 10.0MHz, offset = 0x8
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST32550W, 8108> SCSI2 0/direct fixed
sd0: 2047 MB, 3511 cyl, 11 head, 108 sec, 512 bytes/sect x 4194058 sectors
ahc0: target 4 synchronous at 4.0MHz, offset = 0xb
st0 at scsibus0 targ 4 lun 0: <EXABYTE, EXB-8500-85Qanx0, 046G> SCSI2 1/sequential removable
st0: drive empty
ahc0: target 5 synchronous at 4.0MHz, offset = 0xf
cd0 at scsibus0 targ 5 lun 0: <TOSHIBA, CD-ROM XM-5401TA, 3605> SCSI2 5/cdrom removable
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
ex0: starting DAD for fe80:0001::0260:97ff:fe9c:69b0
ex0: DAD complete for fe80:0001::0260:97ff:fe9c:69b0 - no duplicates found

Any more I can do to help for now?