NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
thrane
Jun 11, 2009Aspirant
problem installing kernel modules on ReadyNAS Pro Pioneer
I was excited when I saw that iptables was compiled into the kernel, but dismayed to discover that it didn't include iptables_nat (and associated modules). First I followed the howto guide at http:...
ailas
Mar 08, 2012Aspirant
Same here. I got Ultra 2 with latest beta T40. Download T40 kernel-sources with "netgearize" patch. Applied to same version kernel 2.6.37.6. Make with ARCH="x68_64" ...
After that, I get insmod: error inserting './net/ipv4/netfilter/nf_nat.ko': -1 Unknown symbol in module
If i try insmod nf_conntrack.ko I get -1 Invalid parameters, and nf_conntrack_ipv4.ko is -1 Unknown symbol in module.
Tried copy them to /lib/modules/2.6.37.6.RNx86_64.2.2/kernel/ but depmod -a gives me No space left on device even if on / where /lib is also is 1012M free. No quotas on /.
Just not enough INodes.
EDIT: Now modules are in /lib/modules/... but modprobe nf_nat:
And dmegs is full of messages like unknown symbol
EDIT LAST:
After flashing stable 4.2.19 and using GPL package with kernel and config for this version, I compiled it without any change to config. All (4 maybe) modules loaded (by insmod) OK. If just 3-4 NF_NAT needed modules were added, I got
Some other modules can be compiled and loaded though.
So I think whole kernel needs to be recompiled, if you want use NAT on your ReadyNAS device. Kernel is on NAND flash...
After that, I get insmod: error inserting './net/ipv4/netfilter/nf_nat.ko': -1 Unknown symbol in module
nas:~/dev/kernel-build-tools-x86/2.6.37/linux-2.6.37.6# uname -a
Linux nas 2.6.37.6.RNx86_64.2.2 #1 SMP Wed Feb 1 12:47:30 PST 2012 x86_64 GNU/Linux
nas:~/dev/kernel-build-tools-x86/2.6.37/linux-2.6.37.6# modinfo /lib/modules/2.6.37.6.RNx86_64.2.2/kernel/drivers/scsi/scsi_wait_scan.ko
filename: /lib/modules/2.6.37.6.RNx86_64.2.2/kernel/drivers/scsi/scsi_wait_scan.ko
description: SCSI wait for scans
author: James Bottomley
license: GPL
vermagic: 2.6.37.6.RNx86_64.2.2 SMP mod_unload modversions
depends:
nas:~/dev/kernel-build-tools-x86/2.6.37/linux-2.6.37.6# modinfo ./net/ipv4/netfilter/nf_nat.ko
filename: ./net/ipv4/netfilter/nf_nat.ko
license: GPL
alias: nf-nat-ipv4
vermagic: 2.6.37.6.RNx86_64.2.2 SMP mod_unload modversions
depends: nf_conntrack,nf_conntrack_ipv4
If i try insmod nf_conntrack.ko I get -1 Invalid parameters, and nf_conntrack_ipv4.ko is -1 Unknown symbol in module.
Tried copy them to /lib/modules/2.6.37.6.RNx86_64.2.2/kernel/ but depmod -a gives me No space left on device even if on / where /lib is also is 1012M free. No quotas on /.
Just not enough INodes.
EDIT: Now modules are in /lib/modules/... but modprobe nf_nat:
nas:~/dev/kernel-build-tools-x86/2.6.37/linux-2.6.37.6# modprobe nf_nat
WARNING: Error inserting nf_defrag_ipv4 (/lib/modules/2.6.37.6.RNx86_64.2.2/kernel/net/ipv4/netfilter/nf_defrag_ipv4.ko): Invalid argument
WARNING: Error inserting nf_conntrack (/lib/modules/2.6.37.6.RNx86_64.2.2/kernel/net/netfilter/nf_conntrack.ko): Invalid argument
WARNING: Error inserting nf_conntrack_ipv4 (/lib/modules/2.6.37.6.RNx86_64.2.2/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting nf_nat (/lib/modules/2.6.37.6.RNx86_64.2.2/kernel/net/ipv4/netfilter/nf_nat.ko): Unknown symbol in module, or unknown parameter (see dmesg)
And dmegs is full of messages like unknown symbol
...
nf_nat: Unknown symbol __nf_ct_l4proto_find (err 0)
nf_nat: Unknown symbol nf_ct_invert_tuplepr (err 0)
nf_nat: Unknown symbol nf_ct_l3proto_put (err 0)
nf_nat: disagrees about version of symbol skb_put
nf_nat: Unknown symbol skb_put (err -22)
...
EDIT LAST:
After flashing stable 4.2.19 and using GPL package with kernel and config for this version, I compiled it without any change to config. All (4 maybe) modules loaded (by insmod) OK. If just 3-4 NF_NAT needed modules were added, I got
make "ARCH=x86_64" modules
...
Building modules, stage 2.
MODPOST 9 modules
ERROR: "ip_ct_attach" [net/netfilter/nf_conntrack.ko] undefined!
ERROR: "nf_ct_destroy" [net/netfilter/nf_conntrack.ko] undefined!
ERROR: "nf_conntrack_destroy" [net/netfilter/nf_conntrack.ko] undefined!
ERROR: "nf_conntrack_destroy" [net/ipv4/netfilter/nf_conntrack_ipv4.ko] undefined!
Some other modules can be compiled and loaded though.
So I think whole kernel needs to be recompiled, if you want use NAT on your ReadyNAS device. Kernel is on NAND flash...
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!