From owner-freebsd-stable@FreeBSD.ORG Sun Feb 19 12:22:34 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71C4F16A420 for ; Sun, 19 Feb 2006 12:22:34 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (comp.chem.msu.su [158.250.32.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 989A843D45 for ; Sun, 19 Feb 2006 12:22:31 +0000 (GMT) (envelope-from yar@comp.chem.msu.su) Received: from comp.chem.msu.su (localhost [127.0.0.1]) by comp.chem.msu.su (8.13.3/8.13.3) with ESMTP id k1JCMS4s024677 for ; Sun, 19 Feb 2006 15:22:28 +0300 (MSK) (envelope-from yar@comp.chem.msu.su) Received: (from yar@localhost) by comp.chem.msu.su (8.13.3/8.13.3/Submit) id k1JCMRS9024676 for freebsd-stable@freebsd.org; Sun, 19 Feb 2006 15:22:27 +0300 (MSK) (envelope-from yar) Date: Sun, 19 Feb 2006 15:22:27 +0300 From: Yar Tikhiy To: freebsd-stable@freebsd.org Message-ID: <20060219122227.GG20500@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: HEADS UP: build-time options for kernel modules X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Feb 2006 12:22:34 -0000 Hi all, As some folks have already noticed, a change affecting modules' build-time options was merged to RELENG_6. Namely, almost all modules now get their options from the main kernel conf file. The only exceptions I'm aware of are pf.ko and ipfw.ko -- the latter gets INET6 and IPSEC stuff, but not IPFIREWALL_* stuff. The consequence is that now you may get a different set of options in the modules you build and use with the kernel. If you still stick to MODULES_WITH_WORLD, your modules will be the same, but using MODULES_WITH_WORLD is strongly discouraged today as it can lead to a fatally broken kernel-module interface. Here's the full list of options you may want to pay attention to: device atm options ALT_BREAK_TO_DEBUGGER options CODA_COMPAT_5 options ETHER_8022 options ETHER_8023 options ETHER_II options ETHER_SNAP options HIFN_DEBUG options IPX options KDB options NATM options NETATALK options NETGRAPH options NETSMBCRYPTO options PPP_BSDCOMP options PPP_DEFLATE options PPP_FILTER options SAFE_DEBUG options SCSI_DELAY=15000 options TDFX_LINUX options UBSEC_DEBUG options WI_SYMBOL_FIRMWARE If you run the GENERIC kernel, don't need the *DEBUG stuff, and the exact value of SCSI_DELAY doesn't matter to you, then the list boils down to: # if_ef options ETHER_8022 options ETHER_8023 options ETHER_II options ETHER_SNAP # smbfs options NETSMBCRYPTO # 3dfx options TDFX_LINUX Measures are being taken to make the binary modules to be shipped in 6.1-RELEASE compatible with existing installations. -- Yar