Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Dec 2013 16:25:51 +1030
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        "firmdog@gmail.com" <firmdog@gmail.com>, Fleuriot Damien <ml@my.gd>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: do I have to compile a new kernel? or just add options somehow?
Message-ID:  <52A2B867.50102@ShaneWare.Biz>
In-Reply-To: <CAHcg-UFC8RZ2RZE=j8u=6NO1=duMYz_thV_8pHk6YZW=7-CxFw@mail.gmail.com>
References:  <CAHcg-UF6hdDBrnw%2BjY6ajzdD9NnSzAPnu8pwMqvGfkK3feWgKQ@mail.gmail.com> <1A249B2C-B341-4270-B343-627901FD9562@my.gd> <CAHcg-UF1HfTq_OianFxiD1Xy_EyA6GApuOKPG%2Bb%2B1XF2a1c27g@mail.gmail.com> <D8B22251-346B-4507-8705-58CBD3D2026F@my.gd> <CAHcg-UHOeWi9xTMe9x2BBYW%2Bwh6PO_do2SSoioopxmgNbSZg2Q@mail.gmail.com> <EBFA2511-A297-41DA-99DC-A8070BA47AB7@my.gd> <CAHcg-UFC8RZ2RZE=j8u=6NO1=duMYz_thV_8pHk6YZW=7-CxFw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/12/2013 07:11, firmdog@gmail.com wrote:
> I ran  #kldload crypto.  Did you see that?  Then I ran kldstat and it
> shows the module loaded.
> 
> Why do I have to recompile the kernel if I can run kldload or use
> loader.conf to load the module at boot time?
> 

The various kernel modules can either be compiled into the kernel or
loaded dynamically. There may be one or two exceptions that only work
compiled in and some devices are obviously needed to boot the system.
The modules that aren't compiled into the kernel will be available as
loadable modules. An option compiled into the kernel is permanently
available, consuming ram etc. A loadable module can be unloaded if not
in use.

The main reason for configuring and building your own kernel has been to
remove things you don't want, therefore reducing minimum ram usage
- less important for current systems with plenty of ram.

You can configure the crypto module to be automatically loaded during
startup by adding crypto_load="YES" to /boot/loader.conf





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52A2B867.50102>