Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jul 2024 07:58:55 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org>
To:        Scott Kenney <sak@codered.rmta.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: SCTP support with monolithic kernel
Message-ID:  <864j8f2uw0.fsf@ltc.des.dev>
In-Reply-To: <Zp-xGy6xIyG0jcG-@codered.rmta.org> (Scott Kenney's message of "Tue, 23 Jul 2024 09:33:15 -0400")
References:  <Zp-xGy6xIyG0jcG-@codered.rmta.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
--=20
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?864j8f2uw0.fsf>