From owner-freebsd-questions Fri Feb 25 9: 1:36 2000 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id CB14F37BDE4 for ; Fri, 25 Feb 2000 09:01:23 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 26753 invoked from network); 25 Feb 2000 17:01:17 -0000 Received: from userbq19.uk.uudial.com (HELO marder-1.) (62.188.146.113) by smtp.dial.pipex.com with SMTP; 25 Feb 2000 17:01:17 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.9.3) id RAA01613; Fri, 25 Feb 2000 17:01:09 GMT (envelope-from mark) Date: Fri, 25 Feb 2000 17:01:09 +0000 From: Mark Ovens To: Mitch Collinsworth Cc: "Michael J. Walsh" , freebsd-questions@FreeBSD.ORG Subject: Re: Why is my new kernel so big? Message-ID: <20000225170109.A1501@marder-1> References: <200002251624.LAA18500@benge.graphics.cornell.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200002251624.LAA18500@benge.graphics.cornell.edu>; from mkc@Graphics.Cornell.EDU on Fri, Feb 25, 2000 at 11:24:03AM -0500 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Feb 25, 2000 at 11:24:03AM -0500, Mitch Collinsworth wrote: > > >> Then I decided to configure my kernel for SMP. I followed the procedure > >> listed in Greg Lehey's book (3-rd edition) for rebuilding the > >> kernel; specifically, I > > >Somehow you've built a debug kernel. did you do ``config -g'' or have > > He said he followed the instructions in the Lehey book. Those > instructions include: > > # /usr/sbin/config -g FREEBIE > Uh, I didn't bother to check TCFBSD before replying. > Mike, take a look at the paragraphs following that line. They explain > why Greg thinks you should use -g. If you want to save that space, > leave out the -g. What the book doesn't tell you is that it doesn't > work to just re-do the config without -g. If you've used it before it > gets "remembered" somewhere for the future. You can remove the > /usr/src/sys/compile/FREEBIE directory, reconfigure without -g and > proceed from there. > ``config -r'' removes the old compile directory and recreates it (without the debug stuff). This also applies if you remove anything from the config file, just running ``config'' checks that everything in the config file is present in the compile directory, it doesn't remove anything that is there but is not (or no longer) required. > -Mitch -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? BSD: Are you guys coming, or what? -Poster at LinuxWorld 2000 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message