Зравейте пиша тук понеже се мъча с този кернел но няколко дни четох насам, натам и нищо различно стгам се до едно и също положение.
Използвам линукс дистрибуция - Gentoo
Проблема e в кернела
при
UnAfraid ~ # iptables -L
FATAL: Error inserting ip_tables (/lib/modules/2.6.27-gentoo-r8/kernel/net/ipv4/netfilter/ip_tables.ko): Unknown symbol in module, or unknown parameter (see dmesg)
iptables v1.4.2: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
UnAfraid ~ #
при modprobe / insmod същото..
в дмесг имам това
ip_tables: Unknown symbol xt_free_table_info
ip_tables: disagrees about version of symbol skb_copy_bits
ip_tables: Unknown symbol skb_copy_bits
ip_tables: Unknown symbol xt_register_match
ip_tables: Unknown symbol xt_find_match
ip_tables: Unknown symbol xt_alloc_table_info
ip_tables: disagrees about version of symbol nf_register_sockopt
ip_tables: Unknown symbol nf_register_sockopt
ip_tables: Unknown symbol xt_check_match
ip_tables: disagrees about version of symbol register_pernet_subsys
ip_tables: Unknown symbol register_pernet_subsys
ip_tables: Unknown symbol xt_unregister_match
ip_tables: disagrees about version of symbol nf_unregister_sockopt
ip_tables: Unknown symbol nf_unregister_sockopt
ip_tables: Unknown symbol xt_register_target
ip_tables: disagrees about version of symbol init_net
ip_tables: Unknown symbol init_net
ip_tables: disagrees about version of symbol unregister_pernet_subsys
ip_tables: Unknown symbol unregister_pernet_subsys
ip_tables: Unknown symbol xt_register_table
ip_tables: Unknown symbol xt_proto_init
ip_tables: Unknown symbol xt_replace_table
ip_tables: Unknown symbol xt_find_table_lock
ip_tables: Unknown symbol xt_table_unlock
ip_tables: Unknown symbol xt_proto_fini
ip_tables: Unknown symbol xt_check_target
ip_tables: Unknown symbol xt_find_revision
ip_tables: Unknown symbol xt_unregister_table
ip_tables: Unknown symbol xt_find_target
ip_tables: Unknown symbol xt_unregister_target
компилирах кернела и аз незнам колко пъти вече..
Компилирах ко с
genkernel --menuconfig all
UnAfraid ~ # ls /lib/modules/2.6.27-gentoo-r8/kernel/net/ipv4/netfilter/
ip_tables.ko
ipt_ULOG.ko
nf_conntrack_ipv4.ko
ipt_LOG.ko
ptable_filter.ko
nf_nat.ko
ipt_MASQUERADE.ko
iptable_mangle.ko
nf_nat_proto_sctp.ko
ipt_REJECT.ko
iptable_nat.ko
UnAfraid ~ #
ето ги модулите които компилирах някой да е имал подобен проблем? и ако да как го е разрешил.. благодаря предварително!