Date: Tue, 14 Sep 1999 14:47:40 +0930 From: Greg Lehey <grog@lemis.com> To: Rob Hurle <rob@coombs.anu.edu.au> Cc: freebsd-questions@FreeBSD.ORG, TrouBle <trouble@hackfurby.com> Subject: Re: 2.2.8 -> 3.2 kernel config Message-ID: <19990914144740.J10106@freebie.lemis.com> In-Reply-To: <Pine.GSO.4.05.9909141426070.22718-100000@caligula.anu.edu.au>; from Rob Hurle on Tue, Sep 14, 1999 at 02:31:04PM %2B1000 References: <37DEEF5B.4B04D26@hackfurby.com> <Pine.GSO.4.05.9909141426070.22718-100000@caligula.anu.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, 14 September 1999 at 14:31:04 +1000, Rob Hurle wrote: > Thanks TrouBle, and thanks for your config file: > >> Something is definatley wrong there, cause here are my kernel sizes >> attached is my config also >> >> -r-xr-xr-x 1 root wheel 2767508 Aug 30 09:33 kernel >> -rwxr-xr-x 1 root wheel 2610543 Aug 16 07:46 kernel.GENERIC >> -r-xr-xr-x 1 root wheel 2867436 Aug 16 21:11 kernel.prev > > These kernels of yours are much more reasonable than mine: > >>> that is, a file of 11.0MB! Where does the nice little 2.3MB kernel come >>> from, and how can I make one with my bits in it? Thanks. > > I compiled up your config file, and I get: > > freebsd [14:18] /usr/src/sys/compile/TEST1 #ll kernel > -rwxr-xr-x 1 root wheel 13578629 Sep 14 14:18 kernel > > 13.6MB! Not looking good. Any more ideas would be welcome. I missed the beginning of this, but this looks like you have a debug kernel (-g option to config). This is good, not bad, since it enables you analyse things if you are unlucky enough to have a panic. If you're running short of space, you should do this in the kernel build directory: cp -p kernel kernel.debug strip -g kernel make install If you're using an older version of FreeBSD (2.X), you'll need "strip -d" instead of "strip -g". In 4.X, "make install" will do this for you. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key 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?19990914144740.J10106>