From owner-freebsd-net@FreeBSD.ORG Thu May 21 04:31:03 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0225F6AC for ; Thu, 21 May 2015 04:31:03 +0000 (UTC) Received: from mail.strugglingcoder.info (strugglingcoder.info [65.19.130.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2F5D1A18 for ; Thu, 21 May 2015 04:31:02 +0000 (UTC) Received: from localhost (unknown [10.1.1.3]) (Authenticated sender: hiren@strugglingcoder.info) by mail.strugglingcoder.info (Postfix) with ESMTPSA id 9A12011112D; Wed, 20 May 2015 21:30:56 -0700 (PDT) Date: Wed, 20 May 2015 21:30:56 -0700 From: hiren panchasara To: Karlis Laivins Cc: freebsd-net@freebsd.org Subject: Re: New CC modules not loading after Kernel recompilation Message-ID: <20150521043056.GD95600@strugglingcoder.info> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9UV9rz0O2dU/yYYn" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 04:31:03 -0000 --9UV9rz0O2dU/yYYn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 05/21/15 at 05:41P, Karlis Laivins wrote: > Good Morning, >=20 > I have a following issue, maybe someone has encountered this and can > provide me with a quick solution to a following issue. >=20 > I have compiled a module, which is a modified version of the NewReno > congestion control algorithm. I tried to load it into Kernel successfully > before I recompiled Kernel with a following config file, so I can use > Imunes and test the new module: >=20 > include GENERIC > nooptions FLOWTABLE > options VIMAGE > options VNET_DEBUG > options MROUTING >=20 > options IPSEC > device crypto > options IPSEC_DEBUG >=20 > options DDB > options KDB >=20 > The problem is - after the Kernel has been reompiled, I can no longer load > the module with kldload. The error I get is: >=20 > link_elf: symbol tcp_do_rfc3465 undefined Does the module itself build fine? Do you need V_tcp_do_rfc3465 instead? It's a VNETified variable: tcp_var.h:VNET_DECLARE(int, tcp_do_rfc3465); Just a guess. Cheers, Hiren > kldload: can't load cc_changedreno.ko: No such file or directory >=20 > And this is despite the fact the cc_changedreno.ko module is in > /boot/kernel/. >=20 > Thank you in advance! >=20 > BR, > Karlis > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" --9UV9rz0O2dU/yYYn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQF8BAEBCgBmBQJVXV+AXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNEUyMEZBMUQ4Nzg4RjNGMTdFNjZGMDI4 QjkyNTBFMTU2M0VERkU1AAoJEIuSUOFWPt/lmLoH/RzNEpOciodyzJtwDPC0WvNQ a4ygBNuh2B6POs96IwdE5KFYSLchYrsepdA1XzXcD8VHsYORUlZbDvPsGl1tTZbw buPBUQ//GOX2k/aV/7RxdCdpTAm30V/wRofhafFzN66IpqJ+/Dgme5Y/zeswSpb+ GCIKznNjtpvwExFLRbTmG1MSW7zrJ23UtfWN42EzCahVRRUoFRfPpubGRmUIiU9L KrQPy2wiqtSM1aYpFX0EQB/JWR/IcSPCMweacj2CeBrIzbuetRsosbJQFhc2UguO 90r/lwdpJI5YaMgjdyUpq1X+ZMHTfvJhgIUgp563m0jqiQBI5a5FPdbuIF8IZAs= =q3i6 -----END PGP SIGNATURE----- --9UV9rz0O2dU/yYYn--