Gentoo Archives: gentoo-user

From: Tamer Higazi <th982a@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Invalid module format
Date: Mon, 20 Aug 2012 16:18:28
Message-Id: 5032625A.7080804@googlemail.com
In Reply to: Re: [gentoo-user] Invalid module format by Hinnerk van Bruinehsen
1 Hi Hinnerk!
2 I did what you say, now the magic issue comes, the kernel drivers ARE
3 BUILT for this kernel, here the modinfo output:
4
5 tamer@office ~ $ sudo modinfo
6 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
7 +filename: /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
8 license: GPL
9 description: Sangoma WANPIPE: WAN Multi-Protocol Driver
10 author: Nenad Corbic <ncorbic@×××××××.com>
11 depends: sdladrv,wanrouter
12 vermagic: 3.3.8-gentoo SMP mod_unload modversions
13 tamer@office ~ $ sudo modinfo
14 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanrouter.ko
15
16
17 tamer@office ~ $ sudo modinfo
18 /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko
19 filename: /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko
20 license: GPL
21 description: Sangoma WANPIPE: Proc & User Interface
22 author: Nenad Corbic <ncorbic@×××××××.com>
23 depends: sdladrv
24 vermagic: 3.3.8-gentoo SMP mod_unload modversions
25
26
27 tamer@office ~ $ sudo modprobe sdladrv
28 WARNING: Deprecated config file /etc/modprobe.conf, all config files
29 belong into /etc/modprobe.d/.
30 FATAL: Error inserting sdladrv
31 (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko): Invalid
32 module format
33 tamer@office ~ $ sudo modinfo
34 /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko
35 filename: /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko
36 license: GPL
37 description: Sangoma WANPIPE: HW Layer
38 author: Alex Feldman <al.feldman@×××××××.com>
39 depends:
40 vermagic: 3.3.8-gentoo SMP mod_unload modversions
41
42
43 I am running the 3.3.8 SMP kernel, and I don't know why he doesn't load
44 the modules. This is what droves me crazy about it....
45
46
47 any other ideas?!
48
49
50
51 Tamer
52
53
54 Am 20.08.2012 12:35, schrieb Hinnerk van Bruinehsen:
55 > On 20.08.2012 00:44, covici@××××××××××.com wrote:
56 >> Tamer Higazi <th982a@××××××××××.com> wrote:
57 >
58 >>> Hi people! I have installed through the freeswitch overlay, the
59 >>> wanpipe package. What I figure out, that If I "modprobe" a
60 >>> driver, I recevie this error: "Invalid module format"
61 >>>
62 >>> here is the output:
63 >>>
64 >>> tamer@office ~ $ sudo modprobe wanpipe Passwort: WARNING:
65 >>> Deprecated config file /etc/modprobe.conf, all config files
66 >>> belong into /etc/modprobe.d/. WARNING: Error inserting wanrouter
67 >>> (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko):
68 >>> Invalid module format FATAL: Error inserting wanpipe
69 >>> (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko):
70 >>> Invalid module format
71 >>>
72 >>>
73 >>>
74 >>> What does it have to mean? I am not getting smart.
75 >
76 >> Usually, it means you have compiled a module which is not the same
77 >> version as your running kernel -- make sure your /usr/src/linux is
78 >> set correctly.
79 >
80 >> Hope this helps.
81 >
82 >
83 > You could also check for which kernel the module is compiled by
84 > issuing modinfo <path-to-module>
85 >

Replies

Subject Author
Re: [gentoo-user] Invalid module format covici@××××××××××.com
Re: [gentoo-user] Invalid module format Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] Invalid module format Hinnerk van Bruinehsen <h.v.bruinehsen@×××××××××.de>