From owner-freebsd-questions Thu Mar 29 16: 5:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 7CEE037B71E for ; Thu, 29 Mar 2001 16:05:09 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 70874 invoked by uid 100); 30 Mar 2001 00:05:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15043.52660.864629.774034@guru.mired.org> Date: Thu, 29 Mar 2001 18:05:08 -0600 To: Siggy Brentrup Cc: questions@freebsd.org Subject: Re: Building SMP kernel In-Reply-To: <43004125@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Siggy Brentrup types: > coming from the Debian/GNU Linux world, I just installed FreeBSD 4.2 > from CD on an otherwised unused dual P166 System. Since the default > kernel is configured w/o SMP support, I have to rebuild it, but from > the docs I understand you have to successfully make world beforehand. The docs are wrong. Could you provide a URL for the ones in question, so they can be fixed, or reworded for clarity? You have to make world before you can build a kernel after you update your sources. If you haven't updated your sources, you can build a kernel with the binaries you've already installed. If you have updated your sources, you'll need to reinstall the original sources, or go through the make world before you can build a kernel. > Having installed a full system I'd really like to have SMP enabled > before making world, is there a way? Can't find it in the manual or > the FAQ. cd /usr/src/sys/i386/conf. Copy GENERIC to the name you want to use for your SMP config. Edit that file, uncommenting the two lines you need for SMP (options SMP and options APIC_IO). At this time, you might want to remove any devices that your kernel isn't finding at boot, but paying attention to comments like "Be sure to keep the 'device ..." in the config file. After that, it's: config YOURCONFIGNAME cd ../../compiler/YOURCONFIGNAME make depend make make install and then reboot. Caveats about error messages and the like go here. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message