* relocation overflow of type 4 __copy_user
@ 2004-04-23 18:44 santosh khare
2004-04-23 18:52 ` Steven J. Hill
0 siblings, 1 reply; 4+ messages in thread
From: santosh khare @ 2004-04-23 18:44 UTC (permalink / raw)
To: linux-mips
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 655 bytes --]
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¢
[-- Attachment #2: Type: text/html, Size: 1043 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: relocation overflow of type 4 __copy_user
2004-04-23 18:44 relocation overflow of type 4 __copy_user santosh khare
@ 2004-04-23 18:52 ` Steven J. Hill
0 siblings, 0 replies; 4+ messages in thread
From: Steven J. Hill @ 2004-04-23 18:52 UTC (permalink / raw)
To: santosh khare; +Cc: 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* relocation overflow of type 4 __copy_user
@ 2004-04-23 18:44 santosh khare
0 siblings, 0 replies; 4+ messages in thread
From: santosh khare @ 2004-04-23 18:44 UTC (permalink / raw)
To: linux-mips
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 655 bytes --]
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¢
[-- Attachment #2: Type: text/html, Size: 1043 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: relocation overflow of type 4 __copy_user
@ 2004-04-23 21:29 santosh khare
0 siblings, 0 replies; 4+ messages in thread
From: santosh khare @ 2004-04-23 21:29 UTC (permalink / raw)
To: linux-mips
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1270 bytes --]
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¢
[-- Attachment #2: Type: text/html, Size: 2078 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-23 21:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-23 18:44 relocation overflow of type 4 __copy_user santosh khare
2004-04-23 18:52 ` Steven J. Hill
-- strict thread matches above, loose matches on Subject: below --
2004-04-23 18:44 santosh khare
2004-04-23 21:29 santosh khare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox