SMP bug?

milan mio at lebox.org
Wed Apr 30 22:25:28 PDT 2003


On Wed, Apr 30, 2003 at 11:46:38PM -0500, Dan Nelson wrote:
> 
> In the last episode (Apr 30), milan said:
> > 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?
> >
> >  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
> 
> I count four CPUs.  What does "sysctl hw.ncpu" print?

kick# sysctl hw.ncpu
hw.ncpu: 4

top also shows 0-3 in C column.

i was confused by this:

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



More information about the freebsd-questions mailing list