Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 18:59:36 -0800
From:      Chuck Silvers <chuq@chuq.com>
To:        freebsd-smp@freebsd.org
Subject:   smp on intel DK440LX
Message-ID:  <17669.919911576@chuq.com>

next in thread | raw e-mail | index | archive | help
hello smp'ers,

I've got an intel DK440LX motherboard that I'm trying to run freebsd/smp
on, but it's not getting very far.  when I boot an smp-enabled kernel,
it hangs right after printing "APIC_IO: Testing 8254 interrupt delivery".

here's my "mptable -dmesg" and config file.
any ideas what it would take to get this working?

-Chuck


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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x0009f960
  signature:			'PCMP'
  base table length:		300
  version:			1.4
  checksum:			0x15
  OEM ID:			'INTEL   '
  Product ID:			'DK440LX     '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			29
  local APIC address:		0xfee00000
  extended table length:	144
  extended table checksum:	55

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

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

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

 bus ID: 0 address type: prefetch address
 address base: 0xf4000000
 address range: 0xacfd000
--

 bus ID: 0 address type: memory address
 address base: 0xfecfd000
 address range: 0x1303000
--

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

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

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

 bus ID: 0 address modifier: add
 predefined range: 0x00000000--

 bus ID: 0 address modifier: add
 predefined range: 0x00000001
-------------------------------------------------------------------------------

# 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=3			# number of busses
#options		NAPIC=1			# number of IO APICs
#options		NINTR=24		# number of INTs

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

dmesg output:

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.1-RELEASE #0: Mon Feb 15 11:08:08 GMT 1999
    jkh@usw3.freebsd.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Xeon/Celeron (333.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x650  Stepping=0
  Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,<b24>>
real memory  = 67108864 (65536K bytes)
avail memory = 61874176 (60424K bytes)
Preloaded elf kernel "kernel" at 0xf0340000.
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.2.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
chip3: <Intel 82371AB Power management controller> rev 0x01 on pci0.2.3
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on pci0.3.0
fxp0: Ethernet address 00:a0:c9:82:ca:07
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 9 on pci0.9.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 9 on pci0.9.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
vga0: <S3 Trio 64 graphics accelerator> rev 0x16 int a irq 9 on pci0.13.0
Probing for devices on PCI bus 1:
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 not found at 0x1f0
wdc1 not found at 0x170
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
nlpt0: <generic printer> on ppbus 0
nlpt0: 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
ze0 not found at 0x300
zp0 not found at 0x300
cs0 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
Waiting 15 seconds for SCSI devices to settle
changing root device to da0s1a
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM VIKING II 4.5WLS 5520> Fixed Direct Access SCSI-2 device 
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
(da0:ahc0:0:0:0): tagged openings now 63

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

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
# For more information read the handbook part System Administration -> 
# Configuring the FreeBSD Kernel -> The Configuration File. 
# The handbook is available in /usr/share/doc/handbook or online as
# latest version from the FreeBSD World Wide Web server 
# <URL:http://www.FreeBSD.ORG/>;
#
# An exhaustive list of options and more detailed explanations of the 
# device lines is present in the ./LINT configuration file. If you are 
# in doubt as to the purpose or necessity of a line, check first in LINT.
#
#	$Id: GENERIC,v 1.150 1999/02/14 20:28:38 jkh Exp $

machine		"i386"
cpu		"I686_CPU"
ident		GENERIC
maxusers	32

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		FFS_ROOT		#FFS usable as root device [keep this!]
options		MFS			#Memory Filesystem
options		MFS_ROOT		#MFS usable as root device, "MFS" req'ed
options		NFS			#Network Filesystem
options		NFS_ROOT		#NFS usable as root device, "NFS" req'ed
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		"CD9660_ROOT"		#CD-ROM usable as root. "CD9660" req'ed
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=1000		#Be pessimistic about Joe SCSI device
options		UCONSOLE		#Allow users to grab the console

config		kernel	root on da0

# 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=24		# number of INTs

controller	isa0
controller	pnp0			# PnP support for ISA
controller	eisa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	ahc0

# This controller offers a number of configuration options, too many to
# document here  - see the LINT file in this directory and look up the
# dpt0 entry there for much fuller documentation on this.
controller      dpt0


controller	scbus0

device		da0

device		sa0

device		pass0

device		cd0	#Only need one of these, the code dynamically grows

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller	atkbdc0	at isa? port IO_KBD tty
device		atkbd0	at isa? tty irq 1
device		psm0	at isa? tty irq 12

device		vga0	at isa? port ? conflicts

# splash screen/screen saver
pseudo-device	splash

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? tty
#options		XSERVER			# support for X server
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

device		npx0	at isa? port IO_NPX irq 13

#
# Laptop support (see LINT for more options)
#
device		apm0    at isa?	disable	flags 0x31 # Advanced Power Management

# PCCARD (PCMCIA) support
#controller	card0
#device		pcic0	at card?
#device		pcic1	at card?

device		sio0	at isa? port "IO_COM1" flags 0x10 tty irq 4
device		sio1	at isa? port "IO_COM2" tty irq 3
device		sio2	at isa? disable port "IO_COM3" tty irq 5
device		sio3	at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device		ppc0	at isa? port? tty irq 7
controller	ppbus0
device		nlpt0	at ppbus?
device		plip0	at ppbus?
device		ppi0	at ppbus?
#controller	vpo0	at ppbus?

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.
device fxp0


pseudo-device	loop
pseudo-device	ether
pseudo-device	sl	1
pseudo-device	ppp	1
pseudo-device	tun	1
pseudo-device	pty	16
pseudo-device	gzip		# Exec gzipped a.out's

# KTRACE enables the system-call tracing facility ktrace(2).
# This adds 4 KB bloat to your kernel, and slightly increases
# the costs of each syscall.
options		KTRACE		#kernel tracing

# This provides support for System V shared memory and message queues.
#
options         SYSVSHM
options         SYSVMSG


#  The `bpfilter' pseudo-device enables the Berkeley Packet Filter.  Be
#  aware of the legal and administrative consequences of enabling this
#  option.  The number of devices determines the maximum number of
#  simultaneous BPF clients programs runnable.
#pseudo-device	bpfilter 4	#Berkeley packet filter


# USB support
#controller    uhci0
#controller    ohci0
#controller    usb0
#
# for the moment we have to specify the priorities of the device
# drivers explicitly by the ordering in the list below. This will
# be changed in the future.
#
#device        ums0
#device        ukbd0
#device        ulpt0
#device        uhub0
#device        ucom0
#device        umodem0
#device        hid0
#device        ugen0

#
#options       USB_DEBUG
#options       USBVERBOSE


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