From owner-freebsd-current@freebsd.org Sat May 9 14:25:24 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 AFF962EB351 for ; Sat, 9 May 2020 14:25:24 +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 49K8cN4B3Tz3Prx; Sat, 9 May 2020 14:25:24 +0000 (UTC) (envelope-from gbergling@gmail.com) Received: by mail-wm1-x341.google.com with SMTP id z72so4132889wmc.2; Sat, 09 May 2020 07:25:24 -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=CgFPFM9Vhxpfv6MPw/M3xvJBswOJEtl87ThDcCw5V40=; b=lqdYBCo9RuYhnDBqMis153CJyt8OAsmHij/qGKPiVYyZFGgtwEbeWCvfN1CUO1M5BF XuSnyjfcStmcw+NtBgmQcUSKqgZQeWkxPzNsmp2ZqzgxXY24OspS1agZoc1R3UUVAdzI 8+XfzEkU5IcKZdlrzrJS9wrF80SAjlC2k1wwmNpKB8s4I7XuzK3HL4ZyZTz0hRU2zROh CcxlFokKAGrIw4WY769gz+1+1ZSKBLFDlxsqOISMSf6w3u3TMwcl6UV7kJiCidkbdt1Z bmQicSdjyYLBVtfzwXRWjYF78BFetsWZnoX50ywQGwJp9M0GS6D9Fjn2/s0pfDOrdYoN e0+w== X-Gm-Message-State: AGi0Pubk9skI+a7kbn/CTyVBybqUA7gxeGyrMY0D6hlNT9NfogtzGfcT SUNSlUpQt6aEqRBPaJe+lsnfVWsN X-Google-Smtp-Source: APiQypKeFlq9c6RsltrfwQ5JUusFht38N+2LpLB/tN6wNA4/FBgdJdE25+hP/k5IDWFNytKITWZ97A== X-Received: by 2002:a7b:c245:: with SMTP id b5mr3699774wmj.162.1589034321379; Sat, 09 May 2020 07:25:21 -0700 (PDT) Received: from [10.0.1.111] (p4FD3AF72.dip0.t-ipconnect.de. [79.211.175.114]) by smtp.gmail.com with ESMTPSA id x6sm8305383wrv.57.2020.05.09.07.25.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 09 May 2020 07:25:20 -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: <24D28CC3-AA45-412F-AF3D-9697A36FCB8D@freebsd.org> Date: Sat, 9 May 2020 16:25:19 +0200 Cc: freebsd-current@freebsd.org, david@catwhisker.org Content-Transfer-Encoding: quoted-printable Message-Id: 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: 49K8cN4B3Tz3Prx X-Spamd-Bar: ----- X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.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 14:25:24 -0000 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=E2=80=99t 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=E2=80=99t find any documentation within tcp(4) regarding = RACK and BBR. Since I am about to enhance the manpages, I=E2=80=99ll = 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 : >=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"