Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2013 10:30:26 -0500
From:      "firmdog@gmail.com" <firmdog@gmail.com>
To:        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:  <CAHcg-UF1HfTq_OianFxiD1Xy_EyA6GApuOKPG+b+1XF2a1c27g@mail.gmail.com>
In-Reply-To: <1A249B2C-B341-4270-B343-627901FD9562@my.gd>
References:  <CAHcg-UF6hdDBrnw+jY6ajzdD9NnSzAPnu8pwMqvGfkK3feWgKQ@mail.gmail.com> <1A249B2C-B341-4270-B343-627901FD9562@my.gd>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
So the answer is that it's NOT possible to load modules at boot time for
GENERIC? I have to actually build a new kernel?

Thanks!


On Thu, Dec 5, 2013 at 9:42 AM, Fleuriot Damien <ml@my.gd> wrote:

>
> On Dec 5, 2013, at 3:35 PM, "firmdog@gmail.com" <firmdog@gmail.com> wrote:
>
> > I am having difficulty understanding what is compiled into the GENERIC
> > kernel.
> >
> > I need to enable "device crypto" with IPSEC and IPSEC_NAT_T options.
> >
> > Can I just configure the GENERIC kernel in a config file? Or do I have to
> > compile a totally new kernel?
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>
>
> While it's far from being a good practice, you can simply add your:
> device crypto
> options IPSEC
> options IPSEC_NAT_T
>
> to /sys/amd64/conf/GENERIC (assuming you're running a 64bit release that
> is).
>
>
> Then: cd /usr/src && make kernel-toolchain && make buildkernel
>
> Once the kernel is built, you only need to "make installkernel" and reboot.
>
> It is good practice, before rebooting, to run "mergemaster -p" , even if
> you've only done a minor upgrade, let good habits sink in ;)
>
>
>
>
> Regarding what is compiled in the GENERIC kernel, you can find the
> included options and devices at:
> /sys/amd64/conf/GENERIC
> or
> /sys/i386/conf/GENERIC
>
> You may also run config -x /boot/kernel/kernel , if your kernel was built
> with INCLUDE_CONFIG_FILE , which GENERIC does.
>
>



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHcg-UF1HfTq_OianFxiD1Xy_EyA6GApuOKPG+b+1XF2a1c27g>