All of lore.kernel.org
 help / color / mirror / Atom feed
* insmod problem
@ 2005-01-25  4:46 Muruganandam
  0 siblings, 0 replies; 9+ messages in thread
From: Muruganandam @ 2005-01-25  4:46 UTC (permalink / raw)
  To: linux-kernel

When i execute the command insmod module.o ,its giving the eror version 
mismatch.i am using the kernel 2.4.21-4.el.but it says 2.4.20.what is 
the problem.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* insmod problem
@ 2005-05-13 12:33 Marco Schramel
  2005-05-13 12:46 ` Pantelis Antoniou
  0 siblings, 1 reply; 9+ messages in thread
From: Marco Schramel @ 2005-05-13 12:33 UTC (permalink / raw)
  To: PPC_LINUX

Hi,

we use a custom mpc8270 system. Everything works fine.
Now i have to handle some float values in a device driver. If i insert the compiled module my target prints out 

insmod: unresolved symbol __addsf3
insmod: unresolved symbol __floatsisf

Are there any missing libraries ?

Any other ideas?

Best regards

Marco


-- 
---------
Marco Schramel

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2005-05-13 12:33 Marco Schramel
@ 2005-05-13 12:46 ` Pantelis Antoniou
  2005-05-13 13:14   ` Mark Chambers
  0 siblings, 1 reply; 9+ messages in thread
From: Pantelis Antoniou @ 2005-05-13 12:46 UTC (permalink / raw)
  To: Marco Schramel; +Cc: PPC_LINUX

Marco Schramel wrote:
> Hi,
> 
> we use a custom mpc8270 system. Everything works fine.
> Now i have to handle some float values in a device driver. If i insert the compiled module my target prints out 
> 
> insmod: unresolved symbol __addsf3
> insmod: unresolved symbol __floatsisf
> 
> Are there any missing libraries ?
> 
> Any other ideas?
> 
> Best regards
> 
> Marco
> 
> 

You're using floating arithmetic in the kernel.

That's not supported.

Regards

Pantelis

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2005-05-13 12:46 ` Pantelis Antoniou
@ 2005-05-13 13:14   ` Mark Chambers
  2005-05-13 13:46     ` Kumar Gala
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Chambers @ 2005-05-13 13:14 UTC (permalink / raw)
  To: Pantelis Antoniou; +Cc: PPC_LINUX

>
>
> You're using floating arithmetic in the kernel.
>
> That's not supported.
>
> Regards
>
> Pantelis
>

Just for my edification:  Is floating point itself not supported (floating
point register
corruption or something like that) or just linking to user space libraries?

Mark Chambers

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2005-05-13 13:14   ` Mark Chambers
@ 2005-05-13 13:46     ` Kumar Gala
  0 siblings, 0 replies; 9+ messages in thread
From: Kumar Gala @ 2005-05-13 13:46 UTC (permalink / raw)
  To: Mark Chambers; +Cc: PPC_LINUX


On May 13, 2005, at 8:14 AM, Mark Chambers wrote:

> >
>  >
>  > You're using floating arithmetic in the kernel.
>  >
>  > That's not supported.
>  >
>  > Regards
>  >
>  > Pantelis
>  >
>
> Just for my edification:=A0 Is floating point itself not supported=20
> (floating
>  point register
>  corruption or something like that) or just linking to user space=20
> libraries?

Use of floating point registers and instructions.  Its possible to use=20=

FP in rare cases inside the kernel buts its extremely discouraged.

- kumar

^ permalink raw reply	[flat|nested] 9+ messages in thread

* insmod problem
@ 2008-09-16  7:15 Bily
  2008-09-17  8:19 ` mal reddy y
  0 siblings, 1 reply; 9+ messages in thread
From: Bily @ 2008-09-16  7:15 UTC (permalink / raw)
  To: linux-kernel

hi,all;
    I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:

[\u@\h \W]$insmod yaffs.ko 
yaffs: unknown relocation: 40
insmod: cannot insert 'yaffs.ko': invalid module format

and my busybox version is v1.11.1; may anyone tell me why ?thanks!


Bily
2008-09-13



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2008-09-17  8:27   ` Bily
@ 2008-09-17  8:11     ` Benny Halevy
  2008-09-18  0:44       ` Bily
  0 siblings, 1 reply; 9+ messages in thread
From: Benny Halevy @ 2008-09-17  8:11 UTC (permalink / raw)
  To: Bily; +Cc: mal reddy y, linux-kernel

Can you please provide your .config file?
I'm mostly curious about
CONFIG_MODVERSIONS
CONFIG_MODULE_FORCE_LOAD

Benny

On Sep. 17, 2008, 3:27 -0500, "Bily" <hsssss1111@163.com> wrote:
> I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler  arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
> 
> [\u@\h \W]$insmod yaffs.ko
> yaffs: unknown relocation: 40
> insmod: cannot insert 'yaffs.ko': invalid module format
> 
> thanks for help!~
> 
> 
> 
> 
> 
> Bily
> 2008-09-17
> 
> 
> 
> 发件人: mal reddy y
> 发送时间: 2008-09-17 16:19:52
> 收件人: Bily
> 抄送: linux-kernel
> 主题: Re: insmod problem
> 
> give clear explanation how you have installed
> 
> regards,
> YMR
> 
> On Tue, Sep 16, 2008 at 12:45 PM, Bily  <hsssss1111@163.com > wrote:
>> hi,all;
>>    I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:
>>
>> [\u@\h \W]$insmod yaffs.ko
>> yaffs: unknown relocation: 40
>> insmod: cannot insert 'yaffs.ko': invalid module format
>>
>> and my busybox version is v1.11.1; may anyone tell me why ?thanks!
>>
>>
>> Bily
>> 2008-09-13
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at  http://www.tux.org/lkml/
>>
> N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ\x17洝塄}财爖�&j:+v墾�\a珣赙zZ+€�+zf"穐殘啳嗃i�z�\x1e畐ア�?櫒璀�&�)撷^[f旟^j谦y呩@A玜囤\x7f�\f0鹅h�\x0f鍜i\x7f


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2008-09-16  7:15 Bily
@ 2008-09-17  8:19 ` mal reddy y
  2008-09-17  8:27   ` Bily
  0 siblings, 1 reply; 9+ messages in thread
From: mal reddy y @ 2008-09-17  8:19 UTC (permalink / raw)
  To: Bily; +Cc: linux-kernel

give clear explanation how you have installed

regards,
YMR

On Tue, Sep 16, 2008 at 12:45 PM, Bily <hsssss1111@163.com> wrote:
> hi,all;
>    I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:
>
> [\u@\h \W]$insmod yaffs.ko
> yaffs: unknown relocation: 40
> insmod: cannot insert 'yaffs.ko': invalid module format
>
> and my busybox version is v1.11.1; may anyone tell me why ?thanks!
>
>
> Bily
> 2008-09-13
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: insmod problem
  2008-09-18  0:44       ` Bily
@ 2008-09-18 19:13         ` Benny Halevy
  0 siblings, 0 replies; 9+ messages in thread
From: Benny Halevy @ 2008-09-18 19:13 UTC (permalink / raw)
  To: Bily; +Cc: mal reddy y, linux-kernel

Bily wrote:
> hi,Benny
>     here is my kernel2.6.26.2 .config file; and both the CONFIG_MODVERSIONS and CONFIG_MODULE_FORCE_LOAD is not set.thanks!~

OK.  These should be fine.

This seems to be the culprit:
>> yaffs: unknown relocation: 40

It indicates that apply_relocate() is failing with -ENOEXEC
where it doesn't know the r_info code "40".
It could be a problem with your cross-platform linker.

Benny

> 
> 
> 
> Bily
> 2008-09-18
> 
> 
> 
> 发件人: Benny Halevy
> 发送时间: 2008-09-17 21:11:54
> 收件人: Bily
> 抄送: mal reddy y; linux-kernel
> 主题: Re: insmod problem
> 
> Can you please provide your .config file?
> I'm mostly curious about
> CONFIG_MODVERSIONS
> CONFIG_MODULE_FORCE_LOAD
> 
> Benny
> 
> On Sep. 17, 2008, 3:27 -0500, "Bily"  <hsssss1111@163.com > wrote:
>> I am installing the linux kernel 2.6.26.2 to my AT91rm9200;I compile the kernel by using cross compiler  arm-none-eabi-gcc (Sourcery G++ Lite 2008q1-126); and the kernel can run on AT91rm9200 normally;howerver if i want to insert modules into kernel ,it happen the mistake like this:
>>
>> [\u@\h \W]$insmod yaffs.ko
>> yaffs: unknown relocation: 40
>> insmod: cannot insert 'yaffs.ko': invalid module format
>>
>> thanks for help!~
>>
>>
>>
>>
>>
>> Bily
>> 2008-09-17
>>
>>
>>
>> 发件人: mal reddy y
>> 发送时间: 2008-09-17 16:19:52
>> 收件人: Bily
>> 抄送: linux-kernel
>> 主题: Re: insmod problem
>>
>> give clear explanation how you have installed
>>
>> regards,
>> YMR
>>
>> On Tue, Sep 16, 2008 at 12:45 PM, Bily   <hsssss1111@163.com  > wrote:
>>> hi,all;
>>>    I want to insert an module:yaffs.ko into my kernel2.6.26,but i meet this question:
>>>
>>> [\u@\h \W]$insmod yaffs.ko
>>> yaffs: unknown relocation: 40
>>> insmod: cannot insert 'yaffs.ko': invalid module format
>>>
>>> and my busybox version is v1.11.1; may anyone tell me why ?thanks!
>>>
>>>
>>> Bily
>>> 2008-09-13
>>>
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>> Please read the FAQ at  http://www.tux.org/lkml/
>>>
>> N嫥叉靣笡y氊b瞂千v豝�)藓{.n�+壏{睉赙zXФ\x17洝塄}财爖�&j:+v墾�\a珣赙zZ+€�+zf"穐殘啳嗃i�z�\x1e畐ア�?櫒璀�&�)撷^[f旟^j谦y呩@A玜囤\x7f�
> 0鹅h�\x0f鍜i\x7f

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-09-18 19:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-25  4:46 insmod problem Muruganandam
  -- strict thread matches above, loose matches on Subject: below --
2005-05-13 12:33 Marco Schramel
2005-05-13 12:46 ` Pantelis Antoniou
2005-05-13 13:14   ` Mark Chambers
2005-05-13 13:46     ` Kumar Gala
2008-09-16  7:15 Bily
2008-09-17  8:19 ` mal reddy y
2008-09-17  8:27   ` Bily
2008-09-17  8:11     ` Benny Halevy
2008-09-18  0:44       ` Bily
2008-09-18 19:13         ` Benny Halevy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.