Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] wanrouter modprobe
Date: Fri, 08 Mar 2013 13:11:31
Message-Id: 5139E2F6.8020805@gmail.com
In Reply to: Re: [gentoo-user] wanrouter modprobe by Tamer Higazi
1 On 08/03/2013 13:52, Tamer Higazi wrote:
2 > Hi Alan,
3 > insmod wanrouter.ko tells me in dmesg:
4 >
5 >
6 > wanrouter: exports duplicate symbol register_wan_device (owned by kernel)
7
8
9 It means your module is buggy and you can't use it.
10
11
12 >
13 >
14 > what does this message mean here ???
15 >
16 >
17 > Tamer
18 >
19 >
20 > Am 07.03.2013 21:57, schrieb Alan McKinnon:
21 >> On 07/03/2013 22:53, Daniel Frey wrote:
22 >>> On 03/07/2013 09:23 AM, Tamer Higazi wrote:
23 >>>> Hi people!
24 >>>> I have tried to install the latest release of wanpipe through the
25 >>>> freeswitch overlay, which I did so far successfully. Shortly I have
26 >>>> realised, that the "wanrouter" module is not loadable. When I try to
27 >>>> load it I get the following error:
28 >>>>
29 >>>> office / # modprobe wanrouter
30 >>>> modprobe: ERROR: could not insert 'wanrouter': Exec format error
31 >>>>
32 >>>>
33 >>>> What could it be?!
34 >>>>
35 >>>
36 >>> It sounds like the kernel doesn't know how to run the binary. I don't
37 >>> have experience with this particular error, but maybe running
38 >>>
39 >>> `file wanrouter.ko`
40 >>>
41 >>> and checking to see what it says may be of help.
42 >>>
43 >>> It should tell you what executable format it is using, then you'd need
44 >>> to cross-reference in the kernel .config to make sure you have support
45 >>> for that executable format compiled in.
46 >>>
47 >>> Dan
48 >>>
49 >>
50 >> He should also check what dmesg says when modprobing the module, that
51 >> usually gives a clue.
52 >>
53 >> An elementary Google search reveals that it's usually obvious things
54 >> like trying to load a module built for a different kernel version, or
55 >> trying to load a module that is not compatible with another one already
56 >> loaded.
57 >>
58 >
59 >
60
61
62 --
63 Alan McKinnon
64 alan.mckinnon@×××××.com

Replies

Subject Author
Re: [gentoo-user] wanrouter modprobe Tamer Higazi <th982a@××××××××××.com>
Re: [gentoo-user] wanrouter modprobe [SOLVED] Tamer Higazi <th982a@××××××××××.com>