Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2003 22:33:01 -0700
From:      milan <mio@lebox.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        questions@freebsd.org
Subject:   Re: SMP bug?
Message-ID:  <20030501053301.GF2778@eesh.lebox.org>
In-Reply-To: <20030501044638.GG90046@dan.emsphone.com>
References:  <20030501042856.GE2778@eesh.lebox.org> <20030501044638.GG90046@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501053301.GF2778>