Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Sep 2000 20:57:23 -0700
From:      Denver Maddux <denver@nitrous.net>
To:        freebsd-smp@freebsd.org
Subject:   SMP on a Netfinity 6000R
Message-ID:  <20000924205723.G10774@nitrous.net>

next in thread | raw e-mail | index | archive | help
Hi.  I've recently been purchased some Netfinity 6000Rs and am wanting to run
FreeBSD on them.  I've loaded 4.1-CURRENT on one of them with a single
processor, and it works like a champ (fast as hell).  My problem is...

I have 3 other processors for these things, as the hold a total of 4.  I
decided to do my initial load with only 2 processors per box just to test
and get familiar with them (no need to unpack what I may not be able to use).
I've enabled SMP in the kernel config, and at boot time all goes well until
the 2nd processor is loaded.

DDB shows it halt after loading:

db> n
After 2 instructions (0 loads, 0 stores),
Stopped at	atkbd_isa_intr+0x19:	ret
db> n
After 248 instructions (0 loads, 0 stores),
Stopped at	doreti_iret:	iret
db> n
.......

And the kernel halts.  Booting with a GENERIC kernel shows that the next
device to load is the pass1 device... this never happens with SMP enabled
and the last message seen before halting is "Waiting 15 seconds for SCSI
devices to settle".

I've seen in the archives that alot of people have used these boxes in the
past successfully with an SMP kernel, but I can't seem to find anything
specific to the 6000R model.  Currently, my kernel config is the GENERIC
kernel with SMP enabled.  It made the most sense to me since is the first
time I've used one of these boxes, and the GENERIC kernel worked just fine.

My SMP configs are:

options		SMP
options		APIC_IO
options		NCPU=2
options		NBUS=10
options		NAPIC=2
options		NINTR=39

Below are output from dmesg with the generic kernel and mptable output.

Does anyone have any ideas?

Thanks,
Denver

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


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.1-RELEASE #0: Fri Jul 28 14:30:31 GMT 2000
    jkh@ref4.freebsd.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Unknown 80686 (701.62-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6a1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 1073713152 (1048548K bytes)
avail memory = 1040621568 (1016232K bytes)
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib2: <RCC host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x4000-0x40ff mem 0xefbff000-0xefbfffff irq 10 at device 1.0 on pci2
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0x4100-0x41ff mem 0xefbfe000-0xefbfefff irq 10 at device 1.1 on pci2
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
pcib0: <RCC host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x2200-0x223f mem 0xfea00000-0xfeafffff,0xfebff000-0xfebfffff irq 11 at device 1.0 on pci0
fxp0: Ethernet address 00:06:29:8f:29:c2
lnc0: <PCNet/PCI Ethernet adapter> port 0x2240-0x225f mem 0xfebfec00-0xfebfec1f irq 11 at device 5.0 on pci0
lnc0: driver is using old-style compatability shims
pci0: <S3 Savage 4 graphics accelerator> at 6.0
isab0: <PCI to ISA bridge (vendor=1166 device=0200)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Generic PCI ATA controller> port 0x700-0x70f at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfebfd000-0xfebfdfff irq 15 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib3: <RCC host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pcib5: <RCC host to PCI bridge> on motherboard
pci5: <PCI bus> on pcib5
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
acd0: CDROM <LTN403S> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
pass1 at ahc1 bus 0 target 8 lun 0
pass1: <IBM YGLv3 S2 0> Fixed Processor SCSI-2 device 
pass1: 3.300MB/s transfers
da0 at ahc1 bus 0 target 2 lun 0
da0: <IBM-PSG ST318436LC    !# 3281> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 17357MB (35548320 512 byte sectors: 255H 63S/T 2212C)
Mounting root from ufs:da0s1a

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x0009e1e0
  signature:			'PCMP'
  base table length:		508
  version:			1.4
  checksum:			0x04
  OEM ID:			'UNISYS  '
  Product ID:			'            '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			55
  local APIC address:		0xfee00000
  extended table length:	228
  extended table checksum:	158

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--

 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: 0x20000
--

 bus ID: 0 address type: prefetch address
 address base: 0xefc00000
 address range: 0x8a00000
--

 bus ID: 0 address type: memory address
 address base: 0xf8600000
 address range: 0x7a00000
--

 bus ID: 2 address type: prefetch address
 address base: 0xed000000
 address range: 0x800000
--

 bus ID: 2 address type: memory address
 address base: 0xed800000
 address range: 0x2400000
--

 bus ID: 5 address type: memory address
 address base: 0xeb800000
 address range: 0xc00000
--

 bus ID: 5 address type: prefetch address
 address base: 0xec400000
 address range: 0xc00000
--

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

 bus ID: 2 address type: I/O address
 address base: 0x4000
 address range: 0x3000
--

 bus ID: 5 address type: I/O address
 address base: 0x7000
 address range: 0x9000
--

 bus ID: 9 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=10			# number of busses
#options		NAPIC=2			# number of IO APICs
#options		NINTR=39		# 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?20000924205723.G10774>