Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2002 18:56:05 -0500 (EST)
From:      Matt Barton <matt@webexc.com>
To:        freebsd-smp@freebsd.org
Subject:   FreeBSD 4.5: Second CPU Not Working on Dell PowerEdge 1650
Message-ID:  <20020321183805.D1449-100000@spock.webexc.com>

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

I am not a subscriber to this list so I would appreciate direct replies to
my mailbox.  Thanks.

Okay.  My company recently acquired a new Dell PowerEdge 1650.  These are
new Dell boxes that seem to be mostly based on the 1550 model.  We were
able to get a deal on the machine and thus received a second processor.

I'm not able to get FreeBSD to boot with the second processor enabled.
It will boot just fine, but will only enable the first CPU.  I am a total
novice at FreeBSD with SMP enabled.

FreeBSD wopr.webexc.com 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #0: Thu Mar
21 15:00:17 EST 2002 root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR i386

To enable SMP, I modified two lines in a copy of the GENERIC kernel
configuration.

options		SMP
options		APIC_IO

After compiling the kernel, I installed it and rebooted.  The server came
up with no problems, but with only one processor enabled.  Not sure what I
need to do from here, which I why I am writing this e-mail.

I have included the output of "dmesg" and "mptable" below for you viewing.
The pertainent error that I'm seeing at boot time is the following.

APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0
intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!

To me this looks like some kind of hardware incompatibility with the new
1650 model and FreeBSD, which isn't suprising considering these models
were just released a month or so ago.

Please let me know what you guys think.  If I need to update my source to
-stable, I can do that.

Also, is there any way other than looking at "mptable" to know if the
second processor is actually being used?  Would "top" show me CPU stats
for both processors?  Just curious -- my first time doing this.

Thank you!

=====

Copyright (c) 1992-2002 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.5-RELEASE-p2 #0: Thu Mar 21 15:00:17 EST 2002
    root@wopr.webexc.com:/usr/obj/usr/src/sys/WOPR
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (1127.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 268369920 (262080K bytes)
avail memory = 257638400 (251600K bytes)
Changing APIC ID for IO APIC #0 from 0 to 2 on chip
Changing APIC ID for IO APIC #1 from 0 to 3 on chip
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
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: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
Preloaded elf kernel "kernel" at 0xc0371000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fc230
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib1: <ServerWorks host to PCI bridge> on motherboard
IOAPIC #1 intpin 1 -> irq 2
IOAPIC #1 intpin 0 -> irq 3
IOAPIC #1 intpin 2 -> irq 5
IOAPIC #1 intpin 3 -> irq 7
pci1: <PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.0.9> port 0xdce0-0xdcff mem 0xfeb40000-0xfeb5ffff,0xfeb60000-0xfeb7ffff irq 2 at device 2.0 on pci1
em0:  Speed:10 Mbps  Duplex:Half
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.0.9> port 0xdcc0-0xdcdf mem 0xfeb00000-0xfeb1ffff,0xfeb20000-0xfeb3ffff irq 3 at device 4.0 on pci1
em1:  Speed:N/A  Duplex:N/A
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd800-0xd8ff mem 0xfeb81000-0xfeb81fff irq 5 at device 6.0 on pci1
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> port 0xd400-0xd4ff mem 0xfeb80000-0xfeb80fff irq 7 at device 6.1 on pci1
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/255 SCBs
pcib0: <ServerWorks host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GR graphics accelerator> at 12.0
atapci0: <Generic PCI ATA controller> port 0x8b0-0x8bf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ohci0: <OHCI (generic) USB controller> mem 0xfe100000-0xfe100fff irq 11 at device 15.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
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
isab0: <PCI to ISA bridge (vendor=1166 device=0225)> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib2: <ServerWorks host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib2
pcib3: <ServerWorks host to PCI bridge> on motherboard
pci3: <PCI bus> on pcib3
pcib4: <Host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib4
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcdfff,0xec000-0xeffff on isa0
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: configured irq 3 not in bitmap of probed irqs 0
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: Broken MP table detected: 8254 is not connected to IOAPIC #0 intpin 2
APIC_IO: routing 8254 via 8259 and IOAPIC #0 intpin 0
SMP: AP CPU #1 Launched!
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata0-master using PIO4
Waiting 15 seconds for SCSI devices to settle
pass1 at ahc0 bus 0 target 6 lun 0
pass1: <PE/PV 1x3 SCSI BP 0.25> Fixed Processor SCSI-2 device
pass1: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <FUJITSU MAN3184MC 5508> Fixed Direct Access SCSI-3 device
da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled
da0: 17366MB (35566478 512 byte sectors: 255H 63S/T 2213C)
Mounting root from ufs:/dev/da0s2a

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

MPTable, version 2.0.15

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

MP Floating Pointer Structure:

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

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

MP Config Table Header:

  physical address:		0x000f0000
  signature:			'PCMP'
  base table length:		420
  version:			1.4
  checksum:			0xc5
  OEM ID:			'DELL    '
  Product ID:			'PE 011B     '
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			44
  local APIC address:		0xfee00000
  extended table length:	128
  extended table checksum:	110

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

MP Config Base Table Entries:

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

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

MP Config Extended Table Entries:

--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0xe000
 address range: 0x1000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xa0000
 address range: 0x20000
--
System Address Space
 bus ID: 0 address type: I/O address
 address base: 0x0
 address range: 0xd000
--
System Address Space
 bus ID: 0 address type: memory address
 address base: 0xfd000000
 address range: 0x1200000
--
System Address Space
 bus ID: 1 address type: I/O address
 address base: 0xd000
 address range: 0x1000
--
System Address Space
 bus ID: 1 address type: memory address
 address base: 0xfea00000
 address range: 0x200000
--
Bus Heirarchy
 bus ID: 3 bus info: 0x01 parent bus ID: 0

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

-- 

Matt Barton
Webexcellence
matt@webexc.com
Phone:  317.423.3548 x22
Fax:  317.423.8735
www.webexc.com


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?20020321183805.D1449-100000>