-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20.08.2012 18:14, Tamer Higazi wrote: > 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?! > <SNIP> > >
I would try to recompile the kernel. You should also set the /usr/src/linux symlink accordingly (to your actual kernel sources). Reboot to machine after rebuilding the kernel and then rebuild the module itself. Maybe try - as Wonko stated in another mail - module versioning support. For the whole process make sure that you use a consistent toolchain (gcc, linux-headers, kernel-sources, glibc, binutils come to mind) WKR Hinnerk -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJQM1F5AAoJEJwwOFaNFkYcncMH/i3sUwg7Vdo82Olx45eemGNh i003wxAd/3I5Kr0jHK/1VTWnOb6mHIku1BJQRGUSMMCVelqyYVDFh4hO+DfNok17 hOYXY/sxCsgP0f3oMMZxb7W+6aoLfGtm2vDIOdkthp3+O4z+BTyjjq/ikyaHJtDp l+4xuHc1E0SYlUJf2JsBcKQjEWHmUNfCcZoratDjgghgNS9zYGNv3NJo7A1Bpx1N M3dwh2S2aL9bs5kqWARgX/zYdX5mJOrxjP5gxRc4xqNzBoQBEVsCMtbt89VtVV4A uZI/KqECQBm6kajbMMRR5ELbu2MkeyVXw6xhKqmZqkgsWhij5gZrARzUSmLA7No= =Qa3/ -----END PGP SIGNATURE-----