All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@panasas.com>
To: Bily <hsssss1111@163.com>
Cc: mal reddy y <malreddy.linux@gmail.com>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: insmod problem
Date: Thu, 18 Sep 2008 14:13:51 -0500	[thread overview]
Message-ID: <48D2A86F.7060606@panasas.com> (raw)
In-Reply-To: <200809180844577188539@163.com>

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

  reply	other threads:[~2008-09-18 19:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-16  7:15 insmod problem 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 message]
  -- 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
2005-01-25  4:46 Muruganandam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48D2A86F.7060606@panasas.com \
    --to=bhalevy@panasas.com \
    --cc=hsssss1111@163.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=malreddy.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.