From owner-freebsd-questions@FreeBSD.ORG Wed Apr 23 22:29:35 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36CE0106564A for ; Wed, 23 Apr 2008 22:29:35 +0000 (UTC) (envelope-from bulliver@badcomputer.org) Received: from pd2mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB048FC1D for ; Wed, 23 Apr 2008 22:29:34 +0000 (UTC) (envelope-from bulliver@badcomputer.org) Received: from pd3mr2so.prod.shaw.ca (pd3mr2so-qfe3.prod.shaw.ca [10.0.141.178]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JZS00JV2UHA51D0@l-daemon> for freebsd-questions@freebsd.org; Wed, 23 Apr 2008 16:29:34 -0600 (MDT) Received: from pn2ml7so.prod.shaw.ca ([10.0.121.151]) by pd3mr2so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JZS003TQUH9KT70@pd3mr2so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 23 Apr 2008 16:29:34 -0600 (MDT) Received: from xenon.badcomputer.org ([68.148.98.184]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JZS00L30UH9MN00@l-daemon> for freebsd-questions@freebsd.org; Wed, 23 Apr 2008 16:29:33 -0600 (MDT) Date: Wed, 23 Apr 2008 16:28:06 -0600 From: darren kirby To: freebsd-questions@freebsd.org Message-id: <200804231628.06289.bulliver@badcomputer.org> Organization: Badcomputer Org. MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.9.7 Subject: Build a single kernel module? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bulliver@badcomputer.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 22:29:35 -0000 Hi all, I recently built a custom kernel for my new FreeBSD 7.0-RELEASE system, and it is working well. Sadly, I had to purchase and swap out a nic on this machine today. The new card is a D-link DGE-530T which shall work with the 'sk' driver. My custom kernel does not have this driver. I wonder if I can build this single driver as a module to use with my already built custom kernel. The handbook mentions using MODULES_OVERRIDE: "If you want to update a kernel faster or to build only custom modules, you should edit /etc/make.conf before starting to build the kernel" So as I understand it, if I add "MODULES_OVERRIDE = sk" to make.conf then it will build only the sk module? The page [0] is light on details so I am unsure hoe to proceed with this, ie: I just do a normal 'make installkernel' or some other way? Also, I did look around, but if there are some docs that speak more clearly to this issue a pointer would be great. Thanks for consideration, -d [0] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html -- darren kirby :: Part of the problem since 1976 :: http://badcomputer.org "...the number of UNIX installations has grown to 10, with more expected..." - Dennis Ritchie and Ken Thompson, June 1972