Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 2004 14:47:35 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Vivailsud Staff Member" <mor4nt@vivailsud.it>, <freebsd-questions@freebsd.org>
Subject:   Re: dual processor and FreeBSD 4.9
Message-ID:  <p06020418bcc57b942b48@[128.113.24.47]>
In-Reply-To: <000801c436ba$f743f720$3a6d3352@CPQ30032148391>
References:  <000801c436ba$f743f720$3a6d3352@CPQ30032148391>

next in thread | previous in thread | raw e-mail | index | archive | help
At 8:16 PM +0200 5/10/04, Vivailsud Staff Member wrote:
>Hello, I am in trouble with FreeBSD 4.9p, I have got dual
>processor server (2 x Pentium II 400MHz) and I would like that
>FreeBSD could be able to use the both of them. I have read that
>you need to compile the kernel once again, but I would like to
>know which modifies I should apply to resolve this trouble.

When you look under /usr/src/sys/i386/conf, you will see a
file called GENERIC.  That is the kernel-definition that
FreeBSD is distributed with.

You will want to make a copy of that file, to whatever file
name you want.  Maybe call it DUALCPU.  Inside the file, you
will see the lines:

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


You will want to uncomment those two 'option' lines, to get:

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

Earlier in the same file, you will see the lines:

machine		i386
cpu		I386_CPU
cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		GENERIC

Comment out the lines for 'I386_CPU' and 'I486_CPU', and change
the word 'GENERIC' to match the name you have chosen for your
kernel configuration.  So:

machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
cpu		I586_CPU
cpu		I686_CPU
ident		DUALCPU

You then want to follow the instructions for building a kernel
with the filename that you used for the kernel-configuration.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



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