New CC modules not loading after Kernel recompilation

Karlis Laivins karlis.laivins at gmail.com
Thu May 21 10:53:12 UTC 2015


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 <karlis.laivins at gmail.com>
wrote:

> Hello,
>
> Tried both, still the same issue...
>
> BR,
> KL
>
> On Thu, May 21, 2015 at 7:30 AM, Adrian Chadd <adrian at freebsd.org> 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 <karlis.laivins at gmail.com> 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 at freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> > To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>
>


More information about the freebsd-net mailing list