Date: Sun, 19 Feb 2006 15:22:27 +0300 From: Yar Tikhiy <yar@comp.chem.msu.su> To: freebsd-stable@freebsd.org Subject: HEADS UP: build-time options for kernel modules Message-ID: <20060219122227.GG20500@comp.chem.msu.su>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060219122227.GG20500>