From owner-freebsd-net@FreeBSD.ORG Thu May 21 07:53:02 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5363C9BF for ; Thu, 21 May 2015 07:53:02 +0000 (UTC) Received: from mail-yk0-x229.google.com (mail-yk0-x229.google.com [IPv6:2607:f8b0:4002:c07::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 10B8B1111 for ; Thu, 21 May 2015 07:53:02 +0000 (UTC) Received: by ykec202 with SMTP id c202so23971738yke.2 for ; Thu, 21 May 2015 00:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xZV1M4FOKTDQYB6g6sm+TVjKYyvyHKV0nqEX8MS9QlI=; b=Keo8w1MdOZiE9oNpPXwg978QIBZgOCwCqJm5LGqWT5M5rgdyYxCfrgDxBQguUY7/wA 1mzvm/w/2BvR2YtfdYR05ZThNFAoNeKDsSVxPPHRuvla6Jq5bRFxv8qWAJW6ASRsvv/M 3Of/Djlmj4zyNLYxvIA4ArDzSgB/z92X4z4dxd1TVTxdm4vU+ipDVfkRLEfuEbu4Jr6B Soev+LrVK8OoWgs1BWcgA/kJCJxKJNTr5qAuTlEagNhJyQdZwhe7IzodyCuyzb2xZuBT sgQRSS4KBta98Z70o+9l22VF0/orQKyVOXX2UvpslDgVB0xI17WLfTTr5qfXe4yLr7po QHSQ== MIME-Version: 1.0 X-Received: by 10.236.40.79 with SMTP id e55mr1515566yhb.65.1432194781244; Thu, 21 May 2015 00:53:01 -0700 (PDT) Received: by 10.129.115.197 with HTTP; Thu, 21 May 2015 00:53:00 -0700 (PDT) In-Reply-To: <20150521043056.GD95600@strugglingcoder.info> References: <20150521043056.GD95600@strugglingcoder.info> Date: Thu, 21 May 2015 10:53:00 +0300 Message-ID: Subject: Re: New CC modules not loading after Kernel recompilation From: Karlis Laivins To: hiren panchasara Cc: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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 07:53:02 -0000 Hi, Yes, the module builds fine and the variable is needed. BR, KL On Thu, May 21, 2015 at 7:30 AM, hiren panchasara < hiren@strugglingcoder.info> wrote: > On 05/21/15 at 05:41P, Karlis Laivins wrote: > > Good Morning, > > > > I have a following issue, maybe someone has encountered this and can > > provide me with a quick solution to a following issue. > > > > 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: > > > > include GENERIC > > nooptions FLOWTABLE > > options VIMAGE > > options VNET_DEBUG > > options MROUTING > > > > options IPSEC > > device crypto > > options IPSEC_DEBUG > > > > options DDB > > options KDB > > > > The problem is - after the Kernel has been reompiled, I can no longer > load > > the module with kldload. The error I get is: > > > > 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 > > > > And this is despite the fact the cc_changedreno.ko module is in > > /boot/kernel/. > > > > Thank you in advance! > > > > 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" >