From owner-freebsd-chat Mon Mar 10 8: 1:53 2003 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59B4437B401 for ; Mon, 10 Mar 2003 08:01:52 -0800 (PST) Received: from mail.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39EF043F75 for ; Mon, 10 Mar 2003 08:01:51 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 27861 invoked from network); 10 Mar 2003 16:01:54 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 10 Mar 2003 16:01:54 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id h2AFwGhT065285; Mon, 10 Mar 2003 10:58:16 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3E69329B.2040803@cream.org> Date: Mon, 10 Mar 2003 11:02:06 -0500 (EST) From: John Baldwin To: Andrew Boothman Subject: Re: A question about kernel modules Cc: freebsd-chat@freebsd.org Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 08-Mar-2003 Andrew Boothman wrote: > John Baldwin wrote: > >>>The main point was that we get to load only one file, and have no >>>CDROM access after that, except through drivers which must be >>>present in the kernel. I think that's still valid to say. >>> >>> >> >>Nope. cdboot loads up a /boot/loader and you are free to load >>whatever modules you want off the CD just as if you were booting >>from a hard drive. That said, I personally favor static kernels >>and only use modules when I'm testing things. >> > > I guess this is really the nub of the question. > > Why do you "personally favour" static kernels over modules? Kernel debugging is much easier since gdb doesn't resolve symbols in modules without jumping through hoops. Also, optimizations from kernel options (like not having INVARIANTS or WITNESS on) do not affect modules. Modules are compiled to the lowest common denominator and thus aren't as optimized in some cases as the same code in a static kernel. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message