NICMx / Jool

SIIT and NAT64 for Linux
GNU General Public License v2.0
331 stars 66 forks source link

Unknown symbol #384

Closed ne-vlezay80 closed 1 year ago

ne-vlezay80 commented 2 years ago
ol: disagrees about version of symbol nf_defrag_ipv6_enable
[  114.681337] jool: Unknown symbol nf_defrag_ipv6_enable (err -22)
[  114.681355] jool: Unknown symbol target_checkentry (err -2)
[  114.681375] jool: Unknown symbol jool_xlator_flush_net (err -2)
[  114.681392] jool: Unknown symbol jool_xlator_flush_batch (err -2)
[  188.517430] jool_common: disagrees about version of symbol __ip_select_ident
[  188.517441] jool_common: Unknown symbol __ip_select_ident (err -22)
[  188.517450] jool_common: disagrees about version of symbol skb_copy_bits
[  188.517453] jool_common: Unknown symbol skb_copy_bits (err -22)
[  188.517460] jool_common: disagrees about version of symbol skb_put
[  188.517463] jool_common: Unknown symbol skb_put (err -22)
[  188.517491] jool_common: disagrees about version of symbol ip_output
[  188.517494] jool_common: Unknown symbol ip_output (err -22)
[  188.517522] jool_common: disagrees about version of symbol genlmsg_put
[  188.517526] jool_common: Unknown symbol genlmsg_put (err -22)
[  188.517532] jool_common: disagrees about version of symbol ___pskb_trim
[  188.517535] jool_common: Unknown symbol ___pskb_trim (err -22)
[  188.517563] jool_common: disagrees about version of symbol kmem_cache_alloc_trace
[  188.517567] jool_common: Unknown symbol kmem_cache_alloc_trace (err -22)
[  188.517573] jool_common: disagrees about version of symbol __pskb_copy_fclone
[  188.517576] jool_common: Unknown symbol __pskb_copy_fclone (err -22)
[  188.517605] jool_common: disagrees about version of symbol kfree_skb
[  188.517609] jool_common: Unknown symbol kfree_skb (err -22)
[  188.517627] jool_common: disagrees about version of symbol netlink_broadcast
[  188.517630] jool_common: Unknown symbol netlink_broadcast (err -22)
[  188.517636] jool_common: disagrees about version of symbol nf_register_net_hooks
[  188.517639] jool_common: Unknown symbol nf_register_net_hooks (err -22)
[  188.517655] jool_common: disagrees about version of symbol ip6_route_output_flags
[  188.517658] jool_common: Unknown symbol ip6_route_output_flags (err -22)
[  188.517668] jool_common: disagrees about version of symbol __alloc_skb
[  188.517671] jool_common: Unknown symbol __alloc_skb (err -22)
[  188.517676] jool_common: disagrees about version of symbol kmem_cache_alloc
[  188.517686] jool_common: Unknown symbol kmem_cache_alloc (err -22)
[  188.517694] jool_common: disagrees about version of symbol ip_route_output_key_hash
[  188.517697] jool_common: Unknown symbol ip_route_output_key_hash (err -22)
[  188.517705] jool_common: disagrees about version of symbol ip_route_input_noref
[  188.517708] jool_common: Unknown symbol ip_route_input_noref (err -22)
[  188.517726] jool_common: disagrees about version of symbol ipv6_dev_get_saddr
[  188.517729] jool_common: Unknown symbol ipv6_dev_get_saddr (err -22)
[  188.517735] jool_common: disagrees about version of symbol __task_pid_nr_ns
[  188.517739] jool_common: Unknown symbol __task_pid_nr_ns (err -22)
[  188.517754] jool_common: disagrees about version of symbol skb_pull
[  188.517756] jool_common: Unknown symbol skb_pull (err -22)
[  188.517771] jool_common: disagrees about version of symbol netlink_unicast
[  188.517774] jool_common: Unknown symbol netlink_unicast (err -22)
[  188.517784] jool_common: disagrees about version of symbol skb_push
[  188.517787] jool_common: Unknown symbol skb_push (err -22)
[  188.517792] jool_common: disagrees about version of symbol kmem_cache_free
[  188.517795] jool_common: Unknown symbol kmem_cache_free (err -22)
[  188.517819] jool_common: disagrees about version of symbol nf_unregister_net_hooks
[  188.517822] jool_common: Unknown symbol nf_unregister_net_hooks (err -22)
[  188.517827] jool_common: disagrees about version of symbol inet_select_addr
[  188.517830] jool_common: Unknown symbol inet_select_addr (err -22)
[  188.517848] jool_common: disagrees about version of symbol skb_checksum
[  188.517851] jool_common: Unknown symbol skb_checksum (err -22)
[  188.517858] jool_common: disagrees about version of symbol __icmpv6_send
[  188.517861] jool_common: Unknown symbol __icmpv6_send (err -22)
[  188.517866] jool_common: disagrees about version of symbol __pskb_pull_tail
[  188.517869] jool_common: Unknown symbol __pskb_pull_tail (err -22)
[  188.517879] jool_common: disagrees about version of symbol skb_trim
[  188.517882] jool_common: Unknown symbol skb_trim (err -22)
[  188.517894] jool_common: disagrees about version of symbol kfree_skb_list
[  188.517897] jool_common: Unknown symbol kfree_skb_list (err -22)
[  188.517904] jool_common: disagrees about version of symbol __put_net
[  188.517906] jool_common: Unknown symbol __put_net (err -22)
[  188.517916] jool_common: disagrees about version of symbol get_net_ns_by_pid
[  188.517919] jool_common: Unknown symbol get_net_ns_by_pid (err -22)
[  188.517925] jool_common: disagrees about version of symbol __icmp_send
[  188.517928] jool_common: Unknown symbol __icmp_send (err -22)
[  188.517932] jool_common: disagrees about version of symbol ipv4_mtu
[  188.517935] jool_common: Unknown symbol ipv4_mtu (err -22)
[  188.517965] jool_common: disagrees about version of symbol dst_release
[  188.517968] jool_common: Unknown symbol dst_release (err -22)
[  188.517980] jool_common: disagrees about version of symbol genl_unregister_family
[  188.517983] jool_common: Unknown symbol genl_unregister_family (err -22)
[  188.517997] jool_common: disagrees about version of symbol genl_register_family
[  188.518000] jool_common: Unknown symbol genl_register_family (err -22)

Distribution: alpine linux 3.16

ydahhrk commented 2 years ago

Edit: Never mind, this is all wrong. Scroll down, please

~Jool is three modules: jool.ko, jool_siit.ko and jool_common.ko. The latter is a dependency of the two former ones.~

~Those error messages mean that your kernel is missing jool_common.ko.~

~I don't know how you're registering the modules on the kernel, but if you're doing something like~

sudo modprobe jool_siit

~Try registering jool_common.ko first:~

sudo modprobe jool_common
sudo modprobe jool_siit
ydahhrk commented 2 years ago

It seems your Jool modules were not compiled for the right kernel version.

How did you compile or install Jool?

ne-vlezay80 commented 2 years ago

It seems your Jool modules were not compiled for the right kernel version.

How did you compile or install Jool?

Install from:

apk add jool-tools

modules from repositorry.

ne-vlezay80 commented 2 years ago

the fixed after

apk update && apk upgrade
ydahhrk commented 2 years ago

Can this be closed?

ydahhrk commented 1 year ago

I'm going to assume this is fixed; closing for now.