Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2011 00:12:45 +0200
From:      =?ISO-8859-1?Q?Gustau_P=E9rez?= <gperez@entel.upc.edu>
To:        jhell@DataIX.net, freebsd-current@freebsd.org
Cc:        Gary Palmer <gpalmer@freebsd.org>, Doug Barton <dougb@freebsd.org>
Subject:   Re: rc.d script to load kernel modules
Message-ID:  <4DF539DD.4010501@entel.upc.edu>
In-Reply-To: <20110612212053.GF15184@DataIX.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DF539DD.4010501>