The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@fs.tum.de>
To: Jakub Bogusz <qboosh@pld-linux.org>, Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: Re: 2.6.8.1 - unresolved xfrm symbols in ip6_tunnel
Date: Tue, 17 Aug 2004 23:00:59 +0200	[thread overview]
Message-ID: <20040817210058.GU1387@fs.tum.de> (raw)
In-Reply-To: <20040817203013.GA31993@satan.blackhosts>

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.
 
_

      reply	other threads:[~2004-08-17 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040817210058.GU1387@fs.tum.de \
    --to=bunk@fs.tum.de \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@oss.sgi.com \
    --cc=qboosh@pld-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox