* [gentoo-user] xtables-addons : Invalid module format @ 2011-08-05 13:11 Pandu Poluan 2011-08-05 13:24 ` Michael Mol 0 siblings, 1 reply; 5+ messages in thread From: Pandu Poluan @ 2011-08-05 13:11 UTC (permalink / raw To: gentoo-user 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? Rgds, -- Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] xtables-addons : Invalid module format 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 0 siblings, 1 reply; 5+ messages in thread From: Michael Mol @ 2011-08-05 13:24 UTC (permalink / raw To: gentoo-user 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. 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. -- :wq ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] xtables-addons : Invalid module format 2011-08-05 13:24 ` Michael Mol @ 2011-08-05 13:32 ` Pandu Poluan 2011-08-05 13:45 ` Pandu Poluan 0 siblings, 1 reply; 5+ messages in thread From: Pandu Poluan @ 2011-08-05 13:32 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] xtables-addons : Invalid module format 2011-08-05 13:32 ` Pandu Poluan @ 2011-08-05 13:45 ` Pandu Poluan 2011-08-05 13:53 ` Michael Mol 0 siblings, 1 reply; 5+ messages in thread From: Pandu Poluan @ 2011-08-05 13:45 UTC (permalink / raw To: gentoo-user On Fri, Aug 5, 2011 at 20:32, Pandu Poluan <pandu@poluan.info> wrote: > On Fri, Aug 5, 2011 at 20:24, Michael Mol <mikemol@gmail.com> wrote: >> 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. > Well, whaddaya know... I set `CONFIG_IP_SET=m`, rebuild the kernel, and re-emerged xtables-addons, and... It works ! ! ! Thank you so much :-) (If we ever meet, remind me to treat you to a nice mug o'beer -- or your preferred cold drink) Rgds, -- Pandu E Poluan ~ IT Optimizer ~ • Blog : http://pepoluan.tumblr.com • Linked-In : http://id.linkedin.com/in/pepoluan ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] xtables-addons : Invalid module format 2011-08-05 13:45 ` Pandu Poluan @ 2011-08-05 13:53 ` Michael Mol 0 siblings, 0 replies; 5+ messages in thread From: Michael Mol @ 2011-08-05 13:53 UTC (permalink / raw To: gentoo-user On Fri, Aug 5, 2011 at 9:45 AM, Pandu Poluan <pandu@poluan.info> wrote: > On Fri, Aug 5, 2011 at 20:32, Pandu Poluan <pandu@poluan.info> wrote: >> On Fri, Aug 5, 2011 at 20:24, Michael Mol <mikemol@gmail.com> wrote: >>> 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. >> > > Well, whaddaya know... > > I set `CONFIG_IP_SET=m`, rebuild the kernel, and re-emerged > xtables-addons, and... > > It works ! ! ! > > Thank you so much :-) > > (If we ever meet, remind me to treat you to a nice mug o'beer -- or > your preferred cold drink) Not necessary. :) Well, I do hope to be at Dragon*Con this year, so if you're in the area. ;) -- :wq ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-08-05 13:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2011-08-05 13:45 ` Pandu Poluan 2011-08-05 13:53 ` Michael Mol
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox