LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Error building 2.6.10 kernel with ip_vs_nfct patch - does anyone els

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Error building 2.6.10 kernel with ip_vs_nfct patch - does anyone else get this?
From: Horms <horms@xxxxxxxxxxxx>
Date: Tue, 8 Feb 2005 20:23:14 +0900
On Fri, Feb 04, 2005 at 08:50:07AM -0500, Vince W. wrote:
> Hello everyone,
> 
> First I'd like to say a big THANK YOU to Julian for taking over the 
> IPVS/Netfilter connection tracking code support.  I haven't messed with 
> any of this stuff in a long time.
> 
> I applied the following two patches to an otherwise-unpatched Fedora 
> Core 3 2.6.10 ("1.741") source tree.  By "otherwise-unpatched" I mean, I 
> haven't thrown any other patches in besides the ones that the kernel 
> source already comes with.
> 
> http://www.ssi.bg/~ja/nfct/ipvs-nfct-2.6.10-1.diff
> http://www.ssi.bg/~ja/nfct/ip_nat_ftp-2.6.9-1.diff
> 
> The patches apply cleanly, with a couple lines of offset here and 
> there.  When building the kernel modules, I get the following output:
> 
> 
>  CC [M]  net/ipv4/ipvs/ip_vs_conn.o
>  CC [M]  net/ipv4/ipvs/ip_vs_core.o
>  CC [M]  net/ipv4/ipvs/ip_vs_ctl.o
>  CC [M]  net/ipv4/ipvs/ip_vs_sched.o
>  CC [M]  net/ipv4/ipvs/ip_vs_xmit.o
>  CC [M]  net/ipv4/ipvs/ip_vs_app.o
>  CC [M]  net/ipv4/ipvs/ip_vs_sync.o
>  CC [M]  net/ipv4/ipvs/ip_vs_est.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto_icmp.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto_tcp.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto_udp.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto_esp.o
>  CC [M]  net/ipv4/ipvs/ip_vs_proto_ah.o
>  CC [M]  net/ipv4/ipvs/ip_vs_nfct.o
> 
> net/ipv4/ipvs/ip_vs_nfct.c: In function `ip_vs_nfct_conn_drop':
> include/linux/netfilter_ipv4/ip_conntrack.h:248: sorry, unimplemented: 
> inlining failed in call to 'ip_conntrack_put': function body not available
> net/ipv4/ipvs/ip_vs_nfct.c:385: sorry, unimplemented: called from here
> make[3]: *** [net/ipv4/ipvs/ip_vs_nfct.o] Error 1
> make[2]: *** [net/ipv4/ipvs] Error 2
> 
> Has anyone else seen this, using this patch?

In a nutshell. It works for 2.6.10, but various changes have been
applied to the kernel tree since then that effect this code. I
suspect Fedora is incoporating some of these. So basically you
have the option of porting the patch to Fedora's kernel, which
presumably will have to happen for 2.6.11 anyway, or using 
2.6.10 from kernel.org.

I had a look into making such a backport, but I haven't got anywhere
with it yet.

-- 
Horms

<Prev in Thread] Current Thread [Next in Thread>