Re: Ipset Error : ipset v6.25.1: Kernel error received: set type not supported (on Kernel 4.1.4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well ... quite a number of tests passed succesfully... but then some
test have failed.
partial o/p of 'make tests' is

hash:mac.t: MAC: Check listing: passed
hash:mac.t: MAC: Destroy test set: passed
comment: Bitmap comment: create set: passed
comment: Bitmap comment: Check invalid length of comment: passed
comment: Bitmap comment: Add comment with max length: passed
comment: Bitmap comment: Add element with comment: passed
comment: Bitmap comment: Test element with comment: passed
comment: Bitmap comment: List set: passed
comment: Bitmap comment: Check listing: passed
comment: Bitmap comment: Delete element with comment: passed
comment: Bitmap comment: Test deleted element: passed
comment: Bitmap comment: Check listing: passed
comment: Bitmap comment: Add element with comment: passed
comment: Bitmap comment: check listing: passed
comment: Bitmap comment: Re-add element with another comment: passed
comment: Bitmap comment: check listing: passed
comment: Bitmap comment: Flush test set: passed
comment: Bitmap comment: Add multiple elements with comment: passed
comment: Bitmap comment: List set: passed
comment: Bitmap comment: Check listing: passed
comment: Bitmap comment: Delete test set: passed
comment: Bitmap comment: create set with timeout: passed
comment: Bitmap comment: Add multiple elements with default timeout: passed
comment: Bitmap comment: Add multiple elements with zero timeout: passed
comment: Bitmap comment: List set: passed
comment: Bitmap comment: Check listing: passed
comment: Sleep 5s so that entries can time out: passed
comment: Bitmap comment: List set: passed
comment: Bitmap comment: Check listing: --- .foo  2015-08-12
12:14:03.475222428 +0530
+++ comment.t.list12 2015-06-25 14:49:08.000000000 +0530
@@ -1,9 +1,9 @@
 Name: test
 Type: bitmap:ip
 Header: range 2.0.0.1-2.1.0.0 timeout x comment
-Size in memory: 1056896
+Size in memory: 1056928
 References: 0
-Number of entries: 255
+Number of entries: 510
 Members:
 2.0.1.1 timeout x comment "text message 1"
 2.0.1.2 timeout x comment "text message 2"
FAILED
Failed test: diff -u -I 'Size in memory.*' .foo comment.t.list12
make: *** [tests] Error 1

On Tue, Aug 11, 2015 at 7:16 PM, Akshat Kakkar <akshat.1984@xxxxxxxxx> wrote:
> looks like things will run ...
>
> I did rmmod ip_set
> then recompiled again
> and then modprobe ip_set
>
>
> and tests are now running ...
> its taking a bit time for these test to run but atleast it has not
> stopped with an error ....
>
>
> Gr8 ... Thanks for all the help
>
> On Tue, Aug 11, 2015 at 7:09 PM, Akshat Kakkar <akshat.1984@xxxxxxxxx> wrote:
>> I manually deleted all the ip_set* in kernel 2.6.32 manually
>>
>> then recompiled the ipsets but still same issue....
>>
>> is there something else also which I should delete
>>
>> On Tue, Aug 11, 2015 at 5:51 PM, Jozsef Kadlecsik
>> <kadlec@xxxxxxxxxxxxxxxxx> wrote:
>>> On Tue, 11 Aug 2015, Akshat Kakkar wrote:
>>>
>>>> [root@localhost ipset-6.25.1]# find /lib/modules -name ip_set_hash_ip.ko
>>>>
>>>> /lib/modules/2.6.32-279.el6.x86_64/kernel/net/netfilter/ipset/ip_set_hash_ip.ko
>>>> /lib/modules/4.1.4-1.el6.elrepo.x86_64/extra/netfilter/ipset/ip_set_hash_ip.ko
>>>> /lib/modules/4.1.4-1.el6.elrepo.x86_64/kernel/net/netfilter/ipset/ip_set_hash_ip.ko
>>>>
>>>> [root@localhost ipset-6.25.1]# modinfo ip_set_hash_ip
>>>> filename:
>>>> /lib/modules/4.1.4-1.el6.elrepo.x86_64/extra/netfilter/ipset/ip_set_hash_ip.ko
>>>> alias:          ip_set_hash:ip
>>>> description:    hash:ip type of IP sets, revisions 0-4
>>>> author:         Jozsef Kadlecsik <kadlec@xxxxxxxxxxxxxxxxx>
>>>> license:        GPL
>>>> srcversion:     E2BD7DC4C7AF706B56E2CBA
>>>> depends:        ip_set
>>>> vermagic:       4.1.4-1.el6.elrepo.x86_64 SMP mod_unload modversions
>>>
>>> The module is there, recognized by modinfo, so it should be loaded
>>> automatically, when the hash:ip type is requested by the "ipset" command.
>>> The output of "ipset help" shows that exactly the same revisions are
>>> supported by both the kernel module and ipset.
>>>
>>> Hm. Maybe older versions of the ip_set modules are already loaded in and
>>> therefore the new ones cannot be autoloaded. Remove all ip_set* modules
>>> and try to create the set again.
>>>
>>> Best regards,
>>> Jozsef
>>> -
>>> E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
>>> PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
>>> Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
>>>           H-1525 Budapest 114, POB. 49, Hungary
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux