From owner-freebsd-current@FreeBSD.ORG Sun Jun 12 22:12:52 2011 Return-Path: <owner-freebsd-current@FreeBSD.ORG> Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA60C1065672; Sun, 12 Jun 2011 22:12:52 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD938FC0A; Sun, 12 Jun 2011 22:12:51 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id p5CMClG4013597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 13 Jun 2011 00:12:48 +0200 Received: from [192.168.100.129] (190.Red-2-138-136.dynamicIP.rima-tde.net [2.138.136.190]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id p5CMCjGa026335 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 13 Jun 2011 00:12:47 +0200 Message-ID: <4DF539DD.4010501@entel.upc.edu> Date: Mon, 13 Jun 2011 00:12:45 +0200 From: =?ISO-8859-1?Q?Gustau_P=E9rez?= <gperez@entel.upc.edu> User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: jhell@DataIX.net, freebsd-current@freebsd.org References: <4DF3E98B.40108@FreeBSD.org> <20110612085649.GA11503@DataIX.net> <4DF49181.1000007@entel.upc.edu> <20110612185631.GA15184@DataIX.net> <20110612192440.GB37735@in-addr.com> <20110612194237.GD15184@DataIX.net> <4DF517B2.7000209@FreeBSD.org> <20110612204328.GE15184@DataIX.net> <4DF5272A.4050608@FreeBSD.org> <20110612212053.GF15184@DataIX.net> In-Reply-To: <20110612212053.GF15184@DataIX.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Mon, 13 Jun 2011 00:12:48 +0200 (CEST) Cc: Gary Palmer <gpalmer@freebsd.org>, Doug Barton <dougb@freebsd.org> Subject: Re: rc.d script to load kernel modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current <freebsd-current.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current> List-Post: <mailto:freebsd-current@freebsd.org> List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>, <mailto:freebsd-current-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 12 Jun 2011 22:12:52 -0000 > Yeah his message was around what I was thinking was wrong with loader or > not neccesarily wrong but what it was limited to that was similiar to > one of my previous messages stating contention, limitation, etc... Sorry if my post was understood wrong. I did mean to say the culprit was zfs, I was trying to state that a zfs-only installation makes the problem even worse. An UFS installation with many modules loaded by the loader do also take quite long to start. Right now, there are some cases where the modules must be loaded before the kernel. VirtualBox support for hostonly interfaces comes to my mind right now (vboxnetadp and vboxnetflt must be loaded before the kernel). Others like fuse are loaded by an rc script. So I would go with a kernel with all the support compiled in (even with opensolaris.ko and zfs.ko in my case) to boot and then load the rest of the modules with an rc script. I think this is a quite big move because it would mean removing the responsability of loading modules by the loader before the kernel. The loader would be resposible of loading the kernel and setting some configs that can only be set before booting. Hope I'm not saying anything incorrect. Sorry for the noise. Best regards, Gustau