From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-126584-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QpKXA-0005Zy-4f
	for garchives@archives.gentoo.org; Fri, 05 Aug 2011 13:33:52 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 360A421C274;
	Fri,  5 Aug 2011 13:33:43 +0000 (UTC)
Received: from svr-us4.tirtonadi.com (unknown [69.65.43.212])
	by pigeon.gentoo.org (Postfix) with ESMTP id A024921C1BB
	for <gentoo-user@lists.gentoo.org>; Fri,  5 Aug 2011 13:32:49 +0000 (UTC)
Received: from mail-fx0-f53.google.com ([209.85.161.53])
	by svr-us4.tirtonadi.com with esmtpsa (TLSv1:RC4-SHA:128)
	(Exim 4.69)
	(envelope-from <pandu@poluan.info>)
	id 1QpKWA-002CPd-Rr
	for gentoo-user@lists.gentoo.org; Fri, 05 Aug 2011 20:32:50 +0700
Received: by fxd23 with SMTP id 23so4243188fxd.40
        for <gentoo-user@lists.gentoo.org>; Fri, 05 Aug 2011 06:32:45 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.223.69.83 with SMTP id y19mr2910307fai.108.1312551165786; Fri,
 05 Aug 2011 06:32:45 -0700 (PDT)
Received: by 10.223.86.68 with HTTP; Fri, 5 Aug 2011 06:32:45 -0700 (PDT)
In-Reply-To: <CA+czFiCB10xLaDSaHk+UzX3-tj0Cmbzw8mEwoUAn1fXn_tAWaw@mail.gmail.com>
References: <CAA2qdGUEHWifEzCX_i40rMFuoEwODBE1++jrw9kaa42fbEo13g@mail.gmail.com>
	<CA+czFiCB10xLaDSaHk+UzX3-tj0Cmbzw8mEwoUAn1fXn_tAWaw@mail.gmail.com>
Date: Fri, 5 Aug 2011 20:32:45 +0700
Message-ID: <CAA2qdGVbcq15uLhe=kOeGpNasg7qJsTDED9SY+CJVk_cC0Ldow@mail.gmail.com>
Subject: Re: [gentoo-user] xtables-addons : Invalid module format
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - svr-us4.tirtonadi.com
X-AntiAbuse: Original Domain - lists.gentoo.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - poluan.info
X-Archives-Salt: 
X-Archives-Hash: dbb7d71833367a2175f18243f91ba1fa

On Fri, Aug 5, 2011 at 20:24, Michael Mol <mikemol@gmail.com> wrote:
> On Fri, Aug 5, 2011 at 9:11 AM, Pandu Poluan <pandu@poluan.info> wrote:
>> I'm having troubles with net-firewall/xtables-addons-1.3.7
>>
>> emerge is successful, but all attempts to create an IP set (e.g.,
>> `ipset --create test hash:ip`) resulted in the following error
>> message:
>>
>> FATAL: Error inserting ip_set
>> (/lib/modules/2.6.39-hardened-r8PANS_GW_BN_02/xtables_addons/ip_set.ko):
>> Invalid module format
>>
>> `insmod` begat an additional information:
>>
>> insmod: error inserting
>> '/lib/modules/2.6.39-hardened-r8PANS_GW_BN_02/xtables_addons/ip_set.ko':
>> -1 Invalid module format
>>
>> `dmesg | tail -1` gave a worrying error:
>>
>> [ 4085.271442] ip_set: exports duplicate symbol ip_set_nfnl_put (owned
>> by kernel)
>>
>> What should I do?
>
> I don't know much about xtables, but ISTR it's a fork (or supplement?)
> to iptables.
>

Supplement, actually. It provides modules that for some reason haven't
made it into iptables itself.

> That sounds like a symbol conflict, such as if you were to try to
> insert a module into a kernel, where the kernel already had the code
> built-in.
>
> Check your kernel configuration and ensure that all of the iptables
> stuff is built as modules, rather than built-in. Then (I suspect) it
> should be a matter of figuring out which module conflicts.
>

Hmmm... okay, I'll try to build another kernel.

There's this whole page of "IPset" in `make menuconfig` that I had
naively set to built-in.

I'll post updates.

Rgds,
--=20
Pandu E Poluan
~ IT Optimizer ~

=C2=A0=E2=80=A2 Blog : http://pepoluan.tumblr.com
=C2=A0=E2=80=A2 Linked-In : http://id.linkedin.com/in/pepoluan