From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 23 Apr 2004 19:44:46 +0100 (BST) Received: from web10707.mail.yahoo.com ([IPv6:::ffff:216.136.130.215]:1340 "HELO web10707.mail.yahoo.com") by linux-mips.org with SMTP id ; Fri, 23 Apr 2004 19:44:45 +0100 Message-ID: <20040423184441.36215.qmail@web10707.mail.yahoo.com> Received: from [207.46.238.143] by web10707.mail.yahoo.com via HTTP; Fri, 23 Apr 2004 11:44:41 PDT Date: Fri, 23 Apr 2004 11:44:41 -0700 (PDT) From: santosh khare Subject: relocation overflow of type 4 __copy_user To: linux-mips@linux-mips.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1118446702-1082745881=:36150" 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: 4858 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-1118446702-1082745881=:36150 Content-Type: text/plain; charset=us-ascii Hi 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. Please let me know how can I get rid of this relocation overflow. Looking at /proc/ksyms I see following. #cat /proc/ksyms | grep __copy_user 802e0144 __copy_user Santosh --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1118446702-1082745881=:36150 Content-Type: text/html; charset=us-ascii
Hi
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.
 
Please let me know how can I get rid of this relocation overflow.
 
Looking at /proc/ksyms I see following.
 
#cat /proc/ksyms | grep __copy_user
802e0144 __copy_user
 
Santosh
 


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1118446702-1082745881=:36150-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 23 Apr 2004 19:45:08 +0100 (BST) Received: from web10707.mail.yahoo.com ([IPv6:::ffff:216.136.130.215]:5436 "HELO web10707.mail.yahoo.com") by linux-mips.org with SMTP id ; Fri, 23 Apr 2004 19:44:54 +0100 Message-ID: <20040423184452.36232.qmail@web10707.mail.yahoo.com> Received: from [207.46.238.143] by web10707.mail.yahoo.com via HTTP; Fri, 23 Apr 2004 11:44:52 PDT Date: Fri, 23 Apr 2004 11:44:52 -0700 (PDT) From: santosh khare Subject: relocation overflow of type 4 __copy_user To: linux-mips@linux-mips.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1640851125-1082745892=:31844" 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: 4859 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-1640851125-1082745892=:31844 Content-Type: text/plain; charset=us-ascii Hi 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. Please let me know how can I get rid of this relocation overflow. Looking at /proc/ksyms I see following. #cat /proc/ksyms | grep __copy_user 802e0144 __copy_user Santosh --------------------------------- Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1640851125-1082745892=:31844 Content-Type: text/html; charset=us-ascii
Hi
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.
 
Please let me know how can I get rid of this relocation overflow.
 
Looking at /proc/ksyms I see following.
 
#cat /proc/ksyms | grep __copy_user
802e0144 __copy_user
 
Santosh
 


Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢ --0-1640851125-1082745892=:31844-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Fri, 23 Apr 2004 19:52:51 +0100 (BST) Received: from eth13.com-link.com ([IPv6:::ffff:208.242.241.164]:54947 "EHLO real.realitydiluted.com") by linux-mips.org with ESMTP id ; Fri, 23 Apr 2004 19:52:51 +0100 Received: from localhost ([127.0.0.1] helo=realitydiluted.com) by real.realitydiluted.com with esmtp (Exim 3.36 #1 (Debian)) id 1BH5mJ-0006Ul-00; Fri, 23 Apr 2004 13:52:00 -0500 Message-ID: <408965D2.7010703@realitydiluted.com> Date: Fri, 23 Apr 2004 14:52:02 -0400 From: "Steven J. Hill" User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 X-Accept-Language: en MIME-Version: 1.0 To: santosh khare CC: linux-mips@linux-mips.org Subject: Re: relocation overflow of type 4 __copy_user References: <20040423184441.36215.qmail@web10707.mail.yahoo.com> In-Reply-To: <20040423184441.36215.qmail@web10707.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 4860 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: sjhill@realitydiluted.com Precedence: bulk X-list: linux-mips 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 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--