SMP support for ofppc in-tree
Tim Rightnour <[email protected]> Mon, 07 Apr 2008 19:38:45 -0700 (MST)
| Newsgroups | gmane.os.netbsd.ports.ofppc |
|---|---|
| Message-ID | <[email protected]> |
After weeks of fiddling, and help from Matt Thomas, I now have SMP working on ofppc. Tested on a 7044-270 with 4 procs. Code has been committed. dmesg follows: >> NetBSD/ofppc OpenFirmware Boot, Revision 1.10 >> ([email protected], Wed Feb 20 19:56:21 MST 2008) Boot: tnetbsd 4090500+364232 [228640+222192]=0x4ade78 start=0x100000 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 4.99.58 (GENERIC.MP) #24: Mon Apr 7 13:11:51 MST 2008 [email protected]:/obj/ofppc/sys/arch/ofppc/compile/GENERIC.MP Model: IBM,7044-270 total memory = 2048 MB avail memory = 1965 MB bootpath: /pci@fef00000/scsi@c/sd@8,0/tnetbsd mainbus0 (root) rtas0 at mainbus0: version 1, entry @pa 0x7b46f8 cpu0 at mainbus0: POWER3II (Revision 1.4), ID 0 (primary) cpu0: HID0 f001d1a0<EMCP,DBP,EBA,EBD,NHR,ICE,DCE,DLOCK,IFEM,SGE,BTIC>, powersave: -1 cpu0: 375.00 MHz cpu0: L1 I-cache 32 KB 128B/line, D-cache 64 KB 128B/line cpu0: L2 cache 8 MB 128B/line cpu1 at mainbus0: POWER3II (Revision 1.4), ID 2 cpu1: HID0 f001d1a0<EMCP,DBP,EBA,EBD,NHR,ICE,DCE,DLOCK,IFEM,SGE,BTIC>, powersave: -1 cpu1: 375.00 MHz cpu1: L1 I-cache 32 KB 128B/line, D-cache 64 KB 128B/line cpu1: L2 cache 8 MB 128B/line cpu2 at mainbus0: POWER3II (Revision 1.4), ID 4 cpu2: HID0 f001d1a0<EMCP,DBP,EBA,EBD,NHR,ICE,DCE,DLOCK,IFEM,SGE,BTIC>, powersave: -1 cpu3 at mainbus0: POWER3II (Revision 1.4), ID 6 cpu3: HID0 f001d1a0<EMCP,DBP,EBA,EBD,NHR,ICE,DCE,DLOCK,IFEM,SGE,BTIC>, powersave: -1 ofwpci0 at mainbus0 OpenPIC Version 1.2: Supports 8 CPUs and 32 interrupt sources. pci0 at ofwpci0 bus 0: OFW method configuration space access pchb0 at pci0 dev 0 function 0 pchb0: IBM Python PCI-PCI Bridge (rev. 0x0a) pcib0 at pci0 dev 11 function 0: Symphony Labs 83C553 PCI-ISA Bridge (rev. 0x10) pciide0 at pci0 dev 11 function 1 pciide0: Symphony Labs 82C105 (rev. 0x05) pciide0: couldn't map native-PCI interrupt pciide0: couldn't map native-PCI interrupt esiop0 at pci0 dev 12 function 0: Symbios Logic 53c875 (ultra-wide scsi) esiop0: using on-board RAM esiop0: interrupting at irq 17 scsibus0 at esiop0: 16 targets, 8 luns per target pcn0 at pci0 dev 16 function 0: AMD PCnet-PCI Ethernet pcn0: Am79c971 PCnet-FAST rev 6, Ethernet address 00:04:ac:e4:a1:a5 pcn0: interrupting at irq 18 nsphy0 at pcn0 phy 1: DP83840 10/100 media interface, rev. 1 nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ukphy0 at pcn0 phy 31: Generic IEEE 802.3u media interface ukphy0: Am79C972 internal 10BASE-T interface (OUI 0x000058, model 0x0001), rev. 1 ukphy0: 10baseT, 10baseT-FDX, auto esiop1 at pci0 dev 17 function 0: Symbios Logic 53c895 (ultra2-wide scsi) esiop1: using on-board RAM esiop1: interrupting at irq 20 scsibus1 at esiop1: 16 targets, 8 luns per target 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 pckbc0 at isa0 port 0x60-0x64 attimer0 at isa0 port 0x40-0x43: AT Timer pcppi0 at isa0 port 0x61 attimer0: attached to pcppi0 ofwpci1 at mainbus0 pci_configure_bus() failed pci1 at ofwpci1 bus 64 pchb1 at pci1 dev 0 function 0 pchb1: IBM Python PCI-PCI Bridge (rev. 0x0a) genfb0 at pci1 dev 12 function 0: IBM GXT-6000P Graphics Adapter genfb0: unable to map the framebuffer biomask 800001c netmask 800001c ttymask 800001c cpu1 started cpu2 started cpu3 started scsibus0: waiting 2 seconds for devices to settle... scsibus1: waiting 2 seconds for devices to settle... cd0 at scsibus0 target 1 lun 0: <IBM, CDRM00203\000\000\000\000\000!K, 1_06> cdrom removable cd0: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers sd0 at scsibus0 target 8 lun 0: <IBM, ST318305LC, C509> disk fixed sd0: 17357 MB, 29550 cyl, 2 head, 601 sec, 512 bytes/sect x 35548320 sectors sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged queueing Kernelized RAIDframe activated boot device: sd0 root on sd0a dumps on sd0b root file system type: ffs Mon Apr 7 13:17:42 MST 2008 --- Tim Rightnour <[email protected]> NetBSD: Free multi-architecture OS http://www.netbsd.org/ Genecys: Open Source 3D MMORPG: http://www.genecys.org/