public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Invalid modules format?!
@ 2012-08-10 20:02 Tamer Higazi
  2012-08-10 21:04 ` Paul Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Tamer Higazi @ 2012-08-10 20:02 UTC (permalink / raw
  To: gentoo-user

Hi people!
I have installed "wanpipe" from freeswitch overlay, and figured after
long time out, that if I manually load the module "modprobe wanrouter",
I have the error on the screen:

WARNING: Deprecated config file /etc/modprobe.conf, all config files
belong into /etc/modprobe.d/.
FATAL: Error inserting wanrouter
(/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko): Invalid
module format


any ideas?!


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

* Re: [gentoo-user] Invalid modules format?!
  2012-08-10 20:02 [gentoo-user] Invalid modules format?! Tamer Higazi
@ 2012-08-10 21:04 ` Paul Hartman
  2012-08-11 18:45   ` Jesús J. Guerrero Botella
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Hartman @ 2012-08-10 21:04 UTC (permalink / raw
  To: gentoo-user

On Fri, Aug 10, 2012 at 3:02 PM, Tamer Higazi <th982a@googlemail.com> wrote:
> Hi people!
> I have installed "wanpipe" from freeswitch overlay, and figured after
> long time out, that if I manually load the module "modprobe wanrouter",
> I have the error on the screen:
>
> WARNING: Deprecated config file /etc/modprobe.conf, all config files
> belong into /etc/modprobe.d/.
> FATAL: Error inserting wanrouter
> (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko): Invalid
> module format
>
>
> any ideas?!

Check dmesg for clues printed when this happens. I guess usually it is
because of the module not compiled against the running kernel. You can
use the modinfo command to see what kernel version module file is
targeting.


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

* Re: [gentoo-user] Invalid modules format?!
  2012-08-10 21:04 ` Paul Hartman
@ 2012-08-11 18:45   ` Jesús J. Guerrero Botella
  0 siblings, 0 replies; 3+ messages in thread
From: Jesús J. Guerrero Botella @ 2012-08-11 18:45 UTC (permalink / raw
  To: gentoo-user

Use uname -r to check that the kernel version in that path matches the
kernel version you are running.

Also note that if you changed anything important in your kernel and
recompiled it you might need to recompile the external module as well.
What "important" means depends on the module itself, and the pieces of
the kernel it uses.

Also, always double check that the /usr/src/linux symlink is pointing
to the right kernel tree (the one that uname -r says you are running).
-- 
Jesús Guerrero Botella


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

end of thread, other threads:[~2012-08-11 18:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-10 20:02 [gentoo-user] Invalid modules format?! Tamer Higazi
2012-08-10 21:04 ` Paul Hartman
2012-08-11 18:45   ` Jesús J. Guerrero Botella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox