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

next in thread | raw e-mail | index | archive | help
I just got a Compaq Proliant 800 with two 550MHz P-III CPUs, 512 MB RAM,
etc.

I've installed 3.3-Release and built a custom kernel (based on GENERIC)
using the following options,

  machine         "i386"
  #cpu            "I386_CPU"
  #cpu            "I486_CPU"
  cpu             "I586_CPU"
  cpu             "I686_CPU"
  ident           CUSTOM  
  maxusers        256

  options         MAXMEM="(512*1024)"
  ...
  # 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=3                  # number of busses
  options         NAPIC=1                 # number of IO APICs
  options         NINTR=44                # number of INTs

I set NBUS to 3 based on the mptable output below. However, the results are
the same when set to 4. I set NINTR to 44 because with the default the boot
halted with a message stating that NINTR must be set to 44.

When I try to boot this kernel I get,

  Timecounter ...
  CPU Pentium III ...
    Origin ...
    Features ...
  real memory ...
  avail memory ...
  Programming 35 pins in IOAPIC #0
  IOAPIC #0 intpint 24 -> irq -1
  IOAPIC #0 intpint 25 -> irq -1
  IOAPIC #0 intpint 26 -> irq -1
  IOAPIC #0 intpint 27 -> irq -1
  IOAPIC #0 intpint 28 -> irq -1
  IOAPIC #0 intpint 29 -> irq -1
  IOAPIC #0 intpint 30 -> irq -1
  IOAPIC #0 intpint 31 -> irq -1

and the boot hangs.

I've appended the mptable output below.

Suggestions? I presume that the kernel options I've set are incorrect.

-Charles


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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f27cd
  signature:			'PCMP'
  base table length:		484
  version:			1.4
  checksum:			0x77
  OEM ID:			'COMPAQ  '
  Product ID:			'PROLIANT    '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			52
  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
		 0	 0x10	 BSP, usable	 6	 2	 1
0x0381
		 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-lo       level	     1	10:A	      8	  17
		INT	active-lo       level	     1	10:B	      8	  16
		INT	active-lo       level	     1	10:C	      8	  17
		INT	active-lo       level	     1	10:D	      8	  16
		INT	active-lo       level	     1	 9:A	      8	  19
		INT	active-lo       level	     1	 9:B	      8	  18
		INT	active-lo       level	     1	 9:C	      8	  19
		INT	active-lo       level	     1	 9:D	      8	  18
		INT	active-lo       level	     1	 8:A	      8	  21
		INT	active-lo       level	     1	 8:B	      8	  20
		INT	active-lo       level	     1	 8:C	      8	  21
		INT	active-lo       level	     1	 8:D	      8	  20
		INT	active-lo       level	     1	 7:A	      8	  23
		INT	active-lo       level	     1	 7:B	      8	  22
		INT	active-lo       level	     1	 7:C	      8	  23
		INT	active-lo       level	     1	 7:D	      8	  22
		INT	active-lo       level	     0	15:A	      8	  25
		INT	active-lo       level	     0	15:B	      8	  24
		INT	active-lo       level	     0	15:C	      8	  25
		INT	active-lo       level	     0	15:D	      8	  24
		INT	active-lo       level	     0	13:A	      8	  27
		INT	active-lo       level	     0	13:B	      8	  26
		INT	active-lo       level	     0	13:C	      8	  27
		INT	active-lo       level	     0	13:D	      8	  26
		INT	active-lo       level	     0	 6:A	      8	  31
		INT	active-lo       level	     0	 6:B	      8	  30
		INT	active-lo       level	     0	 7:A	      8	  29
		INT	active-lo       level	     0	 8:A	      8	  28
		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        edge	     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        edge	     9	   9	      8	   9
		INT	active-hi        edge	     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?64003B21ECCAD11185C500805F31EC0303E73D38>