Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 1999 09:43:39 +1000 (EST)
From:      Rob Hurle <rob@coombs.anu.edu.au>
To:        freebsd-questions@freebsd.org
Subject:   2.2.8 -> 3.2 kernel config
Message-ID:  <Pine.GSO.4.05.9909140930080.9960-100000@caligula.anu.edu.au>

next in thread | raw e-mail | index | archive | help
Hi,

	I have just upgraded from 2.2.8 to 3.2 using Walnut Creek CD-ROMs.
First thing I tried was customising the kernel to get rid of references to
stuff I have not got.  I was hoping also to reduce the size of the kernel,
as I had done with 2.2.8.  However, this is what happens:

	freebsd [8:32] ~ >ll /kern*
	-r-xr-xr-x  1 root  wheel  8036865 Sep 12 16:26 /kernel
	-rw-r--r--  1 root  wheel        0 May 15 03:11 /kernel.config
	-rwxr-xr-x  1 root  wheel  2329748 May 18 14:05 /kernel.safe

"/kernel.safe" is the original 3.2 as a result of the upgrade and is
2.3MB.  "/kernel" is my build, and is 8.0MB.  If I rebuild the 3.2 GENERIC
as supplied, I get:

	freebsd [9:36] /usr/src/sys/compile/GENERIC >ll kernel
	-rwxr-xr-x  1 root  wheel  10957953 Sep 13 17:37 kernel

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.

Cheers to all,

Rob Hurle
	----------------------------------------------------------
	Rob Hurle			     rob@coombs.anu.edu.au
	Connect-A			      Tel: +61 2 6247 2397
	PO Box 13			      Fax: +61 2 6248 8905
	Ainslie  ACT  2602		      Mobile: 0417 293 603
	Australia
	----------------------------------------------------------



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?Pine.GSO.4.05.9909140930080.9960-100000>