Re: insmod problem

From: Benny Halevy
Date: Thu Sep 18 2008 - 15:28:38 EST


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@xxxxxxx > 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@xxxxxxx > 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@xxxxxxxxxxxxxxx
>>> 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Ðæå}îèçï&j:+våïçèzZ+âï+zfïçæîååiïîzïçãï?æçï&ï)æfæ^jèyîå@Açåï
> 0éhïéi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/