Dual CPU detection problem
Joseph Koshy
joseph.koshy at gmail.com
Tue Nov 30 03:29:47 PST 2004
Strange problem.
On an IBM xSeries 335 machine with TWO P4 HTT cpus (mptable, dmesg output
enclosed) FreeBSD -CURRENT will sometimes detect both the physical CPUs
and will sometimes detect only one.
FreeBSD 5.3 reliably detects the 2 physical / 4 logical CPUs that are present.
Any suggestions on how to debug this?
-------------- next part --------------
===============================================================================
MPTable, version 2.0.15
-------------------------------------------------------------------------------
MP Floating Pointer Structure:
location: EBDA
physical address: 0x0009e140
signature: '_MP_'
length: 16 bytes
version: 1.4
checksum: 0x97
mode: Virtual Wire
-------------------------------------------------------------------------------
MP Config Table Header:
physical address: 0x0009f010
signature: 'PCMP'
base table length: 260
version: 1.4
checksum: 0x36
OEM ID: 'IBM ENSW'
Product ID: 'TURQUIOSESMP'
OEM table pointer: 0x00000000
OEM table size: 0
entry count: 24
local APIC address: 0xfee00000
extended table length: 208
extended table checksum: 84
-------------------------------------------------------------------------------
MP Config Base Table Entries:
--
Processors: APIC ID Version State Family Model Step Flags
0 0x14 BSP, usable 15 2 9 0x0301
6 0x14 AP, usable 15 2 9 0x0301
--
Bus: Bus ID Type
0 PCI
1 PCI
2 PCI
3 ISA
--
I/O APICs: APIC ID Version State Address
14 0x11 usable 0xfec00000
13 0x11 usable 0xfec01000
12 0x11 usable 0xfec02000
--
I/O Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
INT conforms conforms 3 1 14 1
INT conforms conforms 3 0 14 2
INT conforms conforms 3 4 14 4
INT conforms conforms 3 6 14 6
INT conforms conforms 3 8 14 8
INT conforms conforms 3 12 14 12
INT conforms conforms 3 13 14 13
INT conforms conforms 3 14 14 14
INT conforms conforms 3 15 14 15
INT conforms conforms 0 1:A 13 10
INT conforms conforms 0 15:A 14 10
INT conforms conforms 2 1:A 13 8
INT conforms conforms 2 2:A 13 9
--
Local Ints: Type Polarity Trigger Bus ID IRQ APIC ID PIN#
NMI conforms conforms 3 0 255 1
ExtINT conforms conforms 3 0 255 0
-------------------------------------------------------------------------------
MP Config Extended Table Entries:
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xa0000
address range: 0x20000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xc8000
address range: 0x18000
--
System Address Space
bus ID: 0 address type: memory address
address base: 0xfc000000
address range: 0x4000000
--
System Address Space
bus ID: 2 address type: memory address
address base: 0xfa000000
address range: 0x2000000
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x0
address range: 0x3b0
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3b0
address range: 0xc
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3bc
address range: 0x4
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3c0
address range: 0x20
--
System Address Space
bus ID: 0 address type: I/O address
address base: 0x3e0
address range: 0x1f20
--
System Address Space
bus ID: 2 address type: I/O address
address base: 0x2300
address range: 0xdd00
--
Bus Heirarchy
bus ID: 3 bus info: 0x01 parent bus ID: 0
===============================================================================
-------------- next part --------------
Copyright (c) 1992-2004 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 6.0-CURRENT #23: Tue Nov 30 16:06:14 IST 2004
root at mismatcher.hq.netapp.com:/usr/obj/home/fcpi/src/sys/MISMATCHER
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3056.50-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<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,PBE>
Hyperthreading: 2 logical CPUs
real memory = 1610530816 (1535 MB)
avail memory = 1573531648 (1500 MB)
MPTable: <IBM ENSW TURQUIOSESMP>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 6
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 16
ioapic2: Assuming intbase of 32
ioapic2 <Version 1.1> irqs 32-47 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic0 <Version 1.1> irqs 0-15 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <display, VGA> at device 1.0 (no driver attached)
atapci0: <ServerWorks CSB5 UDMA100 controller> port 0x700-0x70f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 15.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ServerWorks host to PCI bridge> pcibus 3 on motherboard
pci3: <PCI bus> on pcib3
pcib1: <ServerWorks host to PCI bridge(unknown chipset)> pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
pcib2: <MPTable Host-PCI bridge> pcibus 2 on motherboard
pci2: <PCI bus> on pcib2
bge0: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbff0000-0xfbffffff irq 24 at device 1.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:0d:60:d5:93:ce
bge1: <Broadcom BCM5703 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfbfe0000-0xfbfeffff irq 25 at device 2.0 on pci2
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:0d:60:d5:93:cf
cpu0 on motherboard
cpu1 on motherboard
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 38162MB <WDC WD400BB-23FJA0/13.03G13> [77536/16/63] at ata0-master UDMA100
acd0: CDROM <LG CD-ROM CRN-8245B/1.16> at ata1-master UDMA33
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1d
ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 10 at device 15.2 on pci0
ohci0: [GIANT-LOCKED]
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: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
More information about the freebsd-current
mailing list