linux-mips
[Top] [All Lists]

Re: insmod problems

To: Shay Deloya <shay@jungo.com>
Subject: Re: insmod problems
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Tue, 8 May 2001 23:40:36 -0300
Cc: linux-mips@oss.sgi.com
In-reply-to: <01050619134301.01140@athena.home.krftech.com>; from shay@jungo.com on Sun, May 06, 2001 at 07:13:43PM +0300
References: <01050619134301.01140@athena.home.krftech.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Sun, May 06, 2001 at 07:13:43PM +0300, Shay Deloya wrote:

> I have an old problem came up again and the old solution aren't helping.
> I'm using busybox version 0.50 and with kernel 2.2 , and inserting 
> some modules ,especially those with DEBUG macroes e.g:
> #define DEBUG_HIGH(args...) {if (debug_level >= HIGH) printk(args);}
> causes the message :
> Relocation overflow of type 4 for
> 
> and insmod fails.
> 
> I'm compiling the modules with -mlong-calls and still getting this message.
> 
> Is it insmod knowen bugs that the relocation is done in bad way or 
> a linker/compiler bug. I'm using compiler: egcs ver 1.0.3a
> I'm checking this problem at the moment and looking for insmod bug.

You'll have to upgrade to very current binutils which for mips*-linux
targets default to elf32-trad{big,little}mips, not IRIX ELF format.  Also
it seems your modutils are a bit rotten, get the latest from ftp.kernel.org.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>