public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xtables-addons : Invalid module format
Date: Fri, 5 Aug 2011 20:32:45 +0700	[thread overview]
Message-ID: <CAA2qdGVbcq15uLhe=kOeGpNasg7qJsTDED9SY+CJVk_cC0Ldow@mail.gmail.com> (raw)
In-Reply-To: <CA+czFiCB10xLaDSaHk+UzX3-tj0Cmbzw8mEwoUAn1fXn_tAWaw@mail.gmail.com>

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,
-- 
Pandu E Poluan
~ IT Optimizer ~

 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



  reply	other threads:[~2011-08-05 13:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 13:11 [gentoo-user] xtables-addons : Invalid module format Pandu Poluan
2011-08-05 13:24 ` Michael Mol
2011-08-05 13:32   ` Pandu Poluan [this message]
2011-08-05 13:45     ` Pandu Poluan
2011-08-05 13:53       ` Michael Mol

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='CAA2qdGVbcq15uLhe=kOeGpNasg7qJsTDED9SY+CJVk_cC0Ldow@mail.gmail.com' \
    --to=pandu@poluan.info \
    --cc=gentoo-user@lists.gentoo.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