Gentoo Archives: gentoo-user

From: Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Invalid module format
Date: Mon, 20 Aug 2012 10:38:11
Message-Id: 503212F4.5070004@fu-berlin.de
In Reply to: Re: [gentoo-user] Invalid module format by covici@ccs.covici.com
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On 20.08.2012 00:44, covici@××××××××××.com wrote:
5 > Tamer Higazi <th982a@××××××××××.com> wrote:
6 >
7 >> Hi people! I have installed through the freeswitch overlay, the
8 >> wanpipe package. What I figure out, that If I "modprobe" a
9 >> driver, I recevie this error: "Invalid module format"
10 >>
11 >> here is the output:
12 >>
13 >> tamer@office ~ $ sudo modprobe wanpipe Passwort: WARNING:
14 >> Deprecated config file /etc/modprobe.conf, all config files
15 >> belong into /etc/modprobe.d/. WARNING: Error inserting wanrouter
16 >> (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko):
17 >> Invalid module format FATAL: Error inserting wanpipe
18 >> (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko):
19 >> Invalid module format
20 >>
21 >>
22 >>
23 >> What does it have to mean? I am not getting smart.
24 >
25 > Usually, it means you have compiled a module which is not the same
26 > version as your running kernel -- make sure your /usr/src/linux is
27 > set correctly.
28 >
29 > Hope this helps.
30 >
31
32 You could also check for which kernel the module is compiled by
33 issuing modinfo <path-to-module>
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v2.0.19 (GNU/Linux)
36 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
37
38 iQEcBAEBAgAGBQJQMhLzAAoJEJwwOFaNFkYctSAH/1wTS1jX08LcGjSAs613UpCX
39 WqvDtT9rbrz1nhjabCdHOK7K9D0XPt0059lZ9Ii9EbSRL90T+VxAfBI2dJ8jEPmS
40 aeDSjXxpRwhTBn1/TTCSOv6bg8dyfocXqD+XuvzyuKqD1Ape6sq1/cFUJXDt78Ob
41 wYaYYUTFqduER/jSaeiVPlJMGy+tps1W7laTTOmoGTvht9xvhyn8yzpsCmG1MIMD
42 7kqhOX0ES6Wk0IEyIrv1aajsI9yXEn5HbWMxr+69vIp1sCnKgI9Qj3uY+GZzFMJ5
43 pTmP9V2tcwlQro3oX6kulT8hxykW1Y4ZVysdUoKcVbEG4IWzpXkeRnoy8P1hLJg=
44 =08l7
45 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Invalid module format Tamer Higazi <th982a@××××××××××.com>