From owner-freebsd-current@freebsd.org Sat May 9 15:43:23 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D6D4A2ED709 for ; Sat, 9 May 2020 15:43:23 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from drew.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.franken.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49KBLM3R7sz40PJ for ; Sat, 9 May 2020 15:43:23 +0000 (UTC) (envelope-from tuexen@freebsd.org) Received: from mbp.fritz.box (ip4d16e760.dynamic.kabel-deutschland.de [77.22.231.96]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTPSA id 59316722CF6BD; Sat, 9 May 2020 17:42:56 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Error loading tcp_bbr kernel module From: Michael Tuexen In-Reply-To: Date: Sat, 9 May 2020 17:42:55 +0200 Cc: FreeBSD CURRENT , david@catwhisker.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200509121851.GA59530@lion.0xfce3.net> <24D28CC3-AA45-412F-AF3D-9697A36FCB8D@freebsd.org> To: Gordon Bergling X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail-n.franken.de X-Rspamd-Queue-Id: 49KBLM3R7sz40PJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.96 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.98)[-0.982,0]; NEURAL_HAM_LONG(-0.98)[-0.978,0]; ASN(0.00)[asn:680, ipnet:2001:638::/32, country:DE] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.32 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 May 2020 15:43:23 -0000 > On 9. May 2020, at 16:25, Gordon Bergling = wrote: >=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. That would be great. I have them running on my machines, but I might = have missed something. >=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 Yes it is. And I would suggest to use separate man pages, a single one = for each stack. The the generic man page might refer to them... Best regards Michael > Best regards, >=20 > Gordon >=20 >> Am 09.05.2020 um 14:37 schrieb Michael Tuexen : >>=20 >>> On 9. May 2020, at 14:18, Gordon Bergling = 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