Compiling kernel modules for WNDR3700

Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions
Author Message
haydude
DD-WRT Novice


Joined: 18 Jun 2006
Posts: 17

PostPosted: Sat Jan 09, 2016 16:07    Post subject: Compiling kernel modules for WNDR3700 Reply with quote
Hi,

I need to compile ip_vs kernel modules for a Netgear WNDR3700v4. I have downloaded build 28647 source code via svn.

When I try to run make menuconfig and make modules it fails because there are 4 symbolic links into

src/linux/universal/linux-3.10/drivers/net/wireless pointing to non existing directories:

rt3352 -> ../../../../../../router/private/rt3352
rt5592 -> ../../../../../../router/private/rt5592
rt7612 -> ../../../../../../router/private/rt7612
rt7620 -> ../../../../../../router/private/rt7620

How do I get hold of the missing directories?
Or is there any way to disable these drivers to make the other modules just compile?

Thank you in advance.
Sponsor
haydude
DD-WRT Novice


Joined: 18 Jun 2006
Posts: 17

PostPosted: Sat Jan 09, 2016 22:41    Post subject: Reply with quote
I managed to compile the ip_vs modules.
This is for kernel 3.10.94 #14522 Sat Jan 2 03:53:00 CET 2016 mips DD-WRT

However when I insmod the new ip_vs.ko module I get the following:

<4>[ 4012.200000] ip_vs: Unknown symbol nr_free_buffer_pages (err 0)
<4>[ 4012.210000] ip_vs: Unknown symbol sysctl_wmem_max (err 0)
<4>[ 4012.210000] ip_vs: Unknown symbol sysctl_rmem_max (err 0)
<4>[ 4012.220000] ip_vs: Unknown symbol ip_route_me_harder (err 0)
<4>[ 4012.220000] ip_vs: Unknown symbol inet_select_addr (err 0)
<4>[ 4012.230000] ip_vs: Unknown symbol ip_defrag (err 0)
<4>[ 4012.230000] ip_vs: Unknown symbol si_meminfo (err 0)
<4>[ 4278.630000] nf_defrag_ipv4: Unknown symbol ip_defrag (err 0)

I hacked around the kernel sources and I believe these are all functions that should be included in the core kernel, but they aren't clearly.

Something is clearly not quite right with this kernel build ...
haydude
DD-WRT Novice


Joined: 18 Jun 2006
Posts: 17

PostPosted: Sat Jan 09, 2016 22:47    Post subject: Reply with quote
I confirm, all of the above should be part of the kernel core.

I compiled also the kernel core and they are there.
Now given that the kernel is apparently incomplete (I had to disable RALINK drivers to make it compile) I am not sure if I want to venture to replace it into the firmware.

Brainslayer, please could you kindly look into this matter so that we can get loadable ip_vs modules?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Generic Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum