Subject: Re: Compaq issues: ML570 MP
To: None <port-i386@netbsd.org>
From: Peter Eisch <peter@boku.net>
List: port-i386
Date: 05/08/2006 21:36:09
On 5/8/06 4:25 PM, "Christos Zoulas" <christos@astron.com> wrote:

> In article <C084F4D6.4A360%peter@boku.net>,
> Peter Eisch  <peter@boku.net> wrote:
>> 
>> This system has three 900/100 xeon's with 2M of L2.  The ROM is the "latest"
>> which comes circa 12/17/2002 of the P20 ROM family.  If my experience is
>> correct, the chances of this running MP are pretty much nil if I already
>> have the MP defined in the kernel already.  Right?
> 
> This does not look like an MP kernel to me.
> 

Agreed.  At the head of my conf I include GENERIC.MP.  This gets me an MP
kernel on fresher hardware.  I tried booting an ACPI MP kernel and it didn't
even finish logging the start of cpu0.  I didn't expect the ACPI kernel to,
but perhaps lead me to a more useful explanation.

If my build of -current didn't get hung at the 1.4M floppy size crash, I'd
try a build of it on here.

Below is my config and after that the dmesg after booting GENERIC.MP.  All
my sources are netbsd-3 as of Sunday.



buster> config -x /netbsd | more
### START CONFIG FILE "/builds/netbsd-3/src/sys/arch/i386/conf/PETER-FW"

include "arch/i386/conf/GENERIC.MP"

#no options         DDB
#no options         DDB_HISTORY_SIZE

no pseudo-device   ppp
no pseudo-device   sl
no pseudo-device   gre
no pseudo-device   gif

pseudo-device   ppp             12       # Point-to-Point Protocol
#pseudo-device   sl              0       # Serial Line IP
#pseudo-device   gre             0       # generic L3 over IP tunnel
pseudo-device   gif             12       # IPv[46] over IPv[46] tunnel
(RFC1933)

options               KMEMSTATS       # kernel memory statistics (vmstat -m)
options               NMBCLUSTERS=32768
options         IPSEC           # IP security
options         IPSEC_ESP       # IP security (encryption part; define
w/IPSEC)
options         IPSEC_DEBUG     # debug for IP security
options         IPSEC_NAT_T     # IPsec NAT traversal (NAT-T)
#options                PIM             # Protocol Independent Multicast

options         TCP_SIGNATURE   # TCP MD5 Signatures, for BGP routing
sessions
options         GATEWAY

options VERIFIED_EXEC
options VERIFIED_EXEC_FP_RMD160
options VERIFIED_EXEC_FP_SHA256
options VERIFIED_EXEC_FP_SHA384
options VERIFIED_EXEC_FP_SHA512
options VERIFIED_EXEC_FP_SHA1
options VERIFIED_EXEC_FP_MD5
pseudo-device veriexec

#pseudo-device        pf                      # PF packet filter
#pseudo-device        pflog                   # PF log if

options        ALTQ            # Manipulate network interfaces' output
queues
options        ALTQ_BLUE       # Stochastic Fair Blue
options        ALTQ_CBQ        # Class-Based Queueing
options        ALTQ_CDNR       # Diffserv Traffic Conditioner
options        ALTQ_FIFOQ      # First-In First-Out Queue
options        ALTQ_FLOWVALVE  # RED/flow-valve (red-penalty-box)
options        ALTQ_HFSC       # Hierarchical Fair Service Curve
options        ALTQ_LOCALQ     # Local queueing discipline
options        ALTQ_PRIQ       # Priority Queueing
options        ALTQ_RED        # Random Early Detection
options        ALTQ_RIO        # RED with IN/OUT
options        ALTQ_WFQ        # Weighted Fair Queueing


options         SHMMAXPGS=8192
options         MSGMNB=16384
options         MSGSSZ=64
options         MSGTQL=512

hme*            at pci? dev ? function ?        # network "hme" compatible

### END CONFIG FILE "/builds/netbsd-3/src/sys/arch/i386/conf/PETER-FW"
### (included from "arch/i386/conf/GENERIC.MP")
###> #  $NetBSD: GENERIC.MP,v 1.5 2004/06/14 01:28:00 lukem Exp $
###> #
###> #  GENERIC.MP -- Generic, plus enable Multiprocessor support.
###> #
###> 
###> include "arch/i386/conf/GENERIC"
###> 
###> options    MULTIPROCESSOR
###> options    COM_MPLOCK      # com MP locking; REQUIRED on MP i386
###> 
###> options    APM_NO_IDLE
###> #options   DIAGNOSTIC      # STRONGLY RECOMMENDED
###> #options   LOCKDEBUG
###> #options   MPDEBUG
###> #options   MPVERBOSE
###> #options   DEBUG
###> options    MPBIOS          # configure CPUs and APICs using MPBIOS
###> #options   MPACPI          # configure CPUs and APICs using ACPI
###>                            # (acpi at mainbus must also be enabled)
###> 
###> ioapic*            at mainbus? apid ?
### (end include "arch/i386/conf/GENERIC.MP")
### (included from "arch/i386/conf/GENERIC")
...


And the full dmesg:

buster> dmesg
NetBSD 3.0_STABLE (GENERIC.MP) #0: Wed May  3 02:47:05 CDT 2006
        
peter@buster:/builds/netbsd-3/i386/obj/builds/netbsd-3/src/sys/arch/i386/com
pile/GENERIC.MP
total memory = 2047 MB
avail memory = 1996 MB
BIOS32 rev. 0 found at 0xf0000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III Xeon (686-class), 902.13 MHz, id 0x6a4
cpu0: features 383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 383f9ff<PGE,MCA,CMOV,PAT,PSE36,MMX>
cpu0: features 383f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
cpu0: L2 cache 2 MB 32B/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: 64 page colors
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: ServerWorks CNB20-HE PCI bridge (rev. 0x23)
pchb1 at pci0 dev 0 function 1
pchb1: ServerWorks CNB20-HE PCI bridge (rev. 0x01)
pchb2 at pci0 dev 0 function 2
pchb2: ServerWorks CNB30-LE PCI bridge (rev. 0x01)
pci1 at pchb2 bus 2
pci1: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Compaq product 0xa0f7 (system subclass 0x04, revision 0x12) at pci1 dev 5
function 0 not configured
cac0 at pci1 dev 6 function 0: Compaq Smart Array 431
cac0: interrupting at irq 10
ld0 at cac0 unit 0: standalone disk or RAID0 array
ld0: 8670 MB, 4403 cyl, 64 head, 63 sec, 512 bytes/sect x 17756160 sectors
ppb0 at pci1 dev 8 function 0: Intel S21152BA,S21154AE/BE PCI-PCI Bridge
(rev. 0x00)
pci2 at ppb0 bus 3
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
fxp0 at pci2 dev 4 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 15
fxp0: Ethernet address 00:08:02:df:11:82
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci2 dev 5 function 0: i82559 Ethernet, rev 8
fxp1: interrupting at irq 15
fxp1: Ethernet address 00:08:02:df:11:83
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 4
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pchb3 at pci0 dev 0 function 3
pchb3: ServerWorks CNB30-LE PCI bridge (rev. 0x01)
pci3 at pchb3 bus 7
pci3: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Compaq product 0xa0f7 (system subclass 0x04, revision 0x12) at pci3 dev 5
function 0 not configured
ahc1 at pci3 dev 6 function 0: Adaptec 29160 Ultra160 SCSI adapter
ahc1: interrupting at irq 5
ahc1: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
scsibus0 at ahc1: 16 targets, 8 luns per target
ciss0 at pci3 dev 7 function 0: Compaq Smart Array 5300 V1
ciss0: interrupting at irq 3
ciss0: 1 LD, HW rev 0, FW 3.54/3.54
scsibus1 at ciss0: 1 target, 8 luns per target
Compaq Advanced Systems Management Controller (miscellaneous system) at pci0
dev 3 function 0 not configured
esiop0 at pci0 dev 4 function 0: Symbios Logic 53c1510d (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at irq 5
scsibus2 at esiop0: 16 targets, 8 luns per target
esiop1 at pci0 dev 4 function 1: Symbios Logic 53c1510d (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at irq 10
scsibus3 at esiop1: 16 targets, 8 luns per target
vga1 at pci0 dev 5 function 0: ATI Technologies 3D Rage IIC (rev. 0x7a)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 15 function 0
pcib0: ServerWorks OSB4 southbridge (rev. 0x51)
rccide0 at pci0 dev 15 function 1
rccide0: ServerWorks OSB4 IDE Controller (rev. 0x00)
rccide0: bus-master DMA support present
rccide0: primary channel configured to compatibility mode
rccide0: primary channel interrupting at irq 14
atabus0 at rccide0 channel 0
rccide0: secondary channel configured to compatibility mode
intr_establish: pic pic0 pin 15: can't share type 3 with 2
rccide0: no compatibility interrupt for use by secondary channel
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
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
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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
isapnp0: no ISA Plug 'n Play devices found
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
scsibus2: waiting 2 seconds for devices to settle...
scsibus3: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IFT, 3102, 0212> disk fixed
sd0: 61010 MB, 61010 cyl, 64 head, 32 sec, 512 bytes/sect x 124948992
sectors
sd0: sync (50.00ns offset 16), 16-bit (40.000MB/s) transfers, tagged
queueing
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <Compaq  CRD-8402B, 2000/05/10, 1.03> cdrom
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
cd0(rccide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
sd1 at scsibus1 target 0 lun 0: <COMPAQ, LOGICAL VOLUME, 3.54> disk fixed
sd1: 69463 MB, 17434 cyl, 255 head, 32 sec, 512 bytes/sect x 142261440
sectors
boot device: ld0
root on ld0a dumps on ld0b
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)
buster>