Skip to contentSkip to conversation

2.6.8.1 - unresolved xfrm symbols in ip6_tunnel

DISCUSSION Jakub Bogusz 2 participants 2 messages Aug 17, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

I've just got:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.8.1; fi
WARNING: /lib/modules/2.6.8.1/kernel/net/ipv6/ip6_tunnel.ko needs unknown symbol xfrm6_tunnel_register
WARNING: /lib/modules/2.6.8.1/kernel/net/ipv6/ip6_tunnel.ko needs unknown symbol xfrm6_tunnel_deregister

with
CONFIG_IPV6_TUNNEL=m
and no XFRM (it wasn't selected by IPV6_TUNNEL and it's not possible to select it standalone - XFRM is selected only by some options which I don't use).

So I think that IPV6_TUNNEL should select or depend on XFRM... or usage of the above symbols should depend on CONFIG_XFRM || CONFIG_XFRM_MODULE?

Signature · 1 line
Jakub Bogusz    http://cyber.cs.net.pl/~qboosh/
#1 lore raw
Quoted 12 lines · Jakub Bogusz

I've just got:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.8.1; fi
WARNING: /lib/modules/2.6.8.1/kernel/net/ipv6/ip6_tunnel.ko needs unknown symbol xfrm6_tunnel_register
WARNING: /lib/modules/2.6.8.1/kernel/net/ipv6/ip6_tunnel.ko needs unknown symbol xfrm6_tunnel_deregister

with
CONFIG_IPV6_TUNNEL=m
and no XFRM (it wasn't selected by IPV6_TUNNEL and it's not possible to select it standalone - XFRM is selected only by some options which I don't use).

Quoted 3 lines

So I think that IPV6_TUNNEL should select or depend on XFRM... or usage of the above symbols should depend on CONFIG_XFRM || CONFIG_XFRM_MODULE?

Thanks for this report.

It's a known bug.

Below is the patch from -mm fixing this issue.

@Andrew:
Can you push fw-new-linux-268-rc4-mm1-ipv6-in-ipv6-undefined-references with the next updates to Linus?

Quoted 1 line

Jakub Bogusz http://cyber.cs.net.pl/~qboosh/

cu
Adrian

<-- snip -->

From: Herbert Xu <[email protected]>

Fix bug #3200

*** Warning: "xfrm6_tunnel_deregister" [net/ipv6/ip6_tunnel.ko] undefined! *** Warning: "xfrm6_tunnel_register" [net/ipv6/ip6_tunnel.ko] undefined!

---

 25-akpm/net/ipv6/Kconfig |    1 +
 1 files changed, 1 insertion(+)
net/ipv6/Kconfig renamed from net/ipv6/Kconfig~fw-new-linux-268-rc4-mm1-ipv6-in-ipv6-undefined-references +1 -0
diff -puN net/ipv6/Kconfig~fw-new-linux-268-rc4-mm1-ipv6-in-ipv6-undefined-references net/ipv6/Kconfig
@@ -59,6 +59,7 @@ config INET6_IPCOMP
 config IPV6_TUNNEL
 	tristate "IPv6: IPv6-in-IPv6 tunnel"
 	depends on IPV6
+	select XFRM
 	---help---
 	  Support for IPv6-in-IPv6 tunnels described in RFC 2473.
 

_