Re: SCTP support with monolithic kernel

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Wed, 24 Jul 2024 05:58:55 UTC
Scott Kenney <sak@codered.rmta.org> writes:
> Is there anyway to get SCTP support build into a monolithic kernel?

Yes, see sctp(4).

> On Both 14.1-RELEASE-P2 and 15-CURRENT I've tried building kernels
> with:
>
> options SCTP_SUPPORT
> options SCTP

This is correct.  You can also put both on a single line:

options SCTP_SUPPORT, SCTP

> AND Just
>
> options SCTP

This won't work.

> kld -v shows no sign of SCTP

Do you mean `kldstat -v`?  What, specifically, did you try, what did you
expect, and what did you get?

> and the boot message on both systems shows a:
>
> module_register_init: MOD_LOAD (sctp, 0xffffffff805c1570, 0) error 17

Error 17 means you tried to load the sctp module when it was already
present.  You probably have it listed in kld_list in /etc/rc.conf.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org