Gentoo Archives: gentoo-user

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