From owner-freebsd-net@FreeBSD.ORG Thu May 21 10:53:12 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 41593B4D; Thu, 21 May 2015 10:53:12 +0000 (UTC) Received: from mail-yh0-x230.google.com (mail-yh0-x230.google.com [IPv6:2607:f8b0:4002:c01::230]) (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 F3102198D; Thu, 21 May 2015 10:53:11 +0000 (UTC) Received: by yhom41 with SMTP id m41so19945774yho.1; Thu, 21 May 2015 03:53:11 -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=64bmc55FqAoq5djF4vqi4d0tusUFM/Xy9u9MyK5ZY0Y=; b=IaCAbbIlQObRCTqdgUZoxLC+tTCNCzdPdb+RGeSQqmL5+5ywKYUHYzfv0fxOS2yCn3 I3/7mO/DfDLNyfdCN22d/d6zdItDqTH1QEHLOqfaPf6xUjDboFYLteZVEYd88DTOTT2D xLJOvfvKAXOMROKFlgNlvKj9fzPk1ychdQpVCDmtK4ppVVtdLthHkmUO7wYTDbFLt6OY WHEf+KmhjpkVrVJUN5hPxbUV5O1VTyXPy0ptdoThtAby3/FzKS7p/R+wRLZgR6m3XVNY fE2CqofbzLuv43jIpZnmK5IbaPBgozouJW3SorHamtOkfF4ubtrlHYLgG+0AZ0K51D2J QeKA== MIME-Version: 1.0 X-Received: by 10.236.40.79 with SMTP id e55mr2099203yhb.65.1432205591003; Thu, 21 May 2015 03:53:11 -0700 (PDT) Received: by 10.129.115.197 with HTTP; Thu, 21 May 2015 03:53:10 -0700 (PDT) In-Reply-To: References: Date: Thu, 21 May 2015 13:53:10 +0300 Message-ID: Subject: Re: New CC modules not loading after Kernel recompilation From: Karlis Laivins To: Adrian Chadd Cc: FreeBSD Net 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 10:53:12 -0000 Hello again, A little update - the problem occurs only when trying to load a modified NewReno algorithm module. When I create a dummy module from, for example, Vegas implementation (with some trivial changes made besides the function and module names), the module can be loaded successfully. Is there a way (if no other way can be found to fix this right away), to trick the system into using my NewReno module instead of the one hard coded in the system? (I know, sounds silly - change the hard coded settings, but, maybe there is a way...) Thank you in advance! BR, Karlis On Thu, May 21, 2015 at 10:54 AM, Karlis Laivins wrote: > Hello, > > Tried both, still the same issue... > > BR, > KL > > On Thu, May 21, 2015 at 7:30 AM, Adrian Chadd wrote: > >> Hi, >> >> Try kldxref /boot/kernel >> >> If it doesn't help, try recompiling the module. >> >> >> -a >> >> >> On 20 May 2015 at 19:41, 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 >> > 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" >> > >