From owner-freebsd-current Fri Feb 21 5:48:59 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ADE937B405 for ; Fri, 21 Feb 2003 05:48:58 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1CB343FA3 for ; Fri, 21 Feb 2003 05:48:56 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 22696536E; Fri, 21 Feb 2003 14:48:53 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Cc: Subject: Re: Question about KLDs... From: Dag-Erling Smorgrav Date: Fri, 21 Feb 2003 14:48:52 +0100 In-Reply-To: <004b01c2d9a5$3205d730$0200a8c0@howesnet> ("Paul A. Howes"'s message of "Fri, 21 Feb 2003 07:31:42 -0500") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <004b01c2d9a5$3205d730$0200a8c0@howesnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Paul A. Howes" writes: > This may be a fairly elementary question, but I have not seen this > addressed in the Handbook at all -- Which is the preferred method for > using drivers: KLDs or compiling into the kernel? Are there some that > work better one way than the other? Drivers compiled into the kernel can be compiled with specific options, and they make debugging easier in case of a panic (provided you get a dump). Some drivers fail to initialize properly if they are not loaded at boot time (i.e. compiled into the kernel *or* enabled in loader.conf) and of course some drivers (such as those you need to access your root partition) *must* be present at boot time. Leaving drivers out of your kernel config saves some compilation time, since unless you tweak MODULES_OVERRIDE to only build modules you know that you will need, everything in your kernel which is also a module gets built twice. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message