* Insmod messages and modules space
@ 2001-04-09 18:10 Shay Deloya
2001-04-09 19:14 ` Ralf Baechle
0 siblings, 1 reply; 5+ messages in thread
From: Shay Deloya @ 2001-04-09 18:10 UTC (permalink / raw)
To: 'linux-mips@oss.sgi.com'
Hi All,
1.Should text segment of module after insmod be in KSEG2 or KUSEG ?
I've notices that the module address after insmod are c0... instead of 80...
Is it insmod Bug ?
2. I keep getting in insmod of busybox pkg , "relocation overflow" message
especially on printk symbols , when I debug the code, changing some function
declaration from static int func () to int func() , makes the module to
insert correctly , anyone ?
Thanks,
--
Shay Deloya
______________________________________
Software Developer
Jungo - R&D
email: shayd@jungo.com
web: http://www.jungo.com
Phone: 1-877-514-0537(USA) +972-9-8859365(Worldwide) ext. 221
Fax: 1-877-514-0538(USA) +972-9-8859366(Worldwide)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Insmod messages and modules space
2001-04-09 18:10 Insmod messages and modules space Shay Deloya
@ 2001-04-09 19:14 ` Ralf Baechle
2001-04-10 8:55 ` Ian Soanes
0 siblings, 1 reply; 5+ messages in thread
From: Ralf Baechle @ 2001-04-09 19:14 UTC (permalink / raw)
To: Shay Deloya; +Cc: 'linux-mips@oss.sgi.com'
On Mon, Apr 09, 2001 at 08:10:16PM +0200, Shay Deloya wrote:
> 1.Should text segment of module after insmod be in KSEG2 or KUSEG ?
> I've notices that the module address after insmod are c0... instead of 80...
> Is it insmod Bug ?
It's a sign of insmod working properly :)
> 2. I keep getting in insmod of busybox pkg , "relocation overflow" message
> especially on printk symbols , when I debug the code, changing some function
> declaration from static int func () to int func() , makes the module to
> insert correctly , anyone ?
Two possibilities, either you're using a too old and broken version of
modutils or you used inapropriate options to compile your module.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Insmod messages and modules space
2001-04-09 19:14 ` Ralf Baechle
@ 2001-04-10 8:55 ` Ian Soanes
2001-04-23 22:57 ` Keith Owens
0 siblings, 1 reply; 5+ messages in thread
From: Ian Soanes @ 2001-04-10 8:55 UTC (permalink / raw)
To: Ralf Baechle; +Cc: Shay Deloya, 'linux-mips@oss.sgi.com'
Ralf Baechle wrote:
>
> On Mon, Apr 09, 2001 at 08:10:16PM +0200, Shay Deloya wrote:
>
> > 1.Should text segment of module after insmod be in KSEG2 or KUSEG ?
> > I've notices that the module address after insmod are c0... instead of 80...
> > Is it insmod Bug ?
>
> It's a sign of insmod working properly :)
>
> > 2. I keep getting in insmod of busybox pkg , "relocation overflow" message
> > especially on printk symbols , when I debug the code, changing some function
> > declaration from static int func () to int func() , makes the module to
> > insert correctly , anyone ?
>
> Two possibilities, either you're using a too old and broken version of
> modutils or you used inapropriate options to compile your module.
>
Compiling with -mlong-calls worked for me when I had the same problem
(modutils 2.4.5). Relinking the module with 'ld -r -o new_mod.o
orig_mod.o' was useful too ...it worked around some 'exceeds
local_symtab_size' messages.
Ian
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Insmod messages and modules space
2001-04-10 8:55 ` Ian Soanes
@ 2001-04-23 22:57 ` Keith Owens
2001-04-24 8:22 ` Ian Soanes
0 siblings, 1 reply; 5+ messages in thread
From: Keith Owens @ 2001-04-23 22:57 UTC (permalink / raw)
To: Ian Soanes; +Cc: linux-mips
On Tue, 10 Apr 2001 09:55:16 +0100,
Ian Soanes <ians@lineo.com> wrote:
>> On Mon, Apr 09, 2001 at 08:10:16PM +0200, Shay Deloya wrote:
>> > 2. I keep getting in insmod of busybox pkg , "relocation overflow" message
>> > especially on printk symbols
>
>Compiling with -mlong-calls worked for me when I had the same problem
>(modutils 2.4.5).
Compiling what with -mlong-calls, modutils or the kernel modules? I
guess it must be the modules, in which case adding
MODFLAGS += -mlong-calls
in arch/$(ARCH)/Makefile is the best fix.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Insmod messages and modules space
2001-04-23 22:57 ` Keith Owens
@ 2001-04-24 8:22 ` Ian Soanes
0 siblings, 0 replies; 5+ messages in thread
From: Ian Soanes @ 2001-04-24 8:22 UTC (permalink / raw)
To: Keith Owens; +Cc: linux-mips
Keith Owens wrote:
>
> On Tue, 10 Apr 2001 09:55:16 +0100,
> Ian Soanes <ians@lineo.com> wrote:
> >> On Mon, Apr 09, 2001 at 08:10:16PM +0200, Shay Deloya wrote:
> >> > 2. I keep getting in insmod of busybox pkg , "relocation overflow" message
> >> > especially on printk symbols
> >
> >Compiling with -mlong-calls worked for me when I had the same problem
> >(modutils 2.4.5).
>
> Compiling what with -mlong-calls, modutils or the kernel modules? I
> guess it must be the modules, in which case adding
> MODFLAGS += -mlong-calls
> in arch/$(ARCH)/Makefile is the best fix.
Yes... the modules.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-04-24 8:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-09 18:10 Insmod messages and modules space Shay Deloya
2001-04-09 19:14 ` Ralf Baechle
2001-04-10 8:55 ` Ian Soanes
2001-04-23 22:57 ` Keith Owens
2001-04-24 8:22 ` Ian Soanes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox