From owner-freebsd-questions Fri Feb 25 9:32:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from walshm.npt.nuwc.navy.mil (WALSHM.NPT.NUWC.NAVY.MIL [129.190.221.180]) by hub.freebsd.org (Postfix) with ESMTP id 00AA137B70E for ; Fri, 25 Feb 2000 09:32:35 -0800 (PST) (envelope-from mike@walshm.npt.nuwc.navy.mil) Received: from localhost (mike@localhost) by walshm.npt.nuwc.navy.mil (8.9.3/8.9.3) with ESMTP id MAA11992; Fri, 25 Feb 2000 12:28:06 -0500 (EST) (envelope-from mike@walshm.npt.nuwc.navy.mil) Date: Fri, 25 Feb 2000 12:28:06 -0500 (EST) From: "Michael J. Walsh" To: Mark Ovens Cc: Mitch Collinsworth , freebsd-questions@FreeBSD.ORG Subject: Re: Why is my new kernel so big? In-Reply-To: <20000225170109.A1501@marder-1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Folks, Last question. When I run config, I get the message Don't forget to do a ``make depend'' but there is no mention of this step in Lehey. What gives? Mike ------------------------------------------------------------------------------ Michael J. Walsh Naval Undersea Warfare Center Divsion Newport, RI Phone: 401.832.4155 22 Combat Systems Dept, 221 Advanced Systems Division Fax: 401.832.4749 2211, Information Processing Branch On Fri, 25 Feb 2000, Mark Ovens wrote: > 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