Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread K. Macy
On May 21, 2015 9:34 AM, "Karlis Laivins" wrote: > > 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? > Headers

Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread Karlis Laivins
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 wrote: > Your mo

Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread K. Macy
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" wrote: > Hello again, > > A little update - the problem occurs only when try

Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread Karlis Laivins
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 th

Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread Karlis Laivins
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 follow

Re: New CC modules not loading after Kernel recompilation

2015-05-21 Thread Karlis Laivins
Hi, Yes, the module builds fine and the variable is needed. BR, KL On Thu, May 21, 2015 at 7:30 AM, hiren panchasara < hi...@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

Re: New CC modules not loading after Kernel recompilation

2015-05-20 Thread Adrian Chadd
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

Re: New CC modules not loading after Kernel recompilation

2015-05-20 Thread hiren panchasara
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

New CC modules not loading after Kernel recompilation

2015-05-20 Thread Karlis Laivins
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 recompi