Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 22:51:24 -0500 (EST)
From:      Andrew Gallatin <gallatin@CS.Duke.EDU>
To:        freebsd-smp@freebsd.org
Subject:   mptable output for Intel Buckeye & some questions
Message-ID:  <199703270351.WAA16946@thunder.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

I've managed to get a hold of a dual processor Intel 'Buckeye' & have
installed SMP FreeBSD on it (cvsupped last night).  As the subject
line states, I've appended mptable output.

The kernel was built w/the exact options suggested in by mptable.  On
the first try, it panic'ed (APIC missing 8254 connection).  After
doing some digging in the archives, I uncommented these defines in
src/sys/i386/include/smptests.h:
#define FAKE_8254_NC
#define IRQ_LO_NC
#define IRQ_HI_NC
and things seem to be running now.

Before I forget, what's the best 'vintage' userland to run underneath
this kernel?  I assume -current just before the lite2 merge, but what
was the date of that?

Cheers,

Drew

------------------------------------------------------------------------------
Duke University				Email:		gallatin@cs.duke.edu
Department of Computer Science		Phone:		(919) 660-6590




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

MPTable, version 2.0.6

 looking for EBDA pointer @ 0x040e, found, searching EBDA @ 0x0009fc00
 searching CMOS 'top of mem' @ 0x0009f800 (638K)
 searching default 'top of mem' @ 0x0009fc00 (639K)
 searching BIOS @ 0x000f0000

 MP FPS found in BIOS @ physical addr: 0x000f81d0

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f81e0
  signature:			'PCMP'
  base table length:		252
  version:			1.4
  checksum:			0x03
  OEM ID:			'INTEL   '
  Product ID:			'BUCKEYE     '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			23
  local APIC address:		0xfec08000
  extended table length:	288
  extended table checksum:	39

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

 bus ID: 0 address type: memory address
 address base: 0xd4000
 address range: 0x4000
--

 bus ID: 0 address type: memory address
 address base: 0xd8000
 address range: 0x4000
--

 bus ID: 0 address type: memory address
 address base: 0xdc000
 address range: 0x4000
--

 bus ID: 0 address type: memory address
 address base: 0xe0000
 address range: 0x4000
--

 bus ID: 0 address type: memory address
 address base: 0xe4000
 address range: 0x4000
--

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

 bus ID: 0 address type: memory address
 address base: 0xf00000
 address range: 0x100000
--

 bus ID: 0 address type: prefetch address
 address base: 0xf6800000
 address range: 0x3200000
--

 bus ID: 0 address type: memory address
 address base: 0xf9a00000
 address range: 0x2600000
--

 bus ID: 0 address type: I/O address
 address base: 0xd000
 address range: 0x2000
--

 bus ID: 0 address type: memory address
 address base: 0xa000000
 address range: 0xec800000
--

 bus ID: 0 address type: memory address
 address base: 0xfc000000
 address range: 0x4000000
--

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

 bus ID: 0 address type: I/O address
 address base: 0xf000
 address range: 0x1000
--

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

# SMP kernel config file options:

options		SMP			# Symmetric MultiProcessor Kernel
options		APIC_IO			# Symmetric (APIC) I/O
options		NCPU=2			# number of CPUs
options		NBUS=3			# number of busses
options		NAPIC=1			# number of IO APICs
options		NINTR=24		# number of INTs
options		SMP_INVLTLB		# 
#options		SMP_PRIVPAGES		# BROKEN, DO NOT use!
#options		SMP_AUTOSTART		# BROKEN, DO NOT use!
#options		SERIAL_DEBUG		# com port debug output

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

dmesg output:

Copyright (c) 1992-1996 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 3.0-SMP #1: Wed Mar 26 20:58:59 EST 1997
    gallatin@volcano.cs.duke.edu:/usr/src/sys/compile/SMP
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id: 0, version: 0x00040011
 cpu1 (AP):  apic id: 4, version: 0x00040011
 io0 (APIC): apic id: 13, version: 0x00170011
Calibrating clock(s) relative to mc146818A clock ... i8254 clock: 1193188 Hz
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x619  Stepping=9
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,<b11>,MTRR,PGE,MCA,CMOV>
real memory  = 167772160 (163840K bytes)
Physical memory hole(s):
0x00f00000 - 0x00ffffff, 1048576 bytes (256 pages)
avail memory = 161226752 (157448K bytes)
Probing for devices on PCI bus 0:
chip0 <Intel 82440FX (Natoma) PCI and memory controller> rev 2 on pci0:0:0
chip1 <Intel 82371SB PCI-ISA bridge> rev 1 on pci0:18:0
chip2 <Intel 82371SB IDE interface> rev 0 on pci0:18:1
chip3 <generic PCI bridge (vendor=1011 device=0024 subclass=4)> rev 1 on pci0:20:0
Probing for devices on PCI bus 1:
ahc0 <Adaptec aic7880 Ultra SCSI host adapter> rev 0 int a irq 17 on pci1:5:0
Freeing (NOT implimented) irq 11 for ISA cards.
ahc0: Using left over BIOS settings
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
sd0 at scbus0 target 0 lun 0
sd0: <SEAGATE ST34371W 0280> type 0 fixed SCSI 2
sd0: Direct-Access 4148MB (8496960 512 byte sectors)
st0 at scbus0 target 4 lun 0
st0: <ARCHIVE Python 28388-XXX 5.AC> type 1 removable SCSI 2
st0: Sequential-Access density code 0x13,  drive empty
cd0 at scbus0 target 5 lun 0
cd0: <SONY CD-ROM CDU-76S 1.2d> type 5 removable SCSI 2
cd0: CD-ROM cd present [400000 x 2048 byte records]
uk0 at scbus0 target 6 lun 0
uk0: <ESG-SHV SCA HSBP M2 0.14> type 3 fixed SCSI 2
uk0: Unknown 
fxp0 <Intel EtherExpress Pro/100B Fast Ethernet> rev 1 int a irq 18 on pci1:10:0
Freeing (NOT implimented) irq 9 for ISA cards.
pci_map_mem failed: device's memrange 0xf98ff000-0xf98fffff is incompatible with its bridge's memrange 0xf9a00000-0xfbefffff
fxp0: Ethernet address 00:a0:c9:06:93:9f
vga0 <VGA-compatible display device> rev 1 int a irq 19 on pci1:11:0
Freeing (NOT implimented) irq 11 for ISA cards.
vga1 <VGA-compatible display device> rev 34 on pci1:15:0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 not found at 0x3f8
sio1 not found at 0x2f8
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0, 3 buttons
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
scd0 not found at 0x230
npx0 on motherboard
npx0: INT 16 interface
apm0: disabled, not probed.
APIC missing 8254 connection
 to continue...
Enabled INTs: 0, 1, 6, 7, 8, 12, 17, 18, imen: 0x00f9ee3c
SMP: All idle procs online.
SMP: Starting 1st AP!
SMP: AP CPU #1 LAUNCHED!!  Starting Scheduling...
SMP: TADA! CPU #1 made it into the scheduler!.
SMP: All 2 CPU's are online!

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




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