netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.8.1 - unresolved xfrm symbols in ip6_tunnel
@ 2004-08-17 20:30 Jakub Bogusz
  2004-08-17 21:00 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Bogusz @ 2004-08-17 20:30 UTC (permalink / raw)
  To: linux-kernel, netdev

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?


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.6.8.1 - unresolved xfrm symbols in ip6_tunnel
  2004-08-17 20:30 2.6.8.1 - unresolved xfrm symbols in ip6_tunnel Jakub Bogusz
@ 2004-08-17 21:00 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-08-17 21:00 UTC (permalink / raw)
  To: Jakub Bogusz, Andrew Morton; +Cc: linux-kernel, netdev

On Tue, Aug 17, 2004 at 10:30:13PM +0200, Jakub Bogusz wrote:

> 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?

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?

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

cu
Adrian


<--  snip  -->


From: Herbert Xu <herbert@gondor.apana.org.au>

Fix bug #3200

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

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/net/ipv6/Kconfig |    1 +
 1 files changed, 1 insertion(+)

diff -puN net/ipv6/Kconfig~fw-new-linux-268-rc4-mm1-ipv6-in-ipv6-undefined-references net/ipv6/Kconfig
--- 25/net/ipv6/Kconfig~fw-new-linux-268-rc4-mm1-ipv6-in-ipv6-undefined-references	2004-08-15 17:33:34.718683088 -0700
+++ 25-akpm/net/ipv6/Kconfig	2004-08-15 17:33:34.721682632 -0700
@@ -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.
 
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-17 21:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-17 20:30 2.6.8.1 - unresolved xfrm symbols in ip6_tunnel Jakub Bogusz
2004-08-17 21:00 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).