Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2002 11:51:39 +0100
From:      Roelf Schreurs <rosc@imc.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: SMP problems
Message-ID:  <3DBBC53B.2090500@imc.nl>
References:  <20021028070514.31394.qmail@fuzuli.enderunix.org> <3DBBB9EA.4080505@imc.nl> <3DBBBA85.80406@imc.nl> <20021027100855.GD2439@irrelevant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Top only shows 1 CPU and not 2.


Simon Dick wrote:
> On Sun, Oct 27, 2002 at 11:05:57AM +0100, Roelf Schreurs wrote:
> 
>>Hi
>>
>>I just added an extra CPU to my Dell server.
>>I made a new kernel, the server recognizes the CPU' but FreeBSD does not.
>>
>>Steps I took:
>>Copy GENERIC to GENERIC-SMP
>>I added the 2 lines to the GENERIC-SMP file:
>>options SMP
>>options APIC_IO
>>Then I did:
>>make buildkernel KERNCONF=GENERIC-SMP
>>make installkernel KERNCONF=GENERIC-SMP
>>And rebooted.
>>
>>In dmesg I see:
>>FreeBSD/SMP: Multiprocessor motherboard
>> cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
>> cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
>> io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
>> io1 (APIC): apic id:  3, version: 0x000f0011, at 0xfec01000
>>
>>mptable:
>>MP Config Base Table Entries:
>>-- 
>>Processors:     APIC ID Version State           Family  Model   Step Flags
>>                 1       0x11    BSP, usable     6       11      1 
>>0x383fbff
>>                 0       0x11    AP, usable      6       11      1 
>>0x383fbff
>>
>>uname -a:
>>FreeBSD xxx 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Sat Oct 26 12:04:37 CEST 
>>2002     :/usr/obj/usr/src/sys/GENERIC-SMP  i386
>>
>>
>>But when I do a top, I only see one CPU.
>>last pid:   725;  load averages:  0.09,  0.04,  0.01 
>> up 0+00:15:39  12:40:41
>>59 processes:  1 running, 58 sleeping
>>CPU states: 21.4% user,  0.0% nice,  9.8% system,  0.5% interrupt, 68.3% 
>>idle
>>
>>
>>Anybody can please help?
> 
> 
> Looks as though it's working fine to me
> 

-- 
Roelf Schreurs
IMC Amsterdam
+31 20 527 5092

Chaos reigns within.
Reflect, repent, and reboot.
Order shall return.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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