Re: Error loading tcp_bbr kernel module

From: Gordon Bergling <gbergling_at_googlemail.com>
Date: Sat, 9 May 2020 17:41:07 +0200
Hi Michael,

with a kernel config which includes

include	GENERIC
options	RATELIMIT
options	TCPHPTS

applied, I could successfully use
net.inet.tcp.functions_default=bbr
to switch the TCP stack.

Thanks for the fast help,

Gordon

> Am 09.05.2020 um 16:25 schrieb Gordon Bergling <gbergling_at_googlemail.com>:
> 
> Hi Michael,
> 
> thanks for your reply.
> 
> I tried tcp_rack and tcp_bbr, since both are separate TCP stacks. I just posted the wrong error message. Both TCP stacks weren’t loadable as a kernel module with just the former mentioned build option.
> 
> I currently have build running with both kernel options  you mentioned.
> 
> If the build is successful and I can change the default TCP stack to RACK and BBR I let you know.
> 
> Further I didn’t find any documentation within tcp(4) regarding RACK and BBR. Since I am about to enhance the manpages, I’ll extent tcp(4) about information about RACK and BBR, but this is a different topic.
> 
> Best regards,
> 
> Gordon
> 
>> Am 09.05.2020 um 14:37 schrieb Michael Tuexen <tuexen_at_freebsd.org>:
>> 
>>> On 9. May 2020, at 14:18, Gordon Bergling <gbergling_at_googlemail.com> wrote:
>>> 
>>> Greetings,
>>> 
>>> I build -CURRENT with WITH_EXTRA_TCP_STACKS=1, 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.
>> 
>> Please note that you need for BBR and RACK:
>> options		TCPHPTS
>> in the kernel config and in addition to that for RACK
>> options		RATELIMIT
>> 
>> Best regards
>> Michael
>>> 
>>> dmesg shows:
>>> 
>>> KLD tcp_bbr.ko: depends on tcphpts - not available or version mismatch
>>> linker_load_file: /boot/kernel/tcp_bbr.ko - unsupported file type
>>> 
>>> Any hints on solving the problem?
>>> 
>>> The kernel config is GENERIC.
>>> 
>>> Best regards,
>>> 
>>> Gordon
>>> _______________________________________________
>>> freebsd-current_at_freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>> 
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
Received on Sat May 09 2020 - 13:41:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC