Netfilter in kernel 2.3.99-pre6/5

From: Piotr Wilkin (
Date: Tue Apr 25 2000 - 08:39:10 EST

The compatibility code for ipchains is broken. Not only doesn't the
ipchains module load (complaining about "cannot find version for which
this module was compiled for"), but trying to do ipchains -A
(anything) results in the following:

Kernel BUG at vmalloc.c:211!
invalid operand: 0000
CPU: 0
EIP: 0010:[<c0128f25>]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010282
eax: 0000001d ebx: 00000000 ecx: 00000016 edx: c31c6480
esi: 80490000 edi: c2e15e68 ebp: c2e15e0c esp: c2e15dd4
ds: 0018 es: 0018 ss: 0018
Process ipchains (pid: 573, stackpage=c2e15000)
Stack: c0233147 c02332c5 000000d3 00000000 bffffc48 c486a320 8048fed0
       bffffbec 00000040 c02ae960 c48a5000 00000001 c0200312 00000000
       00000000 00000000 00000000 00000000 00000000 0000ffff 0000ffff
Call Trace: [<c0233147>] [<c02332c5>] [<c486a320>] [<c48a5000>]
[<c0200312>] [<c486a7aa>] [<c486c660>]
       [<c01e9246>] [<c01e9376>] [<c01f988f>] [<c01e9feb>] [<c0208e08>]
[<c020dd8e>] [<c01e82f1>] [<c01e89b6>]
Code: 0f 0b eb 66 8d b4 26 00 00 00 00 6a 02 56 e8 a0 fe ff ff 83

>>EIP; c0128f25 <vmalloc+35/a8> <=====
Trace; c0233147 <tvecs+1aa3/ce9c>
Trace; c02332c5 <tvecs+1c21/ce9c>
Trace; c486a320 <[ip_tables]do_replace+ac/33c>
Trace; c48a5000 <END_OF_CODE+19a59/????>
Trace; c0200312 <__tcp_data_snd_check+42/70>
Trace; c486a7aa <[ip_tables]do_ipt_set_ctl+46/64>
Trace; c486c660 <[ip_tables]ipt_sockopts+0/40>
Trace; c01e9246 <nf_sockopt+15e/26c>
Trace; c01e9376 <nf_setsockopt+22/28>
Trace; c01f988f <ip_setsockopt+74b/8a4>
Trace; c01e9feb <sk_alloc+13/90>
Trace; c0208e08 <raw_setsockopt+28/58>
Trace; c020dd8e <inet_setsockopt+2a/34>
Trace; c01e82f1 <sys_setsockopt+55/7c>
Trace; c01e89b6 <sys_socketcall+1ae/200>
Trace; c010b11c <system_call+34/38>
Code; c0128f25 <vmalloc+35/a8>
00000000 <_EIP>:
Code; c0128f25 <vmalloc+35/a8> <=====
   0: 0f 0b ud2a <=====
Code; c0128f27 <vmalloc+37/a8>
   2: eb 66 jmp 6a <_EIP+0x6a> c0128f8f <vmalloc+9f/a8>
Code; c0128f29 <vmalloc+39/a8>
   4: 8d b4 26 00 00 00 00 lea 0x0(%esi,1),%esi
Code; c0128f30 <vmalloc+40/a8>
   b: 6a 02 push $0x2
Code; c0128f32 <vmalloc+42/a8>
   d: 56 push %esi
Code; c0128f33 <vmalloc+43/a8>
   e: e8 a0 fe ff ff call fffffeb3 <_EIP+0xfffffeb3> c0128dd8 <get_vm_area+0/b0>
Code; c0128f38 <vmalloc+48/a8>
  13: 83 00 00 addl $0x0,(%eax)

I think something here is completely broken...

Piotr Wilkin

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Apr 30 2000 - 21:00:09 EST