Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2003 10:32:10 +0900
From:      horio shoichi <bugsgrief@bugsgrief.net>
To:        "Vahric MUHTARYAN" <vahric@doruk.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD 4.9 Can't find second CPU ...
Message-ID:  <20031226.013215.cf9e49ad88b0e190.10.0.3.9@bugsgrief.net>
In-Reply-To: <200312251715.hBPHF7kv001872@smtp.doruk.net.tr>
References:  <MIEPLLIBMLEEABPDBIEGCENMFBAA.fbsd_user@a1poweruser.com> <200312251715.hBPHF7kv001872@smtp.doruk.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 25 Dec 2003 18:54:26 +0200
"Vahric MUHTARYAN" <vahric@doruk.net.tr> wrote:
> Hi , 
> 
> 	I checked LINT it said that I have to disabke I386 AND I486 from
> kernel .. I marked those values from GENERIC and LINT too and recompile it .
> 
> But I can't see any changes .... 
> 
> Then I checked my messages file .... 
> 
> 
> Dec 25 20:30:33 freebsdcgp /kernel: FreeBSD/SMP: Multiprocessor motherboard:
> 2 CPUs
> Dec 25 20:30:33 freebsdcgp /kernel: cpu0 (BSP): apic id:  3, version:
> 0x00040011, at 0xfee00000
> Dec 25 20:30:33 freebsdcgp /kernel: cpu1 (AP):  apic id:  0, version:
> 0x00040011, at 0xfee00000
> Dec 25 20:30:33 freebsdcgp /kernel: io0 (APIC): apic id:  4, version:
> 0x000f0011, at 0xfec00000
> Dec 25 20:30:33 freebsdcgp /kernel: io1 (APIC): apic id:  5, version:
> 0x000f0011, at 0xfec01000
> 
> Dec 25 20:30:33 freebsdcgp /kernel: SMP: AP CPU #1 Launched!
> 
> And this is my sysctl out .... 
> 
> freebsdcgp# sysctl hw.ncpu
> hw.ncpu: 2
> 
> 
> But when I run top utulity there is only one CPU there .. 
> 
> Now I will try cvsup RELENG_4 ... Maybe I can handle it ... 
> Does anybody have advise ?! 
> 
> Vahri__... 
> 
> 
> 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of fbsd_user
> Sent: Thursday, December 25, 2003 5:28 PM
> To: Vahric MUHTARYAN; freebsd-questions@freebsd.org
> Subject: RE: FreeBSD 4.9 Can't find second CPU ...
> 
> Answer to your ? 1.  98% of FBSD users do not have 2 cpu
> motherboards so default GENERIC kernel is configured for them and
> not for you.
> 
> Answer to your ? 2.  Read through the LINT kernel source to see if
> you missed some other kernel option needed to enable the kind of  2
> cpu motherboard you have.
> 
> 
> 
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Vahric
> MUHTARYAN
> Sent: Thursday, December 25, 2003 10:18 AM
> To: freebsd-questions@freebsd.org
> Subject: FreeBSD 4.9 Can't find second CPU ...
> 
> Hi Everybody ,
> 
>         I have two question about SMP .
> 
>         First Why FreeBSD is installing OS with single Cpu default
> ?!! Why
> it can't enable SMP support at installation time ?!
> 
>         Second when I compile kernel with SMP Support FreeBSD 4.9
> can find
> second CPU ?! What do I have to check why it can't find it ....?!
> 
> I'm using DUAL PIII 933 CPU and INTEL Server BOARD .... I tested it
> with
> DUAL INTEL 1.0B too
> 
> 
> Vahric
> 
> 
> 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
You seem to have missed the remaining, Mandatory, lines in LINT...

# SMP OPTIONS:
#
# SMP enables building of a Symmetric MultiProcessor Kernel.
# APIC_IO enables the use of the IO APIC for Symmetric I/O.
#
# Notes:
# 
#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
#
#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
# 
#  Check the 'Rogue SMP hardware' section to see if additional options
#   are required by your hardware.
# 

# Mandatory:
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O



There are other such as ACPI if you want to try.



horio shoichi



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