Hi, The source of the module has netinet/tcp_var.h included, in which the variable is defined. Why it still gives me the aforementioned error? And more importantly, why did it work without problems before I recompiled the Kernel?
BR, KL On Thu, May 21, 2015 at 6:45 PM, K. Macy <[email protected]> wrote: > Your module references a variable that the kernel doesn't define. As soon > as you either define it or figure out what you should really be referencing > it as your module will load. > On May 21, 2015 3:53 AM, "Karlis Laivins" <[email protected]> > wrote: > >> 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 < >> [email protected]> >> wrote: >> >> > Hello, >> > >> > Tried both, still the same issue... >> > >> > BR, >> > KL >> > >> > On Thu, May 21, 2015 at 7:30 AM, Adrian Chadd <[email protected]> >> 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 <[email protected]> >> 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 >> >> > _______________________________________________ >> >> > [email protected] mailing list >> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-net >> >> > To unsubscribe, send any mail to " >> [email protected]" >> >> >> > >> > >> _______________________________________________ >> [email protected] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "[email protected]" >> > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[email protected]"
