Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 13:36:54 +0200
From:      =?iso-8859-9?Q?Yavuz_Ma=FElak?= <yavuz@ihlas.net.tr>
To:        <questions@FreeBSD.org>
Subject:   a question
Message-ID:  <006b01c0ad44$3c82cb80$e8010b0a@maslak>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I use FreeBSD4.2 and My server has multiprocessors(2). How can I get 2 cpu(s) recognized on FreeBSD ?

My custom kernel added as following in http://www.freebsd.org/handbook/kernelconfig-config.html 

# To make an SMP kernel, the next two are needed
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Optionally these may need tweaked, (defaults shown):
options         NCPU=2                  # number of CPUs
options         NBUS=4                  # number of busses
options         NAPIC=1                 # number of IO APICs
options         NINTR=24                # number of INTs

But when I typed /usr/sbin/config MYKERNEL I have received a message as following;

SERVER:77: unknown option "NINTR"

What shall I do ?

Thanks 

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-9" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I use FreeBSD4.2 and My server has 
multiprocessors(2). How can I get&nbsp;2 cpu(s) recognized&nbsp;on&nbsp;FreeBSD 
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=2>My custom kernel added as following in <A 
href="http://www.freebsd.org/handbook/kernelconfig-config.html">http://www.freebsd.org/handbook/kernelconfig-config.html</A>&nbsp;</FONT></DIV>;
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=2># To make an SMP kernel, the next two are 
needed<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
SMP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# Symmetric MultiProcessor 
Kernel<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
APIC_IO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# Symmetric (APIC) I/O</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=2># Optionally these may need tweaked, 
(defaults shown):<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NCPU=2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# number of CPUs<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NBUS=4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# number of busses<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NAPIC=1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# number of IO APICs<BR>options&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
NINTR=24&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# number of INTs</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But when I typed /usr/sbin/config MYKERNEL I have 
received a message as following;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>SERVER:77: unknown option "NINTR"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=2>What shall I do ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial TUR" size=2>Thanks</FONT>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006b01c0ad44$3c82cb80$e8010b0a>