From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 23 Apr 2004 22:29:50 +0100 (BST) Received: from web10702.mail.yahoo.com ([IPv6:::ffff:216.136.130.210]:64701 "HELO web10702.mail.yahoo.com") by linux-mips.org with SMTP id ; Fri, 23 Apr 2004 22:29:49 +0100 Message-ID: <20040423212946.48261.qmail@web10702.mail.yahoo.com> Received: from [207.46.238.133] by web10702.mail.yahoo.com via HTTP; Fri, 23 Apr 2004 14:29:46 PDT Date: Fri, 23 Apr 2004 14:29:46 -0700 (PDT) From: santosh khare Subject: Re: relocation overflow of type 4 __copy_user To: linux-mips@linux-mips.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1446260502-1082755786=:47980" Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 4863 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: santosh_khare2002@yahoo.com Precedence: bulk X-list: linux-mips --0-1446260502-1082755786=:47980 Content-Type: text/plain; charset=us-ascii I have changed CONFIG_IP_TABLES=y to CONFIG_IP_TABLES=m in .config file. make modules now building ip_tables.o and I do not have this error any more. Although, executing iptables utility is giving following error. ip_tables: applet not found can't initialize iptables table 'filter': table does not exist perhaps iptables or your kernel needs to be upgraded. Any ideas? Santosh "Steven J. Hill" wrote: santosh khare wrote: > > When I am trying to insmod iptables.o I am getting this error multiple > times. > > relocation overflow of type 4 __copy_user > relocation overflow of type 4 __copy_user > relocation overflow of type 4 __copy_user > ......... > > I was getting similar errors for printk etc but they disappeared after I > changed the CFLAGS for arch/mips/Makefile and included -mno-abicalls. > This flag is already included by default in both 2.4 and 2.6 kernels. How did you compile your module? -Steve Santosh Khare 425 556 0845 (H) 425 241 3566 (C) --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ Santosh Khare 425 556 0845 (H) 425 241 3566 (C) --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1446260502-1082755786=:47980 Content-Type: text/html; charset=us-ascii


I have changed
CONFIG_IP_TABLES=y to
CONFIG_IP_TABLES=m
 in .config file.
make modules now building ip_tables.o and I do not have this error any more.
Although, executing iptables utility is giving following error.
 
ip_tables: applet not found
can't initialize iptables table 'filter': table does not exist
perhaps iptables or your kernel needs to be upgraded.
 
Any ideas?
 
Santosh


"Steven J. Hill" <sjhill@realitydiluted.com> wrote:
santosh khare wrote:
>
> When I am trying to insmod iptables.o I am getting this error multiple
> times.
>
> relocation overflow of type 4 __copy_user
> relocation overflow of type 4 __copy_user
> relocation overflow of type 4 __copy_user
> .........
>
> I was getting similar errors for printk etc but they disappeared after I
> changed the CFLAGS for arch/mips/Makefile and included -mno-abicalls.
>
This flag is already included by default in both 2.4 and 2.6 kernels. How
did you compile your module?

-Steve


Santosh Khare
425 556 0845 (H)
425 241 3566 (C)


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢


Santosh Khare
425 556 0845 (H)
425 241 3566 (C)


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1446260502-1082755786=:47980--