[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <48D2A86F.7060606@panasas.com>
Date: Thu, 18 Sep 2008 14:13:51 -0500
From: Benny Halevy <bhalevy@...asas.com>
To: Bily <hsssss1111@....com>
CC: mal reddy y <malreddy.linux@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: insmod problem
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@....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@....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@...r.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Ф.洝塄}财爖�&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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists