Re: SMP kernel installation

2003-01-08 Thread Ceri Davies
On Wed, Jan 08, 2003 at 06:37:56PM +, Stacey Roberts wrote:
> > 
> > You just need to uncomment/enable these options in the GENERIC kernel
> > configuration like so:
> > 
> > #cpuI486_CPU
> > cpu I586_CPU
> > cpu I686_CPU
> 
> Is *this* actually correct?
> 
> Looks as if you've enabled two different CPU classes here in the kernel.

That's ok - it means that the kernel will run on both (i.e. less optimization).

Ceri
-- 
May the fire of my ancestors bring your last day!

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: SMP kernel installation

2003-01-08 Thread Stacey Roberts
On Wed, 2003-01-08 at 13:08, Khairil Yusof wrote:
> On Tue, 2003-01-07 at 14:18, shubha mr wrote:
> 
> > For a multiprocessor machine,to install FreeBSD,is
> > something extra needs to be done from what will be
> > done to install the OS for a uni processor machine?I
> > mean is there anything different to be installed for a
> > symmetric multi processor machine?
> 
> Posted a reply to this a while back (check the archives).
> 
> After installation you just need to recompile the kernel (see the
> freebsd handbook).
> 
> You just need to uncomment/enable these options in the GENERIC kernel
> configuration like so:
> 
> #cpu  I486_CPU
> cpu   I586_CPU
> cpu   I686_CPU

Is *this* actually correct?

Looks as if you've enabled two different CPU classes here in the kernel.

Regards,

Stacey

> 
> options   SMP # Symmetric MultiProcessor Kernel
> options   APIC_IO # Symmetric (APIC) I/O
> 
> recompile and reboot:
> 
> #cat /var/run/dmesg.boot | grep SMP
> 
> should give you this message:
> 
> SMP: AP CPU #1 Launched!
> 
> If you're curious, you can run top. It will have a CPU column.
-- 
Stacey Roberts
B.Sc (HONS) Computer Science

Web: www.vickiandstacey.com



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: SMP kernel installation

2003-01-08 Thread Khairil Yusof
On Tue, 2003-01-07 at 14:18, shubha mr wrote:

> For a multiprocessor machine,to install FreeBSD,is
> something extra needs to be done from what will be
> done to install the OS for a uni processor machine?I
> mean is there anything different to be installed for a
> symmetric multi processor machine?

Posted a reply to this a while back (check the archives).

After installation you just need to recompile the kernel (see the
freebsd handbook).

You just need to uncomment/enable these options in the GENERIC kernel
configuration like so:

#cpuI486_CPU
cpu I586_CPU
cpu I686_CPU

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

recompile and reboot:

#cat /var/run/dmesg.boot | grep SMP

should give you this message:

SMP: AP CPU #1 Launched!

If you're curious, you can run top. It will have a CPU column.


-- 
Khairil Yusof <[EMAIL PROTECTED]>



signature.asc
Description: This is a digitally signed message part


Re: SMP kernel installation

2003-01-06 Thread Mike Hogsett

Sorry after re-reading my reply one thing I did not make clear

Install freebsd as you would with a uniprocessor machine, then boot that
install and do what I recommend below

 - Mike

> 
> You need to recompile the kernel with the SMP options turned on, install
> the kernel and reboot.  On a reasonable modern machine takes less than 10
> minutes.
> 
> See /usr/src/sys/i386/conf/GENERIC and the FreeBSD Handbook.
> 
>  - Mike
> 
> > Hi,
> > For a multiprocessor machine,to install FreeBSD,is
> > something extra needs to be done from what will be
> > done to install the OS for a uni processor machine?I
> > mean is there anything different to be installed for a
> > symmetric multi processor machine?
> > 
> > thanks
> > shubha
> > 
> > __
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: SMP kernel installation

2003-01-06 Thread Mike Hogsett

You need to recompile the kernel with the SMP options turned on, install
the kernel and reboot.  On a reasonable modern machine takes less than 10
minutes.

See /usr/src/sys/i386/conf/GENERIC and the FreeBSD Handbook.

 - Mike

> Hi,
> For a multiprocessor machine,to install FreeBSD,is
> something extra needs to be done from what will be
> done to install the OS for a uni processor machine?I
> mean is there anything different to be installed for a
> symmetric multi processor machine?
> 
> thanks
> shubha
> 
> __
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message