Date: Sat, 9 May 2020 17:41:07 +0200 From: Gordon Bergling <gbergling@googlemail.com> To: Michael Tuexen <tuexen@freebsd.org> Cc: freebsd-current@freebsd.org, david@catwhisker.org Subject: Re: Error loading tcp_bbr kernel module Message-ID: <6E2260AE-9209-45D5-B42D-F7DC801E7E5B@googlemail.com> In-Reply-To: <F9EDABC9-504C-4A27-AFD0-F0A1BAB656A2@googlemail.com> References: <20200509121851.GA59530@lion.0xfce3.net> <24D28CC3-AA45-412F-AF3D-9697A36FCB8D@freebsd.org> <F9EDABC9-504C-4A27-AFD0-F0A1BAB656A2@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Michael, with a kernel config which includes include GENERIC options RATELIMIT options TCPHPTS applied, I could successfully use net.inet.tcp.functions_default=3Dbbr to switch the TCP stack. Thanks for the fast help, Gordon > Am 09.05.2020 um 16:25 schrieb Gordon Bergling = <gbergling@googlemail.com>: >=20 > Hi Michael, >=20 > thanks for your reply. >=20 > I tried tcp_rack and tcp_bbr, since both are separate TCP stacks. I = just posted the wrong error message. Both TCP stacks weren=E2=80=99t = loadable as a kernel module with just the former mentioned build option. >=20 > I currently have build running with both kernel options you = mentioned. >=20 > If the build is successful and I can change the default TCP stack to = RACK and BBR I let you know. >=20 > Further I didn=E2=80=99t find any documentation within tcp(4) = regarding RACK and BBR. Since I am about to enhance the manpages, I=E2=80=99= ll extent tcp(4) about information about RACK and BBR, but this is a = different topic. >=20 > Best regards, >=20 > Gordon >=20 >> Am 09.05.2020 um 14:37 schrieb Michael Tuexen <tuexen@freebsd.org>: >>=20 >>> On 9. May 2020, at 14:18, Gordon Bergling <gbergling@googlemail.com> = wrote: >>>=20 >>> Greetings, >>>=20 >>> I build -CURRENT with WITH_EXTRA_TCP_STACKS=3D1, but I got the = following error >>> when I try to load for example tcp_bbr.ko. >>> z >>> kldload: an error occurred while loading module tcp_rack.ko. Please = check dmesg(8) for more details. >> This indicates that you want to load the RACK stack. >>=20 >> Please note that you need for BBR and RACK: >> options TCPHPTS >> in the kernel config and in addition to that for RACK >> options RATELIMIT >>=20 >> Best regards >> Michael >>>=20 >>> dmesg shows: >>>=20 >>> KLD tcp_bbr.ko: depends on tcphpts - not available or version = mismatch >>> linker_load_file: /boot/kernel/tcp_bbr.ko - unsupported file type >>>=20 >>> Any hints on solving the problem? >>>=20 >>> The kernel config is GENERIC. >>>=20 >>> Best regards, >>>=20 >>> Gordon >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >>=20 >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E2260AE-9209-45D5-B42D-F7DC801E7E5B>