FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 08-10-2012, 09:04 PM
Paul Hartman
Default Invalid modules format?!

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
Old 08-11-2012, 06:45 PM
Jesús J. Guerrero Botella
Default Invalid modules format?!

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

Thread Tools

All times are GMT. The time now is 03:06 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org