From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 25 13:55:46 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 059A816A402; Mon, 25 Feb 2008 13:55:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id B606713C46B; Mon, 25 Feb 2008 13:55:45 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A56D7A.dip.t-dialin.net [84.165.109.122]) by redbull.bpaserver.net (Postfix) with ESMTP id 8683F2E125; Mon, 25 Feb 2008 14:38:13 +0100 (CET) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8B4C11F1A8; Mon, 25 Feb 2008 14:38:09 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m1PDc9lX062969; Mon, 25 Feb 2008 14:38:09 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 25 Feb 2008 14:38:08 +0100 Message-ID: <20080225143808.dp3me068g8gsgkow@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 25 Feb 2008 14:38:08 +0100 From: Alexander Leidinger To: Adrian Chadd References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Mon, 25 Feb 2008 14:26:09 +0000 Cc: hackers@freebsd.org Subject: Re: 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: Mon, 25 Feb 2008 13:55:46 -0000 Quoting Adrian Chadd (from Sun, 24 Feb 2008 =20 19:26:04 +0900): > 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. Using modules needs more space than having all in the kernel (or =20 generating one big "super-module" which contains the code from all =20 modules). There's some kind of space overhead for each module. When =20 module support was added, space on the install media was a critical =20 resource. Today this could be revisited (at least for the kernel which =20 will be installed on the destination medium). > 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? I'm running a mini kernel since years, and everything I need is added =20 as a module (if possible). So I would probably be one of the consumers =20 of such a config. > 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. acpi is also loaded automatically on i386 (or not, if specified in the =20 loader, so it should not be added in the config) > http://people.freebsd.org/~adrian/BASE.txt > http://people.freebsd.org/~adrian/loader.conf I haven't looked at this. Bye, Alexander. --=20 Some men are so macho they'll get you pregnant just to kill a rabbit. =09=09-- Maureen Murphy http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137