Gentoo Archives: gentoo-user

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

Replies

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