Hi Hinnerk!
I did what you say, now the magic issue comes, the kernel drivers ARE
BUILT for this kernel, here the modinfo output:

tamer@office ~ $ sudo modinfo
/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
+filename:       /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
license:        GPL
description:    Sangoma WANPIPE: WAN Multi-Protocol Driver
author:         Nenad Corbic <ncor...@sangoma.com>
depends:        sdladrv,wanrouter
vermagic:       3.3.8-gentoo SMP mod_unload modversions
tamer@office ~ $ sudo modinfo
/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanrouter.ko


tamer@office ~ $ sudo modinfo
/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko
filename:       /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko
license:        GPL
description:    Sangoma WANPIPE: Proc & User Interface
author:         Nenad Corbic <ncor...@sangoma.com>
depends:        sdladrv
vermagic:       3.3.8-gentoo SMP mod_unload modversions


tamer@office ~ $ sudo modprobe sdladrv
WARNING: Deprecated config file /etc/modprobe.conf, all config files
belong into /etc/modprobe.d/.
FATAL: Error inserting sdladrv
(/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko): Invalid
module format
tamer@office ~ $ sudo modinfo
/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko
filename:       /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko
license:        GPL
description:    Sangoma WANPIPE: HW Layer
author:         Alex Feldman <al.feld...@sangoma.com>
depends:
vermagic:       3.3.8-gentoo SMP mod_unload modversions


I am running the 3.3.8 SMP kernel, and I don't know why he doesn't load
the modules. This is what droves me crazy about it....


any other ideas?!



Tamer


Am 20.08.2012 12:35, schrieb Hinnerk van Bruinehsen:
> On 20.08.2012 00:44, cov...@ccs.covici.com wrote:
>> Tamer Higazi <th9...@googlemail.com> wrote:
> 
>>> Hi people! I have installed through the freeswitch overlay, the
>>> wanpipe package. What I figure out, that If I "modprobe" a
>>> driver, I recevie this error: "Invalid module format"
>>>
>>> here is the output:
>>>
>>> tamer@office ~ $ sudo modprobe wanpipe Passwort: WARNING:
>>> Deprecated config file /etc/modprobe.conf, all config files 
>>> belong into /etc/modprobe.d/. WARNING: Error inserting wanrouter 
>>> (/lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko):
>>> Invalid module format FATAL: Error inserting wanpipe 
>>> (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko):
>>> Invalid module format
>>>
>>>
>>>
>>> What does it have to mean? I am not getting smart.
> 
>> Usually, it means you have compiled a module which is not the same 
>> version as your running kernel -- make sure your /usr/src/linux is
>> set correctly.
> 
>> Hope this helps.
> 
> 
> You could also check for which kernel the module is compiled by
> issuing modinfo <path-to-module>
> 


Reply via email to