Summary: | net-firewall/ipset with kernel 3.13.6 - invalid opcode: 0000 in ip_set_dump_start in ip_set | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sandu Adrian <adrian.sandu> |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | adrian.sandu, kernel, tdalman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
strace ipset -L hanging
kernel trace from ipset -L |
Created attachment 372766 [details]
kernel trace from ipset -L
Also, the CPU spikes at 100% Can't kill the ipset process. # ps ax -o comm,wchan | grep ipset ipset nfnl_lock There is a 6.21.1 version out there that might fix this. I tried: wget .. ipset-6.21.1.tar.bz2 tar -xjf ipset-6.21.1.tar.bz2 cd ipset-6.21.1 ./configure --prefix=/usr/local cd src ./ipset -L Same results. ipset worked just fine 'till I enabled some iptables/nf_tables/ipset stuff in the kernel ( can't remember which ). (In reply to Sandu Adrian from comment #4) > ipset worked just fine 'till I enabled some iptables/nf_tables/ipset stuff > in the kernel ( can't remember which ). Well then figure that part out. I can't reproduce locally on 3.15.0 what about 6.24? retest on 6.29 At this time, I don't have access to the machine anymore ( don't even know what happened to it .. ). I guess we can safely close this, was a weird machine anyway. |
Created attachment 372764 [details] strace ipset -L hanging Running sys-kernel/gentoo-sources-3.13.6 net-firewall/ipset-6.20.1 ( happened for ipset-6.17 too ) ipset -L hangs d3xt3r01 ~ # strace ipset -L execve("/usr/sbin/ipset", ["ipset", "-L"], [/* 27 vars */]) = 0 brk(0) = 0x1759000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3c81000 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=75461, ...}) = 0 mmap(NULL, 75461, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fa2d3c6e000 close(3) = 0 open("/lib64/libipset.so.3", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\344\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=173912, ...}) = 0 mmap(NULL, 2269368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa2d3836000 mprotect(0x7fa2d3858000, 2093056, PROT_NONE) = 0 mmap(0x7fa2d3a57000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21000) = 0x7fa2d3a57000 mmap(0x7fa2d3a60000, 184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3a60000 close(3) = 0 open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0M\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1732856, ...}) = 0 mmap(NULL, 3845176, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa2d348b000 mprotect(0x7fa2d362c000, 2097152, PROT_NONE) = 0 mmap(0x7fa2d382c000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7fa2d382c000 mmap(0x7fa2d3832000, 15416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3832000 close(3) = 0 open("/lib64/libmnl.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240 \0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=22760, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3c6d000 mmap(NULL, 2117960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fa2d3285000 mprotect(0x7fa2d328a000, 2093056, PROT_NONE) = 0 mmap(0x7fa2d3489000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4000) = 0x7fa2d3489000 close(3) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3c6c000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fa2d3c6b000 arch_prctl(ARCH_SET_FS, 0x7fa2d3c6c700) = 0 mprotect(0x7fa2d382c000, 16384, PROT_READ) = 0 mprotect(0x7fa2d3489000, 4096, PROT_READ) = 0 mprotect(0x7fa2d3a57000, 24576, PROT_READ) = 0 mprotect(0x604000, 4096, PROT_READ) = 0 mprotect(0x7fa2d3c82000, 4096, PROT_READ) = 0 munmap(0x7fa2d3c6e000, 75461) = 0 brk(0) = 0x1759000 brk(0x177d000) = 0x177d000 socket(PF_NETLINK, SOCK_RAW, 12) = 3 bind(3, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0 getsockname(3, {sa_family=AF_NETLINK, pid=11570, groups=00000000}, [12]) = 0 sendto(3, "\34\0\0\0\1\6\1\0~\264$S\0\0\0\0\2\0\0\0\5\0\1\0\6\0\0\0", 28, 0, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12