tech-smp archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

i386 MP default configuration support



Hi,

sorry for double-posting, I don't know where it belongs to:

I have added i386 MP default configurations to finally have my Siemens-Nixdorf PCD-5T supported. It is a dual Pentium system with EISA + PCI (i. e. default configuration 6). dmesg appended, the system seems stable, at least with the current PCI cards.

Please find a patch against mpbios.c rev. 1.60 and a patched NetBSD/i386 6.1 GENERIC kernel with mp_verbose enabled at

    http://www.flxd.de/netbsd/mp_dflt_cfg/

Testers are welcome, especially for the supposedly more common default configuration 5 (ISA + PCI). I don't even know if the MCA variants existed as real products, but the 486 MP systems seem very rare, too (and had discrete local APICs and I/O APIC which might be unsupported at the moment anyway).

This is my first "commit" :), so I appreciate all feedback and advice for possible next steps.

Regards
Felix

====================================================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.1 (GENERIC) #1: Wed May 29 19:55:53 CEST 2013
        root@bla:/usr/src/sys/arch/i386/compile/GENERIC
total memory = 127 MB
avail memory = 112 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Generic PC
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 0xfef70
acpi_probe: failed to initialize tables
mainbus0: Intel MP Specification (Version 1.1)
mainbus0: MP default configuration 6
cpu0 at mainbus0 apid 0cpu0: prelint0 0x700<vector=0x0,delmode=0x7,dest=0x0> 0x0<target=0x0>
cpu0: prelint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu0: pcint0 0x0<vector=0x0,delmode=0x0,dest=0x0> 0x0<target=0x0>
cpu0: lint0 0x700<vector=0x0,delmode=0x7,dest=0x0> 0x0<target=0x0>
cpu0: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
: Intel 586-class, 100MHz, id 0x526
cpu0: idle lwp at 0xc11cbd20, idle sp at 0xc7795d28
cpu1 at mainbus0 apid 1: Intel 586-class, id 0x2526
cpu1: idle lwp at 0xc121b540, idle sp at 0xc783cd28
ioapic0 at mainbus0 apid 2: pa 0xfec00000, virtual wire mode, version 11, 16 pins
mpbios: bus 0 is type EISA
mpbios: bus 1 is type PCI
ioapic0: int0 attached to ExtINT (type 0x3<type=0x3=ExtINT> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int1 attached to eisa0 EISA irq 1 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int2 attached to eisa0 EISA irq 0 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int3 attached to eisa0 EISA irq 3 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int4 attached to eisa0 EISA irq 4 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int5 attached to eisa0 EISA irq 5 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int6 attached to eisa0 EISA irq 6 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int7 attached to eisa0 EISA irq 7 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int8 attached to eisa0 EISA irq 8 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int9 attached to eisa0 EISA irq 9 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int10 attached to eisa0 EISA irq 10 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int11 attached to eisa0 EISA irq 11 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int12 attached to eisa0 EISA irq 12 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int13 attached to eisa0 EISA irq 13 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>) ioapic0: int14 attached to eisa0 EISA irq 14 (type 0x0<type=0x0> flags 0xd<pol=0x1=Act Hi,trig=0x3=Level>) ioapic0: int15 attached to eisa0 EISA irq 15 (type 0x0<type=0x0> flags 0xd<pol=0x1=Act Hi,trig=0x3=Level>) local apic: int0 attached to ExtINT (type 0x3<type=0x3=ExtINT> flags 0x0<pol=0x0,trig=0x0>) local apic: int1 attached to NMI (type 0x1<type=0x1=NMI> flags 0x0<pol=0x0,trig=0x0>)
pci0 at mainbus0 bus 0: configuration mode 2
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x04a3 (rev. 0x11)
pceb0 at pci0 dev 1 function 0
pceb0: vendor 0x8086 product 0x0482 (rev. 0x05)
pciide0 at pci0 dev 2 function 0: vendor 0x1042 product 0x1000 (rev. 0x01)
pciide0: I/O access disabled at device
ahc1 at pci0 dev 13 function 0: Adaptec 2940 SCSI adapter
ioapic0: int14 0x8060<vector=0x60,delmode=0x0,level,dest=0x0> 0x0<target=0x0>
ahc1: interrupting at ioapic0 pin 14
ahc1: aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
scsibus0 at ahc1: 8 targets, 8 luns per target
epic0 at pci0 dev 15 function 0: SMC 83c170 Fast Ethernet (rev. 0x08)
ioapic0: int15 0x8061<vector=0x61,delmode=0x0,level,dest=0x0> 0x0<target=0x0>
epic0: interrupting at ioapic0 pin 15
epic0: SMC9432TX, Ethernet address 00:e0:29:xx:xx:xx
qsphy0 at epic0 phy 3: QS6612 10/100 media interface, rev. 1
qsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eisa0 at pceb0
eisa0: can't map I/O space for slot 14
isa0 at pceb0
lpt0 at isa0 port 0x378-0x37b irq 7
ioapic0: int7 0x62<vector=0x62,delmode=0x0,dest=0x0> 0x0<target=0x0>
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
ioapic0: int4 0x81<vector=0x81,delmode=0x0,dest=0x0> 0x0<target=0x0>
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
ioapic0: int3 0x82<vector=0x82,delmode=0x0,dest=0x0> 0x0<target=0x0>
attimer0 at isa0 port 0x40-0x43
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
ioapic0: int6 0x63<vector=0x63,delmode=0x0,dest=0x0> 0x0<target=0x0>
attimer0: attached to pcppi0
isapnp0: no ISA Plug 'n Play devices found
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: prelint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0> cpu1: prelint1 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: pcint0 0x0<vector=0x0,delmode=0x0,dest=0x0> 0x0<target=0x0>
cpu1: lint0 0x10700<vector=0x0,delmode=0x7,masked,dest=0x0> 0x0<target=0x0>
cpu1: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu1: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
timecounter: Timecounter "TSC" frequency 100006900 Hz quality 3000
scsibus0: waiting 2 seconds for devices to settle...
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
sd0 at scsibus0 target 0 lun 0: <IBM, DCAS-32160, S65A> disk fixed
sd0: 2046 MB, 8188 cyl, 3 head, 170 sec, 512 bytes/sect x 4192000 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
st0 at scsibus0 target 4 lun 0: <TANDBERG, TDC 3800, =04:> tape removable
st0 : quirks apply, drive empty
st0: async, 8-bit transfers
cd0 at scsibus0 target 5 lun 0: <SONY, CD-ROM CDU-76S, 1.1c> cdrom removable
cd0: async, 8-bit transfers
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)



Home | Main Index | Thread Index | Old Index