From owner-freebsd-current@freebsd.org Sat May 9 15:41:11 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 7FB5B2ED33E for ; Sat, 9 May 2020 15:41:11 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49KBHp3D46z3yrY; Sat, 9 May 2020 15:41:10 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id y24so13920381wma.4; Sat, 09 May 2020 08:41:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:mime-version:subject:from:in-reply-to :date:cc:content-transfer-encoding:message-id:references:to; bh=56rPrra0+3pQ85TajptxIlcT1fLR7Le4lzPU/gYAvdc=; b=qPFplpDSer2El6ZVwOhWlAdzemAwEd4l/G8S7JvfQhdFSBVegPZtkvBX1SrBs1g+// kIwZVM18iyTur2tpwEv3QaqCmz5NbT7jcfEC0WvVWYGDBDypSSH5ACF2BGr28xrF8D5e dbRDT1u0eLem5/ofIvRRHPxIyC4tvl9l26kc2USaHNHgHkztXCzoo8NQUs2FHt/I62rq fVYFjABKQRs/2wzOE8+66huB5hXfwJSJCnxYCU3aW0e6qtNRqzlro19Y81Q78dAIr5uq N8M84EvN68SeKEKTjCCwdu0vO5/UQKkhhBWM3/qxv/YLG6AH00RTjpv7wSW+xzMWB0lF 213w== X-Gm-Message-State: AGi0PubVaQnDBqV2sB+3eAODaVWvyvlH98qLYxDHcMTopkjIsZvljuWs 5trIHBLmLka9Bqspvk8N48BRlRCh X-Google-Smtp-Source: APiQypILj9J7t2v8aeLPWBG7DkigTa72mkuC2no7JoOwertVRgBWJQycUhAY96zQjcV1va/NBG62zw== X-Received: by 2002:a7b:c104:: with SMTP id w4mr21505121wmi.8.1589038868788; Sat, 09 May 2020 08:41:08 -0700 (PDT) Received: from [10.0.1.111] (p4FD3AF72.dip0.t-ipconnect.de. [79.211.175.114]) by smtp.gmail.com with ESMTPSA id a187sm18511763wmh.40.2020.05.09.08.41.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 May 2020 08:41:08 -0700 (PDT) Sender: Gordon Bergling 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: Gordon Bergling In-Reply-To: Date: Sat, 9 May 2020 17:41:07 +0200 Cc: freebsd-current@freebsd.org, david@catwhisker.org Content-Transfer-Encoding: quoted-printable Message-Id: <6E2260AE-9209-45D5-B42D-F7DC801E7E5B@googlemail.com> References: <20200509121851.GA59530@lion.0xfce3.net> <24D28CC3-AA45-412F-AF3D-9697A36FCB8D@freebsd.org> To: Michael Tuexen X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 49KBHp3D46z3yrY X-Spamd-Bar: / X-Spamd-Result: default: False [-0.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[googlemail.com]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[gbergling@googlemail.com,gbergling@gmail.com]; RECEIVED_SPAMHAUS_PBL(0.00)[114.175.211.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; IP_SCORE(0.00)[ip: (2.60), ipnet: 2a00:1450::/32(-2.29), asn: 15169(-0.43), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[gbergling@googlemail.com,gbergling@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.993,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_POLICY_QUARANTINE(1.50)[googlemail.com : SPF not aligned (relaxed), DKIM not aligned (relaxed),quarantine]; NEURAL_HAM_LONG(-0.97)[-0.967,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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:41:11 -0000 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 = : >=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 : >>=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