public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] wanrouter modprobe
Date: Thu, 07 Mar 2013 22:57:06 +0200	[thread overview]
Message-ID: <5138FF22.4060503@gmail.com> (raw)
In-Reply-To: <5138FE51.3040805@gmail.com>

On 07/03/2013 22:53, Daniel Frey wrote:
> On 03/07/2013 09:23 AM, Tamer Higazi wrote:
>> Hi people!
>> I have tried to install the latest release of wanpipe through the
>> freeswitch overlay, which I did so far successfully. Shortly I have
>> realised, that the "wanrouter" module is not loadable. When I try to
>> load it I get the following error:
>>
>> office / # modprobe wanrouter
>> modprobe: ERROR: could not insert 'wanrouter': Exec format error
>>
>>
>> What could it be?!
>>
> 
> It sounds like the kernel doesn't know how to run the binary. I don't
> have experience with this particular error, but maybe running
> 
> `file wanrouter.ko`
> 
> and checking to see what it says may be of help.
> 
> It should tell you what executable format it is using, then you'd need
> to cross-reference in the kernel .config to make sure you have support
> for that executable format compiled in.
> 
> Dan
> 

He should also check what dmesg says when modprobing the module, that
usually gives a clue.

An elementary Google search reveals that it's usually obvious things
like trying to load a module built for a different kernel version, or
trying to load a module that is not compatible with another one already
loaded.

-- 
Alan McKinnon
alan.mckinnon@gmail.com



  reply	other threads:[~2013-03-07 20:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 17:23 [gentoo-user] wanrouter modprobe Tamer Higazi
2013-03-07 20:53 ` Daniel Frey
2013-03-07 20:57   ` Alan McKinnon [this message]
2013-03-08 11:52     ` Tamer Higazi
2013-03-08 13:09       ` Alan McKinnon
2013-03-08 13:21         ` Tamer Higazi
2013-03-08 16:45         ` [gentoo-user] wanrouter modprobe [SOLVED] Tamer Higazi
2013-03-08 11:50   ` [gentoo-user] wanrouter modprobe Tamer Higazi

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=5138FF22.4060503@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox