1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On 20.08.2012 18:14, Tamer Higazi wrote: |
5 |
> Hi Hinnerk! I did what you say, now the magic issue comes, the |
6 |
> kernel drivers ARE BUILT for this kernel, here the modinfo output: |
7 |
> |
8 |
> tamer@office ~ $ sudo modinfo |
9 |
> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko |
10 |
> +filename: |
11 |
> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko |
12 |
> license: GPL description: Sangoma WANPIPE: WAN |
13 |
> Multi-Protocol Driver author: Nenad Corbic |
14 |
> <ncorbic@×××××××.com> depends: sdladrv,wanrouter vermagic: |
15 |
> 3.3.8-gentoo SMP mod_unload modversions tamer@office ~ $ sudo |
16 |
> modinfo |
17 |
> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanrouter.ko |
18 |
> |
19 |
> |
20 |
> tamer@office ~ $ sudo modinfo |
21 |
> /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko |
22 |
> filename: |
23 |
> /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko |
24 |
> license: GPL description: Sangoma WANPIPE: Proc & User |
25 |
> Interface author: Nenad Corbic <ncorbic@×××××××.com> |
26 |
> depends: sdladrv vermagic: 3.3.8-gentoo SMP mod_unload |
27 |
> modversions |
28 |
> |
29 |
> |
30 |
> tamer@office ~ $ sudo modprobe sdladrv WARNING: Deprecated config |
31 |
> file /etc/modprobe.conf, all config files belong into |
32 |
> /etc/modprobe.d/. FATAL: Error inserting sdladrv |
33 |
> (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko): |
34 |
> Invalid module format tamer@office ~ $ sudo modinfo |
35 |
> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko |
36 |
> filename: |
37 |
> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko |
38 |
> license: GPL description: Sangoma WANPIPE: HW Layer |
39 |
> author: Alex Feldman <al.feldman@×××××××.com> 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 |
44 |
> load the modules. This is what droves me crazy about it.... |
45 |
> |
46 |
> |
47 |
> any other ideas?! |
48 |
> |
49 |
<SNIP> |
50 |
> |
51 |
> |
52 |
|
53 |
I would try to recompile the kernel. You should also set the |
54 |
/usr/src/linux symlink accordingly (to your actual kernel sources). |
55 |
Reboot to machine after rebuilding the kernel and then rebuild the |
56 |
module itself. |
57 |
Maybe try - as Wonko stated in another mail - module versioning support. |
58 |
|
59 |
For the whole process make sure that you use a consistent toolchain |
60 |
(gcc, linux-headers, kernel-sources, glibc, binutils come to mind) |
61 |
|
62 |
WKR |
63 |
Hinnerk |
64 |
-----BEGIN PGP SIGNATURE----- |
65 |
Version: GnuPG v2.0.19 (GNU/Linux) |
66 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ |
67 |
|
68 |
iQEcBAEBAgAGBQJQM1F5AAoJEJwwOFaNFkYcncMH/i3sUwg7Vdo82Olx45eemGNh |
69 |
i003wxAd/3I5Kr0jHK/1VTWnOb6mHIku1BJQRGUSMMCVelqyYVDFh4hO+DfNok17 |
70 |
hOYXY/sxCsgP0f3oMMZxb7W+6aoLfGtm2vDIOdkthp3+O4z+BTyjjq/ikyaHJtDp |
71 |
l+4xuHc1E0SYlUJf2JsBcKQjEWHmUNfCcZoratDjgghgNS9zYGNv3NJo7A1Bpx1N |
72 |
M3dwh2S2aL9bs5kqWARgX/zYdX5mJOrxjP5gxRc4xqNzBoQBEVsCMtbt89VtVV4A |
73 |
uZI/KqECQBm6kajbMMRR5ELbu2MkeyVXw6xhKqmZqkgsWhij5gZrARzUSmLA7No= |
74 |
=Qa3/ |
75 |
-----END PGP SIGNATURE----- |