From owner-freebsd-questions@FreeBSD.ORG Mon May 10 11:47:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06D5C16A4CE for ; Mon, 10 May 2004 11:47:40 -0700 (PDT) Received: from smtp0.server.rpi.edu (smtp0.server.rpi.edu [128.113.53.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72D1743D2F for ; Mon, 10 May 2004 11:47:39 -0700 (PDT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp0.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i4AIlbEd015762; Mon, 10 May 2004 14:47:38 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <000801c436ba$f743f720$3a6d3352@CPQ30032148391> References: <000801c436ba$f743f720$3a6d3352@CPQ30032148391> Date: Mon, 10 May 2004 14:47:35 -0400 To: "Vivailsud Staff Member" , From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) Subject: Re: dual processor and FreeBSD 4.9 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 May 2004 18:47:40 -0000 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