Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 1999 22:16:48 -0600
From:      Charles Randall <crandall@matchlogic.com>
To:        freebsd-smp@freebsd.org
Subject:   RE: Building/booting SMP kernel for Compaq Proliant 800
Message-ID:  <64003B21ECCAD11185C500805F31EC0303E73D39@houston.matchlogic.com>

next in thread | raw e-mail | index | archive | help
With some more experimentation, I finally got this to work...

At boot time, the Compaq bios provides a configuration option to set the
operating system. The only Unix choices are UnixWare, SCO 5, and Solaris.

I initially tried "minimal". That's how I got the output from the previous
message.

I then tried Solaris and was able to boot the SMP kernel but the on-board
Ethernet adapter wouldn't work,

  ncr0: <ncr 53c875 fast20 wide scsi> rev 0x14 int a irq 255 on pci0.6.0
  create_intr: requested irq255 too high, limit is 23
        interruptless mode: reduced performance.
  ncr1: <ncr 53c875 fast20 wide scsi> rev 0x14 int b irq 255 on pci0.6.1
  create_intr: requested irq255 too high, limit is 23
        interruptless mode: reduced performance.
  tl0: <Compaq Netelligent 10/100 Proliant> rev 0x10 int a irq 255 on
pci0.7.0
  create_intr: requested irq255 too high, limit is 23
  tl0: couldn't map interrupt

If you'll recall, setting NINTR to 24 resulted in a boot message telling me
to increase it to 44.

I tried SCO 5 and was able to boot an SMP kernel with network support. Note
that the output of mptable changed between the Solaris settings and the SCO
5 settings.

The kernel I built had these SMP settings,

  # To make an SMP kernel, the next two are needed
  options         SMP                     # Symmetric MultiProcessor Kernel
  options         APIC_IO                 # Symmetric (APIC) I/O
  # Optionally these may need tweaked, (defaults shown):
  options         NCPU=2                  # number of CPUs
  options         NBUS=4                  # number of busses
  options         NAPIC=1                 # number of IO APICs
  options         NINTR=44                # number of INTs

I've included the output of dmesg and mptable below. Does this seem
reasonable or optimal? Judging from the mptable output below, I can probably
drop NINTR back down to the default of 24.

Man, Compaq's are strange.

-Charles


Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.3-RELEASE #1: Tue Jul 13 21:52:01 MDT 1999
    root@navajo.matchlogic.com:/usr/src/sys/compile/CUSTOM
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,<b25>>
real memory  = 536870912 (524288K bytes)
avail memory = 518643712 (506488K bytes)
Programming 35 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  8, version: 0x00220011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0382000.
Pentium Pro MTRR support enabled
eisa0: <CPQ691 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge (AGP disabled)> rev 0x02 on
pci0.0.0
ncr0: <ncr 53c875 fast20 wide scsi> rev 0x14 int a irq 5 on pci0.6.0
ncr1: <ncr 53c875 fast20 wide scsi> rev 0x14 int b irq 9 on pci0.6.1
tl0: <Compaq Netelligent 10/100 Proliant> rev 0x10 int a irq 10 on pci0.7.0
tl0: Ethernet address: 00:50:8b:92:c4:1d
tl0: autoneg complete, link status good (half-duplex, 100Mbps)
vga0: <ATI model 4756 graphics accelerator> rev 0x7a on pci0.8.0
chip1: <PCI to PCI bridge (vendor=1011 device=0024)> rev 0x03 on pci0.10.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.20.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.20.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.20.3
Probing for devices on PCI bus 1:
Probing for PnP devices:
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 not found
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <COMPAQ  CDR-8435/0013>, removable, accel, dma, iordis
acd0: drive speed 5512KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
wdc1 not found at 0x170
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0: timeout.
scd0 not found at 0x230
ppc0 at 0x3bc irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
ppi0: <generic parallel i/o> on ppbus 0
plip0: <PLIP network interface> on ppbus 0
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
cs0 not found at 0x300
ze0 not found at 0x300
zp0 not found at 0x300
adv0 not found at 0x330
bt0 not found at 0x134
aha0 not found at 0x134
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
changing root device to da0s1a
da0 at ncr0 bus 0 target 0 lun 0
da0: <COMPAQ BB00921B91 3B05> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing
Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)



============================================================================
===

MPTable, version 2.0.15

----------------------------------------------------------------------------
---

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f4ff0
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0x9d
  mode:				Virtual Wire

----------------------------------------------------------------------------
---

MP Config Table Header:

  physical address:		0x000f27cd
  signature:			'PCMP'
  base table length:		260
  version:			1.4
  checksum:			0xdf
  OEM ID:			'COMPAQ  '
  Product ID:			'PROLIANT    '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			24
  local APIC address:		0xfee00000
  extended table length:	76
  extended table checksum:	86

----------------------------------------------------------------------------
---

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step
Flags
		 1	 0x10	 BSP, usable	 6	 7	 3
0x383fbff
		 0	 0x10	 AP, usable	 6	 7	 3
0x383fbff
--
Bus:		Bus ID	Type
		 0	 PCI   
		 1	 PCI   
		 9	 ISA   
--
I/O APICs:	APIC ID	Version	State		Address
		 8	 0x11	 usable		 0xfec00000
--
I/O Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		INT	active-hi        edge	     9	   1	      8	   1
		INT	active-hi        edge	     9	   0	      8	   2
		INT	active-hi        edge	     9	   3	      8	   3
		INT	active-hi        edge	     9	   4	      8	   4
		INT	active-hi       level	     9	   5	      8	   5
		INT	active-hi        edge	     9	   6	      8	   6
		INT	active-hi        edge	     9	   7	      8	   7
		INT	active-hi        edge	     9	   8	      8	   8
		INT	active-hi       level	     9	   9	      8	   9
		INT	active-hi       level	     9	  10	      8	  10
		INT	active-hi        edge	     9	  11	      8	  11
		INT	active-hi        edge	     9	  12	      8	  12
		INT	active-lo        edge	     9	  13	      8	  13
		INT	active-hi        edge	     9	  14	      8	  14
		INT	active-hi        edge	     9	  15	      8	  15
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	 conforms    conforms	     9	   0	    255	   0
		NMI	 conforms    conforms	     9	   0	    255	   1

----------------------------------------------------------------------------
---

MP Config Extended Table Entries:

Extended Table HOSED!





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?64003B21ECCAD11185C500805F31EC0303E73D39>