Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2000 09:10:07 +0200
From:      sthaug@nethelp.no
To:        smp@csn.net
Cc:        mihara@prd.fc.nec.co.jp, freebsd-smp@FreeBSD.ORG
Subject:   Re: Multiple APIC support (RE: Issues with Spankin' new Poweredge 4400 w/ dual 866's and 133MHz FSB?)
Message-ID:  <81641.956128207@verdi.nethelp.no>
In-Reply-To: Your message of "Wed, 19 Apr 2000 00:44:54 -0600"
References:  <200004190644.AAA65180@Ilsa.StevesCafe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > I/O APICs:	APIC ID	Version	State		Address
> > > 		14	 0x11	 usable		 0xfec00000
> > > 		13	 0x11	 usable		 0xfff7ec00
> 
> We need to get one of the VM guys to look at the code in 
> pmap.c:pmap_bootstrap()
> around line 422.  I think this code assumes that IO apics are aligned to
> a PAGE_SIZE boundary which isn't true for your second IO apic @ 0xfff7ec00.

However, this is not the problem for the IBM Netfinity 5600 servers with
the RCC chipset:

I/O APICs:      APIC ID Version State           Address
                14       0x11    usable          0xfec00000
                15       0x11    usable          0xfec01000

It still panics.

Full mptable output below.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			EBDA
  physical address:		0x0009e140
  signature:			'_MP_'
  length:			16 bytes
  version:			1.4
  checksum:			0xd1
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x0009e6e0
  signature:			'PCMP'
  base table length:		444
  version:			1.4
  checksum:			0x70
  OEM ID:			'IBM GNK '
  Product ID:			'Teton SMP   '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			47
  local APIC address:		0xfee00000
  extended table length:	156
  extended table checksum:	37

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

 bus ID: 0 address type: memory address
 address base: 0xf7000000
 address range: 0x9000000
--

 bus ID: 2 address type: memory address
 address base: 0x38000000
 address range: 0xbf000000
--

 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--

 bus ID: 0 address type: memory address
 address base: 0xc0000
 address range: 0x10000
--

 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0x4aec
--

 bus ID: 0 address type: I/O address
 address base: 0x82e8
 address range: 0x7d17
--

 bus ID: 2 address type: I/O address
 address base: 0x4aec
 address range: 0x37fc
--

 bus ID: 1 bus info: 0x00 parent bus ID: 0--

 bus ID: 6 bus info: 0x01 parent bus ID: 0
-------------------------------------------------------------------------------

# SMP kernel config file options:


# Required:
options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options		NCPU=2			# number of CPUs
#options		NBUS=7			# number of busses
#options		NAPIC=2			# number of IO APICs
#options		NINTR=34		# number of INTs

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



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?81641.956128207>