1 |
I set the sysmbolic link at the right direction, as well recompiled the |
2 |
entire kernel with the matched linux-headers. |
3 |
|
4 |
I have only 1 kernel, built with the same compiler I build the wanpipe |
5 |
module. |
6 |
|
7 |
|
8 |
Nividia Drivers are being compiled out of the box, and are running ou |
9 |
tof the box without errors. |
10 |
|
11 |
|
12 |
Am 21.08.2012 11:14, schrieb Hinnerk van Bruinehsen: |
13 |
> On 20.08.2012 18:14, Tamer Higazi wrote: |
14 |
>> Hi Hinnerk! I did what you say, now the magic issue comes, the |
15 |
>> kernel drivers ARE BUILT for this kernel, here the modinfo output: |
16 |
> |
17 |
>> tamer@office ~ $ sudo modinfo |
18 |
>> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko |
19 |
>> +filename: |
20 |
>> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko |
21 |
>> license: GPL description: Sangoma WANPIPE: WAN |
22 |
>> Multi-Protocol Driver author: Nenad Corbic |
23 |
>> <ncorbic@×××××××.com> depends: sdladrv,wanrouter vermagic: |
24 |
>> 3.3.8-gentoo SMP mod_unload modversions tamer@office ~ $ sudo |
25 |
>> modinfo |
26 |
>> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanrouter.ko |
27 |
> |
28 |
> |
29 |
>> tamer@office ~ $ sudo modinfo |
30 |
>> /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko |
31 |
>> filename: |
32 |
>> /lib/modules/3.3.8-gentoo/kernel/net/wanrouter/wanrouter.ko |
33 |
>> license: GPL description: Sangoma WANPIPE: Proc & User |
34 |
>> Interface author: Nenad Corbic <ncorbic@×××××××.com> |
35 |
>> depends: sdladrv vermagic: 3.3.8-gentoo SMP mod_unload |
36 |
>> modversions |
37 |
> |
38 |
> |
39 |
>> tamer@office ~ $ sudo modprobe sdladrv WARNING: Deprecated config |
40 |
>> file /etc/modprobe.conf, all config files belong into |
41 |
>> /etc/modprobe.d/. FATAL: Error inserting sdladrv |
42 |
>> (/lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko): |
43 |
>> Invalid module format tamer@office ~ $ sudo modinfo |
44 |
>> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko |
45 |
>> filename: |
46 |
>> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/sdladrv.ko |
47 |
>> license: GPL description: Sangoma WANPIPE: HW Layer |
48 |
>> author: Alex Feldman <al.feldman@×××××××.com> depends: |
49 |
>> vermagic: 3.3.8-gentoo SMP mod_unload modversions |
50 |
> |
51 |
> |
52 |
>> I am running the 3.3.8 SMP kernel, and I don't know why he doesn't |
53 |
>> load the modules. This is what droves me crazy about it.... |
54 |
> |
55 |
> |
56 |
>> any other ideas?! |
57 |
> |
58 |
> <SNIP> |
59 |
> |
60 |
> |
61 |
> |
62 |
> I would try to recompile the kernel. You should also set the |
63 |
> /usr/src/linux symlink accordingly (to your actual kernel sources). |
64 |
> Reboot to machine after rebuilding the kernel and then rebuild the |
65 |
> module itself. |
66 |
> Maybe try - as Wonko stated in another mail - module versioning support. |
67 |
> |
68 |
> For the whole process make sure that you use a consistent toolchain |
69 |
> (gcc, linux-headers, kernel-sources, glibc, binutils come to mind) |
70 |
> |
71 |
> WKR |
72 |
> Hinnerk |
73 |
> |