From nobody Wed Jul 24 05:58:55 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WTNcg1yjCz5RHGq for ; Wed, 24 Jul 2024 05:58:59 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTNcg18Fgz413X; Wed, 24 Jul 2024 05:58:59 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721800739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=byAJ9h7GrxCCC4VHLnW+3rish+eXooVDtFbZB5WGUfA=; b=Hp+Dc8Oda7YtWJrd7z0ZLfk+eQqJTyCHvoEayFTFx5YKKFz7sKQg14F/zV/1upgRPHD8qK uD2oOMPv0jmthaPGjudWH5BKEWiWP0DJKh1/CQyyRfOSaOPyenfI1z1biB+I2exrUPGs9u sEfSGqXgeYhJ/bJZS9MJfZY8qcQJsbsX57OzLLXAVxrWPtbJF+rNyZeHurHYSAUOdMpgOA iL25VfBtVnTBQVU0FNHqT8+2XCQuFqitQA+MEfye7UlbtYJsDzd/nxCxMw2SvcZbcU5Mdu 81Xi/QqPpH103kr8w2LzG/lGExL/zGBtpn8PjHpbLwGk4pEeoV2mS5NaIxj75Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721800739; a=rsa-sha256; cv=none; b=oVrrxYHHXHzWeccFBW9EU2swnm6RlOAtKnXZ/noTjzZH8oH/ecY+c3bKbybIl/ILzoVOTH tWXk4++9gJ9Y+r0Vr38EJEk4+QMKTTbKg3sioTsVzX8a+su/aVSiCa7j620aD9EYgIskid svMImhIGs2IXo+sAs8O/mSnrSci2urtk2V49kCuJtj4rqFppPD+g5xn9GWXnQlAD/HU0UL q+hzlrXBKObtYpCkIEBHNcyjzU4fSdpsp84qNT+bqEq//uddZAGRT6hCJc5eEdUTzFW+RR eEwlr8gZ/snO3eUxY3ZUtKnqild0c4RhLqgXHgbGxVassc9DYk5EgrxCgI/R4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721800739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=byAJ9h7GrxCCC4VHLnW+3rish+eXooVDtFbZB5WGUfA=; b=W8QKfE997lb0tIX6WdIdwCNnLyTrLuL05wSxwn0Sdyl9gXn3Tkbr0YS6pe2kxu+L33BYJP x60bGpdP6bWCtVVq12s/cQ8gkDsxLSRboAY4SrZ9yrMxu03k2jc09WN73jmD2XI/ai2+dU q5zyeFe6L7lryGoBkVV/fyulZ01nfQeATZ05Qj7SmXiMdgkhr2TAvqpJFKIMZPsuYvL+2+ O7y1noc8rEHCC4fR9791nqX7r7IWmDLi1dDd9BuilHbPoy9R5p90r9qssZOa+VLz8aaCxw v4F8Cp82jtUhwAH7Lt38TwvWe4s+/VWziCQYuIyJwrzwXuq8r4h7iiu0+GKGOw== Received: from ltc.des.dev (unknown [91.174.26.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WTNcf74DhzSBj; Wed, 24 Jul 2024 05:58:58 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id DED1C102D1; Wed, 24 Jul 2024 07:58:55 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Scott Kenney Cc: freebsd-questions@freebsd.org Subject: Re: SCTP support with monolithic kernel In-Reply-To: (Scott Kenney's message of "Tue, 23 Jul 2024 09:33:15 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 24 Jul 2024 07:58:55 +0200 Message-ID: <864j8f2uw0.fsf@ltc.des.dev> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Scott Kenney 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