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 20:40:01
Message-Id: 5033F0B5.3030103@googlemail.com
In Reply to: Re: [gentoo-user] Invalid module format by Alex Schuster
1 I even use the same headers for gentoo-3.3.8 (linux-headers-3.3),
2 recompiled the entire kernel and rebooted.
3
4 And the same nonsense....
5
6 Am 21.08.2012 09:53, schrieb Alex Schuster:
7 > Tamer Higazi writes:
8 >
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:
15 >> /lib/modules/3.3.8-gentoo/kernel/drivers/net/wan/wanpipe.ko
16 >> license: GPL
17 >> description: Sangoma WANPIPE: WAN Multi-Protocol Driver
18 >> author: Nenad Corbic <ncorbic@×××××××.com>
19 >> depends: sdladrv,wanrouter
20 >> vermagic: 3.3.8-gentoo SMP mod_unload modversions
21 >
22 > Does modinfo say exactly the same for another, regular kernel module you
23 > compiled when building the kernel?
24 >
25 >> I am running the 3.3.8 SMP kernel, and I don't know why he doesn't load
26 >> the modules. This is what droves me crazy about it....
27 >>
28 >> any other ideas?!
29 >
30 > Did you use the same compiler version for building the kernel and for
31 > wanpipe?
32 >
33 > Maybe enabling CONFIG_MODVERSIONS in your kernel will help (Enable
34 > loadable module support --> Module versioning support), but I doubt it.
35 >
36 > Wonko
37 >