Netfilter support for Sharp Zaurus
Hi all,
I have some trouble trying to add netfilter modules to the PDA Sharp Zaurus
5500. I have the linux kernel version linux-2.4.6-rmk1-np2-embedix, the one
used in the Zaurus. I have compiled the kernel (without errors) including the corresponding netfilter support (all as modules). Then, I compiled the
modules (make modules) and then installed (make modules_install). Till here I have all is working well. Then the problem is when copying the generated files to
the zaurus. I just copy all the .o files included in /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/ipv4/netfilter in the same place in the PDA. Then I tried to load the module, first executing the depmod and then calling the instruction modprobe ip_queue. The following error is shown:
/lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/core/netfilter.o: couldn't find the kernel version the module was compiled for /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/core/netfilter.o: insmod /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/core/netfilter.o failed /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/core/netfilter.o: insmod ip_queue failed
Ok, forcing to load with the right version insmod -f ip_queue gives the following error:
Using /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/ipv4/netfilter/ip_queue.o /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/ipv4/netfilter/ip_queue.o:
unresolved symbol nf_register_queue_handler /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/ipv4/netfilter/ip_queue.o:
unresolved symbol nf_unregister_queue_handler /lib/modules/2.4.6-rmk1-np2-embedix/kernel/net/ipv4/netfilter/ip_queue.o:
unresolved symbol nf_reinject
I don't understand why the dependencies are satisfied (depmod gives no error) and then some function declaration is missing. Which can be the problem? Any help will be helpfull
Thanks to all
Jaume Ribot
Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++
Quoted 7 lines · Jaume Ribot Caner
Hi all,
I have some trouble trying to add netfilter modules to the PDA Sharp Zaurus 5500. I have the linux kernel version linux-2.4.6-rmk1-np2-embedix, the one used in the Zaurus. I have compiled the kernel (without errors) including the corresponding netfilter support (all as modules). Then, I compiled the modules (make modules) and then installed (make
modules_install).
The error messages you are reading look like you have a kernel (probably still an old one) with no CONFIG_NETFILTER enabled and are then trying to load netfilter modules later on.
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
Thaks, you were right!
I have just compiled the kernel again and I have added netfilter support on it. Then I have flashed the new kernel in the zaurus, I copied the modules and it works!
Many thanks!
Jaume Ribot
Quoted 31 lines · Jaume Ribot Caner
Quoted 3 lines
Hi all,
I have some trouble trying to add netfilter modules to the PDA Sharp
Zaur
usQuoted 1 line
5500. I have the linux kernel version linux-2.4.6-rmk1-np2-embedix, the
o
neQuoted 1 line
used in the Zaurus. I have compiled the kernel (without errors)
including
theQuoted 2 lines
corresponding netfilter support (all as modules). Then, I compiled the modules (make modules) and then installed (make
modules_install).The error messages you are reading look like you have a kernel (probably still an old one) with no
CONFIG_NETFILTERenabled and are then trying to load netfilter modules later on.Signature · 9 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ========================= ========================= ========================= = "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
Signature · 6 lines
NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++