From owner-freebsd-hackers@FreeBSD.ORG Sun Feb 24 10:52:50 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35CAF16A400 for ; Sun, 24 Feb 2008 10:52:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by mx1.freebsd.org (Postfix) with ESMTP id 199AC13C467 for ; Sun, 24 Feb 2008 10:52:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by wf-out-1314.google.com with SMTP id 25so660365wfa.7 for ; Sun, 24 Feb 2008 02:52:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=Wsv/f3/WOgRnarO9x1Aoe9JiUGJB76aL4xvyNDlMHcI=; b=OxNLnbCd/8Qt2g4UzflDJ47KvGtHXOrm0L7/honiEUOK6D9H4wHjwAsKu9PIrZ3p+zO0Hatc+wgeNozTTqjOOq0K4Ot8UaqdJnl0OXX2xE+O0ciBNUNvd1hnBQOAcXTObrUEExHlQPOsK+DWUBV5l63VUXB3nJMFc0svFLbYSQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=x7TU4jrUhUfW2mKEgJQVh6YdKeBv7jYdTf5UbSOzCK1oEo+t1bt3653OU75bN0ctlldCINi9ysUWyFruRlNANMS7/sxVUBmoXufKpV9h8zMxgSlZGoQBZsSacLzmgul4PMkvFanZY6fTxJozB+IQOJ9iTQag9XfqFGRymcKx9EM= Received: by 10.142.148.7 with SMTP id v7mr997151wfd.218.1203848764827; Sun, 24 Feb 2008 02:26:04 -0800 (PST) Received: by 10.143.125.7 with HTTP; Sun, 24 Feb 2008 02:26:04 -0800 (PST) Message-ID: Date: Sun, 24 Feb 2008 19:26:04 +0900 From: "Adrian Chadd" Sender: adrian.chadd@gmail.com To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: fb3a8dfa5a177185 Cc: Subject: Modular type GENERIC? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 10:52:50 -0000 G'day, I was just wondering why we're not shipping a GENERIC type configuration that simply loads the modules at startup, rather than a statically linked kernel. I thought that was a large part of the push for the modular framework in years past. As a quick experiment, I trimmed all the modular devices out of RELENG_7 GENERIC into a "BASE" configuration file and filled /boot/loader.conf with modules relevant to my system. Everything booted just fine. How feasible do people think it would be to ship a "GENERIC" configuration which simply includes all the devices in a default module list, and users can select/deselect modules they wish to load? Here's the kernel and loader configuration files I'm using just on my system. I think acpi_load is a bit extraneous as acpi is included in the amd64 DEFAULTS. http://people.freebsd.org/~adrian/BASE.txt http://people.freebsd.org/~adrian/loader.conf -- Adrian Chadd - adrian@freebsd.org