From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 30 11:55:56 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA7AA16A4D3 for ; Thu, 30 Oct 2003 11:55:56 -0800 (PST) Received: from mail.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id B09FA43FAF for ; Thu, 30 Oct 2003 11:55:55 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 26682 invoked from network); 30 Oct 2003 19:55:54 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 30 Oct 2003 19:55:54 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h9UJtpce039635; Thu, 30 Oct 2003 14:55:51 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20031030194053.GA862@ussenterprise.ufp.org> Date: Thu, 30 Oct 2003 14:55:50 -0500 (EST) From: John Baldwin To: Leo Bicknell X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org Subject: RE: 5.x kernel config changes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 19:55:57 -0000 On 30-Oct-2003 Leo Bicknell wrote: > > I just built my first 5.1-RELEASE box requiring a custom kernel, and > noticed some interesting things. > > 1) It appears IPFW just works (eg, configure it in /etc/rc.conf). It > used to be you had to compile it in. What's interesting to me is > that IPFW options are not in generic, and I didn't think "options" > could be done in LKM's. What am I missing? It's loaded from the ipfw.ko module. You can build modules for some things that are compiled in using 'options'. > 2) IPDIVERT is missing / doesn't work, so while my IPFW config seemed > to take/work natd did not work. If IPFW is just going to work having > IPDIVERT just work seems like a good idea as well. You will probably need to just include IPFW and IPDIVERT in your kernel config for this to work. > 3) There seems to be no more LINT or other listing of all the options. > Why? In particular I needed "options NETATALK" but couldn't remember > the name and there was no file to quickly grep. Has the list of > options been moved somewhere else? sys/conf/NOTES and sys//conf/NOTES > 4) Due to the way the makefiles now work it seems impossible to build a > new kernel after changing just "options" statements and install it > without also rebuilding all the modules...which takes quite some > time. This seems to be because it moves the whole directory out of > the way in /boot. This seems a little suboptimal to me. You can add 'makeoptions NO_MODULES=yes' to your kernel config to have it only build a kernel and no modules. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/