SMP bug?

milan mio at lebox.org
Wed Apr 30 21:21:13 PDT 2003


Hi,  i have a dual proc Xeon system but freebsd with SMP and Hyperthreading enabled dectects 3 (three) processors!

any ideas what's wrong? is this normal?

thanks for any help,
-Milan

my motherboard spec (X5DEi-GG):
http://www.supermicro.com/PRODUCT/MotherBoards/GC_SL/X5DEi.htm

and (sorry if too verbose) dmesg output:

Copyright (c) 1992-2003 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.8-RELEASE #0: Wed Apr 30 00:20:45 PDT 2003
    root at kick.lebox.org:/usr/obj/usr/src/sys/KICK
Calibrating clock(s) ... TSC clock: 1796624052 Hz, i8254 clock: 1192978 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: Intel(R) XEON(TM) CPU 1.80GHz (1796.94-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
  Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
  Hyperthreading: 2 logical CPUs
real memory  = 1073676288 (1048512K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00370000 - 0x3ffe7fff, 1070039040 bytes (261240 pages)
avail memory = 1041747968 (1017332K bytes)
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
Programming 16 pins in IOAPIC #2
Programming 16 pins in IOAPIC #3
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 cpu2 (AP):  apic id:  2, version: 0x00050014, at 0xfee00000
 cpu3 (AP):  apic id:  3, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  8, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  9, version: 0x000f0011, at 0xfec01000
 io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000
 io3 (APIC): apic id: 11, version: 0x000f0011, at 0xfec03000
bios32: Found BIOS32 Service Directory header at 0xc00fdb70
bios32: Entry = 0xfdb80 (c00fdb80)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xdba1
pnpbios: Found PnP BIOS data at 0xc00f49b0
pnpbios: Entry = f0000:3854  Rev = 1.0
Other BIOS signatures found:
ACPI: 000ff900
Preloaded elf kernel "kernel" at 0xc0346000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
pci_open(1):	mode 1 addr port (0x0cf8) is 0x800078ac
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00171166)
Using $PIR table, 11 entries at 0xc00f4fb0
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
found->	vendor=0x1166, dev=0x0017, revid=0x32
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0017, revid=0x00
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
IOAPIC #1 intpin 12 -> irq 2
Freeing (NOT implemented) redirected PCI irq 9.
found->	vendor=0x8086, dev=0x100e, revid=0x02
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=2
	map[10]: type 1, range 32, base feb40000, size 17
	map[18]: type 1, range 32, base 0000e000, size  6
IOAPIC #1 intpin 10 -> irq 9
Freeing (NOT implemented) redirected PCI irq 11.
found->	vendor=0x8086, dev=0x100e, revid=0x02
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base feb80000, size 17
	map[18]: type 1, range 32, base 0000e400, size  6
IOAPIC #1 intpin 13 -> irq 10
found->	vendor=0x1002, dev=0x4752, revid=0x27
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base fd000000, size 24
	map[14]: type 1, range 32, base 0000e800, size  8
	map[18]: type 1, range 32, base febff000, size 12
found->	vendor=0x1166, dev=0x0203, revid=0xa0
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1166, dev=0x0213, revid=0xa0
	class=01-01-8a, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base 000001f0, size  3
	map[14]: type 1, range 32, base 000003f4, size  2
	map[18]: type 1, range 32, base 00000170, size  3
	map[1c]: type 1, range 32, base 00000374, size  2
	map[20]: type 1, range 32, base 0000ffa0, size  4
IOAPIC #1 intpin 1 -> irq 11
Freeing (NOT implemented) redirected PCI irq 10.
found->	vendor=0x1166, dev=0x0221, revid=0x05
	class=0c-03-10, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base febfd000, size 12
found->	vendor=0x1166, dev=0x0227, revid=0x00
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
pci0: <PCI bus> on pcib0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port 0xe000-0xe03f mem 0xfeb40000-0xfeb5ffff irq 2 at device 8.0 on pci0
bpf: em0 attached
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port 0xe400-0xe43f mem 0xfeb80000-0xfeb9ffff irq 9 at device 9.0 on pci0
bpf: em1 attached
em1:  Speed:100 Mbps  Duplex:Full
pci0: <ATI Mach64-GR graphics accelerator> (vendor=0x1002, dev=0x4752) at 11.0 irq 10
atapci0: <Generic PCI ATA controller> port 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 ostat0=50 ostat2=00
ata1-master: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ata1-master: ATA 01 a5
ata1: devices=01
ata1: at 0x170 irq 15 on atapci0
pci0: <OHCI USB controller> (vendor=0x1166, dev=0x0221) at 15.2 irq 11
isab0: <PCI to ISA bridge (vendor=1166 device=0227)> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib255: <ServerWorks host to PCI bridge(unknown chipset)> on motherboard
pci255: <PCI bus> on pcib255
pcib1: <Host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff 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
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: failed to reset the aux device.
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
isa_probe_children: probing PnP devices
SMP: enabled INTs: 1, 2, 3, 4, 6, 9, 14, 15, apic_imen: 0x00ff3da1
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
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
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 6800c040, tty 6300001a, net 6700021e
bpf: sl0 attached
bpf: faith0 attached
SMP: AP CPU #2 Launched!
SMP: CPU2 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
SMP: AP CPU #3 Launched!
SMP: CPU3 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <Maxtor 6Y120P0/YAR41BW0> ATA-7 disk at ata0-master
ad0: 117246MB (240121728 sectors), 238216 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, BIOSDMA
ad0: piomode=4 dmamode=2 udmamode=6 cblid=1
Creating DISK ad2
ar: FreeBSD check1 failed
ad2: <IC35L120AVV207-0/V24OA63A> ATA-6 disk at ata1-master
ad2: 117800MB (241254720 sectors), 239340 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, BIOSDMA
ad2: piomode=4 dmamode=2 udmamode=5 cblid=1
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 240107489, size 240107427 : OK
start_init: trying /sbin/init
Linux ELF exec handler installed


More information about the freebsd-questions mailing list