Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2000 11:45:06 -0600
From:      Jonathan Lemon <jlemon@flugsvamp.com>
To:        smp@freebsd.org
Subject:   SMP on Dell
Message-ID:  <20000209114506.D17611@prism.flugsvamp.com>

next in thread | raw e-mail | index | archive | help
I'm trying to get a Dell Poweredge up and running SMP and am 
having some difficulty.  Attached is the mptable from a uni-processor
boot (which works), and the dmesg output from a failed SMP boot.

As I'm currently lacking enough SMP clues to figure this out, could
someone point me in the right direction?  The 'Freeing (not implemented)'
lines look suspicious to me.
--
Jonathan


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

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:		652
  version:			1.4
  checksum:			0x03
  OEM ID:			'DELL    '
  Product ID:			'POWEREDGE A2'
  OEM table pointer:		0x00000000
  OEM table size:		0
  entry count:			70
  local APIC address:		0xfee00000
  extended table length:	208
  extended table checksum:	241

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

MP Config Base Table Entries:

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

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

ok boot -v
SMAP type=01 base=00000000 00000000 len=00000000 000a0000
SMAP type=01 base=00000000 00100000 len=00000000 f7efe000
SMAP type=02 base=00000000 f7ffe000 len=00000000 00002000
SMAP type=02 base=00000000 fec00000 len=00000000 00010000
SMAP type=02 base=00000000 fee00000 len=00000000 00010000
SMAP type=02 base=00000000 fff80000 len=00000000 00080000
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-CURRENT #8: Sun Feb  6 14:16:45 PST 2000
    jlemon@XXXXXXXXXXXXXX:/usr/src/sys/compile/SMP4
Calibrating clock(s) ... TSC clock: 549468250 Hz, i8254 clock: 1193244 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium III/Xeon (549.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
real memory  = 4160741376 (4063224K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00352000 - 0xf7ffbfff, 4157251584 bytes (4294933674 pages)
avail memory = 4038045696 (3943404K bytes)
Programming 16 pins in IOAPIC #0
Programming 16 pins in IOAPIC #1
IOAPIC #1 intpin 0 -> irq 2
IOAPIC #1 intpin 1 -> irq 5
IOAPIC #1 intpin 2 -> irq 10
IOAPIC #1 intpin 3 -> irq 11
IOAPIC #1 intpin 4 -> irq 13
IOAPIC #1 intpin 5 -> irq 16
IOAPIC #1 intpin 6 -> irq 17
IOAPIC #1 intpin 7 -> irq 18
IOAPIC #1 intpin 8 -> irq 19
IOAPIC #1 intpin 9 -> irq 20
IOAPIC #1 intpin 10 -> irq 21
IOAPIC #1 intpin 11 -> irq 22
IOAPIC #1 intpin 12 -> irq 23
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  3, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 cpu2 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
 cpu3 (AP):  apic id:  2, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  4, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  5, version: 0x000f0011, at 0xfec01000
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xc7fe
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
Other BIOS signatures found:
ACPI: 000fdcc0
Preloaded elf kernel "kernel.DELL-SMP" at 0xc0336000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000074
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00081166)
devclass_alloc_unit: pcib3 already exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00081166)
pcib3: <RCC host to PCI bridge> on motherboard
Freeing (NOT implemented) redirected PCI irq 11.
found->	vendor=0x1385, dev=0x620a, revid=0x01
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=20
	map[10]: type 1, range 32, base faefc000, size 14
pci3: <PCI bus> on pcib3
ti0: <Netgear GA620 Gigabit Ethernet> irq 20 at device 11.0 on pci3
ti0: Ethernet address: 00:a0:cc:73:35:88
bpf: ti0 attached
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00081166)
pcib0: <RCC host to PCI bridge> on motherboard
found->	vendor=0x1166, dev=0x0008, revid=0x21
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0008, revid=0x01
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0006, revid=0x00
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0006, revid=0x00
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1002, dev=0x4759, revid=0x7a
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base fb000000, size 24
	map[14]: type 1, range 32, base 0000ec00, size  8
	map[18]: type 1, range 32, base fdeff000, size 12
Freeing (NOT implemented) redirected PCI irq 11.
found->	vendor=0x9005, dev=0x00cf, revid=0x01
	class=01-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[10]: type 1, range 32, base 0000e800, size  8
	map[14]: type 1, range 64, base fdefe000, size 12
found->	vendor=0x9005, dev=0x00cf, revid=0x01
	class=01-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=10
	map[10]: type 1, range 32, base 0000e400, size  8
	map[14]: type 1, range 64, base fdefd000, size 12
Freeing (NOT implemented) redirected PCI irq 5.
found->	vendor=0x8086, dev=0x1229, revid=0x08
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=21
	map[10]: type 1, range 32, base fdefc000, size 12
	map[14]: type 1, range 32, base 0000e0c0, size  6
	map[18]: type 1, range 32, base fdd00000, size 20
found->	vendor=0x1166, dev=0x0200, revid=0x4f
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0211, revid=0x00
	class=01-01-8a, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 000008b0, size  4
pci0: <PCI bus> on pcib0
vga-pci0: <ATI model 4759 graphics accelerator> at device 4.0 on pci0
ahc0: <Adaptec aic7899 Ultra160 SCSI adapter> irq 5 at device 5.0 on pci0
OptionMode = 3
ahc0: Reading SEEPROM...done.
ahc0: Manual LVD Termination
ahc0: BIOS eeprom is present
ahc0: Secondary High byte termination Enabled
ahc0: Secondary Low byte termination Enabled
ahc0: Primary Low Byte termination Enabled
ahc0: Primary High Byte termination Enabled
ahc0: aic7899 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Downloading Sequencer Program... 399 instructions downloaded
ahc1: <Adaptec aic7899 Ultra160 SCSI adapter> irq 10 at device 5.1 on pci0
OptionMode = 3
ahc1: Reading SEEPROM...done.
ahc1: Manual LVD Termination
ahc1: BIOS eeprom is present
ahc1: Secondary High byte termination Enabled
ahc1: Secondary Low byte termination Enabled
ahc1: Primary Low Byte termination Enabled
ahc1: Primary High Byte termination Enabled
ahc1: aic7899 Wide Channel B, SCSI Id=7, 16/255 SCBs
ahc1: Downloading Sequencer Program... 399 instructions downloaded
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> irq 21 at device 8.0 on pci0
fxp0: Ethernet address 00:c0:4f:a0:46:1a
bpf: fxp0 attached
isab0: <PCI to ISA bridge (vendor=1166 device=0200)> at device 15.0 on pci0
isa0: <ISA bus> on isab0
pci0: Unknown PCI ATA controller (vendor=0x1166, dev=0x0211) at 15.1
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00081166)
pcib4: <RCC host to PCI bridge> on motherboard
pci4: <PCI bus> on pcib4
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00081166)
pcib12: <RCC host to PCI bridge> on motherboard
Freeing (NOT implemented) redirected PCI irq 10.
found->	vendor=0x1000, dev=0x000b, revid=0x05
	class=01-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 00008c00, size  8
	map[14]: type 1, range 64, base f9cffc00, size 10
	map[1c]: type 1, range 64, base f9cfc000, size 13
Freeing (NOT implemented) redirected PCI irq 5.
found->	vendor=0x1000, dev=0x000b, revid=0x05
	class=01-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=b, irq=255
	map[10]: type 1, range 32, base 00008800, size  8
	map[14]: type 1, range 64, base f9cff800, size 10
	map[1c]: type 1, range 64, base f9cfa000, size 13
pci12: <PCI bus> on pcib12
sym0: <896> irq 11 at device 12.0 on pci12
sym0: Symbios NVRAM, ID 7, Fast-40, LVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: handling phase mismatch from SCRIPTS.
sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/a0/01/00/24
sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/4e/80/01/08/24
sym0: Delay (GEN=11): 243 msec, 36577 KHz
sym0: Delay (GEN=11): 276 msec, 32204 KHz
sym0: Delay (GEN=11): 276 msec, 32204 KHz
sym0: enabling clock multiplier
sym0: Downloading SCSI SCRIPTS.
sym1: <896> at device 12.1 on pci12
sym1: failed to allocate IRQ resource


Fatal trap 12: page fault while in kernel mode
mp_lock = 00000002; cpuid = 0; lapic.id = 03000000
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc01f5091
stack pointer	        = 0x10:0xc034ace8
frame pointer	        = 0x10:0xc034acf8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 (swapper)
interrupt mask		= net tty bio cam  <- SMP: XXX
trap number		= 12
panic: page fault
mp_lock = 00000002; cpuid = 0; lapic.id = 03000000
Uptime: 0s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...


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?20000209114506.D17611>