Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 1998 01:40:04 -0400 (EDT)
From:      Ben Goodwin <ben@hamsterville.ultranet.com>
To:        freebsd-smp@FreeBSD.ORG
Cc:        ben@poseidon.hamsterville.ultranet.com (Ben Goodwin)
Subject:   Buslogic & SMP kernel
Message-ID:  <199806070540.BAA02100@poseidon.hamsterville.ultranet.com>

next in thread | raw e-mail | index | archive | help
I've been running FreeBSD 3.0-980426-SNAP on a tyan with dual ppro 200's
for a month or so now ...  Today, I tried to install a buslogic (BT-958)
card into the system.  After trial and error, I found that if
SMP support is enabled in the kernel (including a kernel built off
SMP-GENERIC), accessing any device off the scsi chain doesn't work at all...
It works perfectly fine with a non-SMP kernel, however.
Is this a known problem (I searched and didn't find anything)?  If not,
I'll do my best to help track down the problem.  I'll include dmesg
and mptable stuff below to get started.  I don't have a dmesg from
a kernel with the BL driver installed handy, though.  I guess
that would help :)  I'll provide that as soon as I can. TIA!

*DMESG*

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 3.0-980426-SNAP #7: Sun May 24 21:29:07 EDT 1998
    ben@poseidon.hamsterville.ultranet.com:/usr/src/sys/compile/SMP-POSEIDON
Timecounter "i8254"  frequency 1193182 Hz  cost 3787 ns
CPU: Pentium Pro (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x617  Stepping=7
  Features=0xfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV>
real memory  = 67108864 (65536K bytes)
avail memory = 62496768 (61032K bytes)
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:  2, version: 0x00170011, at 0xfec00000
Probing for devices on PCI bus 0:
chip0: <Intel 82440FX (Natoma) PCI and memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
vga0: <ATI Mach64-CT graphics accelerator> rev 0x0a on pci0.11.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 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
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 (wd0): <Maxtor 84320D4>
wd0: 4120MB (8438850 sectors), 8930 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 not found at 0x170
1 3C5x9 board(s) on ISA found at 0x300
ep0 at 0x300-0x30f irq 10 on isa
ep0: aui/utp[*UTP*] address 00:20:af:a2:27:42
npx0 on motherboard
npx0: INT 16 interface
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
SMP: AP CPU #1 Launched!
WARNING: / was not properly dismounted.

*MPTABLE*

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

  location:			BIOS
  physical address:		0x000f0920
  signature:			'_MP_'
  length:			16 bytes
  version:			1.1
  checksum:			0x57
  mode:				Virtual Wire

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

MP Config Table Header:

  physical address:		0x000f0934
  signature:			'PCMP'
  base table length:		292
  version:			1.1
  checksum:			0xaf
  OEM ID:			'OEM00000'
  Product ID:			'PROD00000000'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			28
  local APIC address:		0xfee00000
  extended table length:	0
  extended table checksum:	0

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

MP Config Base Table Entries:

--
Processors:	APIC ID	Version	State		Family	Model	Step	Flags
		 1	 0x11	 BSP, usable	 6	 1	 7	 0xfbff
		 0	 0x11	 AP, usable	 6	 1	 7	 0xfbff
--
Bus:		Bus ID	Type
		 0	 ISA   
		 1	 PCI   
--
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	 conforms    conforms	     0	   0	      2	   0
		INT	 conforms    conforms	     0	   1	      2	   1
		INT	 conforms    conforms	     0	   0	      2	   2
		INT	 conforms    conforms	     0	   3	      2	   3
		INT	 conforms    conforms	     0	   4	      2	   4
		INT	 conforms    conforms	     0	   5	      2	   5
		INT	 conforms    conforms	     0	   6	      2	   6
		INT	 conforms    conforms	     0	   7	      2	   7
		INT	 conforms    conforms	     0	   8	      2	   8
		INT	 conforms    conforms	     0	   9	      2	   9
		INT	 conforms    conforms	     0	  10	      2	  10
		INT	 conforms    conforms	     0	  11	      2	  11
		INT	 conforms    conforms	     0	  12	      2	  12
		INT	 conforms    conforms	     0	  13	      2	  13
		INT	 conforms    conforms	     0	  14	      2	  14
		INT	 conforms    conforms	     0	  15	      2	  15
		INT	active-lo       level	     1	14:A	      2	  16
		INT	active-lo       level	     1	13:A	      2	  17
		INT	active-lo       level	     1	12:A	      2	  18
		INT	active-lo       level	     1	11:A	      2	  19
		SMI	 conforms    conforms	     0	   0	      2	  23
--
Local Ints:	Type	Polarity    Trigger	Bus ID	 IRQ	APIC ID	PIN#
		ExtINT	active-hi        edge	     0	   0	    255	   0
		NMI	active-hi        edge	     0	   0	    255	   1

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

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

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


	-= Ben

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?199806070540.BAA02100>