Date: Fri, 25 Feb 2000 17:01:09 +0000 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Mitch Collinsworth <mkc@Graphics.Cornell.EDU> Cc: "Michael J. Walsh" <mike@walshm.npt.nuwc.navy.mil>, freebsd-questions@FreeBSD.ORG Subject: Re: Why is my new kernel so big? Message-ID: <20000225170109.A1501@marder-1> In-Reply-To: <200002251624.LAA18500@benge.graphics.cornell.edu>; from mkc@Graphics.Cornell.EDU on Fri, Feb 25, 2000 at 11:24:03AM -0500 References: <mark@dogma.freebsd-uk.eu.org> <200002251624.LAA18500@benge.graphics.cornell.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000225170109.A1501>