* [gentoo-user] wanrouter modprobe @ 2013-03-07 17:23 Tamer Higazi 2013-03-07 20:53 ` Daniel Frey 0 siblings, 1 reply; 8+ messages in thread From: Tamer Higazi @ 2013-03-07 17:23 UTC (permalink / raw To: gentoo-user Hi people! I have tried to install the latest release of wanpipe through the freeswitch overlay, which I did so far successfully. Shortly I have realised, that the "wanrouter" module is not loadable. When I try to load it I get the following error: office / # modprobe wanrouter modprobe: ERROR: could not insert 'wanrouter': Exec format error What could it be?! ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-07 17:23 [gentoo-user] wanrouter modprobe Tamer Higazi @ 2013-03-07 20:53 ` Daniel Frey 2013-03-07 20:57 ` Alan McKinnon 2013-03-08 11:50 ` [gentoo-user] wanrouter modprobe Tamer Higazi 0 siblings, 2 replies; 8+ messages in thread From: Daniel Frey @ 2013-03-07 20:53 UTC (permalink / raw To: gentoo-user On 03/07/2013 09:23 AM, Tamer Higazi wrote: > Hi people! > I have tried to install the latest release of wanpipe through the > freeswitch overlay, which I did so far successfully. Shortly I have > realised, that the "wanrouter" module is not loadable. When I try to > load it I get the following error: > > office / # modprobe wanrouter > modprobe: ERROR: could not insert 'wanrouter': Exec format error > > > What could it be?! > It sounds like the kernel doesn't know how to run the binary. I don't have experience with this particular error, but maybe running `file wanrouter.ko` and checking to see what it says may be of help. It should tell you what executable format it is using, then you'd need to cross-reference in the kernel .config to make sure you have support for that executable format compiled in. Dan ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-07 20:53 ` Daniel Frey @ 2013-03-07 20:57 ` Alan McKinnon 2013-03-08 11:52 ` Tamer Higazi 2013-03-08 11:50 ` [gentoo-user] wanrouter modprobe Tamer Higazi 1 sibling, 1 reply; 8+ messages in thread From: Alan McKinnon @ 2013-03-07 20:57 UTC (permalink / raw To: gentoo-user On 07/03/2013 22:53, Daniel Frey wrote: > On 03/07/2013 09:23 AM, Tamer Higazi wrote: >> Hi people! >> I have tried to install the latest release of wanpipe through the >> freeswitch overlay, which I did so far successfully. Shortly I have >> realised, that the "wanrouter" module is not loadable. When I try to >> load it I get the following error: >> >> office / # modprobe wanrouter >> modprobe: ERROR: could not insert 'wanrouter': Exec format error >> >> >> What could it be?! >> > > It sounds like the kernel doesn't know how to run the binary. I don't > have experience with this particular error, but maybe running > > `file wanrouter.ko` > > and checking to see what it says may be of help. > > It should tell you what executable format it is using, then you'd need > to cross-reference in the kernel .config to make sure you have support > for that executable format compiled in. > > Dan > He should also check what dmesg says when modprobing the module, that usually gives a clue. An elementary Google search reveals that it's usually obvious things like trying to load a module built for a different kernel version, or trying to load a module that is not compatible with another one already loaded. -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-07 20:57 ` Alan McKinnon @ 2013-03-08 11:52 ` Tamer Higazi 2013-03-08 13:09 ` Alan McKinnon 0 siblings, 1 reply; 8+ messages in thread From: Tamer Higazi @ 2013-03-08 11:52 UTC (permalink / raw To: gentoo-user Hi Alan, insmod wanrouter.ko tells me in dmesg: wanrouter: exports duplicate symbol register_wan_device (owned by kernel) what does this message mean here ??? Tamer Am 07.03.2013 21:57, schrieb Alan McKinnon: > On 07/03/2013 22:53, Daniel Frey wrote: >> On 03/07/2013 09:23 AM, Tamer Higazi wrote: >>> Hi people! >>> I have tried to install the latest release of wanpipe through the >>> freeswitch overlay, which I did so far successfully. Shortly I have >>> realised, that the "wanrouter" module is not loadable. When I try to >>> load it I get the following error: >>> >>> office / # modprobe wanrouter >>> modprobe: ERROR: could not insert 'wanrouter': Exec format error >>> >>> >>> What could it be?! >>> >> >> It sounds like the kernel doesn't know how to run the binary. I don't >> have experience with this particular error, but maybe running >> >> `file wanrouter.ko` >> >> and checking to see what it says may be of help. >> >> It should tell you what executable format it is using, then you'd need >> to cross-reference in the kernel .config to make sure you have support >> for that executable format compiled in. >> >> Dan >> > > He should also check what dmesg says when modprobing the module, that > usually gives a clue. > > An elementary Google search reveals that it's usually obvious things > like trying to load a module built for a different kernel version, or > trying to load a module that is not compatible with another one already > loaded. > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-08 11:52 ` Tamer Higazi @ 2013-03-08 13:09 ` Alan McKinnon 2013-03-08 13:21 ` Tamer Higazi 2013-03-08 16:45 ` [gentoo-user] wanrouter modprobe [SOLVED] Tamer Higazi 0 siblings, 2 replies; 8+ messages in thread From: Alan McKinnon @ 2013-03-08 13:09 UTC (permalink / raw To: gentoo-user On 08/03/2013 13:52, Tamer Higazi wrote: > Hi Alan, > insmod wanrouter.ko tells me in dmesg: > > > wanrouter: exports duplicate symbol register_wan_device (owned by kernel) It means your module is buggy and you can't use it. > > > what does this message mean here ??? > > > Tamer > > > Am 07.03.2013 21:57, schrieb Alan McKinnon: >> On 07/03/2013 22:53, Daniel Frey wrote: >>> On 03/07/2013 09:23 AM, Tamer Higazi wrote: >>>> Hi people! >>>> I have tried to install the latest release of wanpipe through the >>>> freeswitch overlay, which I did so far successfully. Shortly I have >>>> realised, that the "wanrouter" module is not loadable. When I try to >>>> load it I get the following error: >>>> >>>> office / # modprobe wanrouter >>>> modprobe: ERROR: could not insert 'wanrouter': Exec format error >>>> >>>> >>>> What could it be?! >>>> >>> >>> It sounds like the kernel doesn't know how to run the binary. I don't >>> have experience with this particular error, but maybe running >>> >>> `file wanrouter.ko` >>> >>> and checking to see what it says may be of help. >>> >>> It should tell you what executable format it is using, then you'd need >>> to cross-reference in the kernel .config to make sure you have support >>> for that executable format compiled in. >>> >>> Dan >>> >> >> He should also check what dmesg says when modprobing the module, that >> usually gives a clue. >> >> An elementary Google search reveals that it's usually obvious things >> like trying to load a module built for a different kernel version, or >> trying to load a module that is not compatible with another one already >> loaded. >> > > -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-08 13:09 ` Alan McKinnon @ 2013-03-08 13:21 ` Tamer Higazi 2013-03-08 16:45 ` [gentoo-user] wanrouter modprobe [SOLVED] Tamer Higazi 1 sibling, 0 replies; 8+ messages in thread From: Tamer Higazi @ 2013-03-08 13:21 UTC (permalink / raw To: gentoo-user Hi Alan! what means "owned by kernel" ???? I mean, this is a module that is running at all other distros, but not on the gentoo machine. Is there something I have builtin the kernel that I should propably leave out ??? Sangoma for sure wouldn't have released the module when it wouldn't have been successfully tested. Tamer Am 08.03.2013 14:09, schrieb Alan McKinnon: > On 08/03/2013 13:52, Tamer Higazi wrote: >> Hi Alan, >> insmod wanrouter.ko tells me in dmesg: >> >> >> wanrouter: exports duplicate symbol register_wan_device (owned by kernel) > > > It means your module is buggy and you can't use it. > > >> >> >> what does this message mean here ??? >> >> >> Tamer >> >> >> Am 07.03.2013 21:57, schrieb Alan McKinnon: >>> On 07/03/2013 22:53, Daniel Frey wrote: >>>> On 03/07/2013 09:23 AM, Tamer Higazi wrote: >>>>> Hi people! >>>>> I have tried to install the latest release of wanpipe through the >>>>> freeswitch overlay, which I did so far successfully. Shortly I have >>>>> realised, that the "wanrouter" module is not loadable. When I try to >>>>> load it I get the following error: >>>>> >>>>> office / # modprobe wanrouter >>>>> modprobe: ERROR: could not insert 'wanrouter': Exec format error >>>>> >>>>> >>>>> What could it be?! >>>>> >>>> >>>> It sounds like the kernel doesn't know how to run the binary. I don't >>>> have experience with this particular error, but maybe running >>>> >>>> `file wanrouter.ko` >>>> >>>> and checking to see what it says may be of help. >>>> >>>> It should tell you what executable format it is using, then you'd need >>>> to cross-reference in the kernel .config to make sure you have support >>>> for that executable format compiled in. >>>> >>>> Dan >>>> >>> >>> He should also check what dmesg says when modprobing the module, that >>> usually gives a clue. >>> >>> An elementary Google search reveals that it's usually obvious things >>> like trying to load a module built for a different kernel version, or >>> trying to load a module that is not compatible with another one already >>> loaded. >>> >> >> > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe [SOLVED] 2013-03-08 13:09 ` Alan McKinnon 2013-03-08 13:21 ` Tamer Higazi @ 2013-03-08 16:45 ` Tamer Higazi 1 sibling, 0 replies; 8+ messages in thread From: Tamer Higazi @ 2013-03-08 16:45 UTC (permalink / raw To: gentoo-user Hi Alan! Solved it!!! I recompiled the kernel, and unchecked the builtin option NET_WAN_ROUTER, which was previously set in the kernel config. After then, I rebuilt wanpipe from the scratch again, and then VOILAAA, IT WORKED!!!! Tamer Am 08.03.2013 14:09, schrieb Alan McKinnon: > On 08/03/2013 13:52, Tamer Higazi wrote: >> Hi Alan, >> insmod wanrouter.ko tells me in dmesg: >> >> >> wanrouter: exports duplicate symbol register_wan_device (owned by kernel) > > > It means your module is buggy and you can't use it. > > >> >> >> what does this message mean here ??? >> >> >> Tamer >> >> >> Am 07.03.2013 21:57, schrieb Alan McKinnon: >>> On 07/03/2013 22:53, Daniel Frey wrote: >>>> On 03/07/2013 09:23 AM, Tamer Higazi wrote: >>>>> Hi people! >>>>> I have tried to install the latest release of wanpipe through the >>>>> freeswitch overlay, which I did so far successfully. Shortly I have >>>>> realised, that the "wanrouter" module is not loadable. When I try to >>>>> load it I get the following error: >>>>> >>>>> office / # modprobe wanrouter >>>>> modprobe: ERROR: could not insert 'wanrouter': Exec format error >>>>> >>>>> >>>>> What could it be?! >>>>> >>>> >>>> It sounds like the kernel doesn't know how to run the binary. I don't >>>> have experience with this particular error, but maybe running >>>> >>>> `file wanrouter.ko` >>>> >>>> and checking to see what it says may be of help. >>>> >>>> It should tell you what executable format it is using, then you'd need >>>> to cross-reference in the kernel .config to make sure you have support >>>> for that executable format compiled in. >>>> >>>> Dan >>>> >>> >>> He should also check what dmesg says when modprobing the module, that >>> usually gives a clue. >>> >>> An elementary Google search reveals that it's usually obvious things >>> like trying to load a module built for a different kernel version, or >>> trying to load a module that is not compatible with another one already >>> loaded. >>> >> >> > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [gentoo-user] wanrouter modprobe 2013-03-07 20:53 ` Daniel Frey 2013-03-07 20:57 ` Alan McKinnon @ 2013-03-08 11:50 ` Tamer Higazi 1 sibling, 0 replies; 8+ messages in thread From: Tamer Higazi @ 2013-03-08 11:50 UTC (permalink / raw To: gentoo-user Hi Daniel! It tells me: wanrouter.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=0xc0b7c0d39ff6be2335b0317010649c8fff44d58d, not stripped what shoould I do know?! Tamer Am 07.03.2013 21:53, schrieb Daniel Frey: > On 03/07/2013 09:23 AM, Tamer Higazi wrote: >> Hi people! >> I have tried to install the latest release of wanpipe through the >> freeswitch overlay, which I did so far successfully. Shortly I have >> realised, that the "wanrouter" module is not loadable. When I try to >> load it I get the following error: >> >> office / # modprobe wanrouter >> modprobe: ERROR: could not insert 'wanrouter': Exec format error >> >> >> What could it be?! >> > > It sounds like the kernel doesn't know how to run the binary. I don't > have experience with this particular error, but maybe running > > `file wanrouter.ko` > > and checking to see what it says may be of help. > > It should tell you what executable format it is using, then you'd need > to cross-reference in the kernel .config to make sure you have support > for that executable format compiled in. > > Dan > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2013-03-08 16:45 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-03-07 17:23 [gentoo-user] wanrouter modprobe Tamer Higazi 2013-03-07 20:53 ` Daniel Frey 2013-03-07 20:57 ` Alan McKinnon 2013-03-08 11:52 ` Tamer Higazi 2013-03-08 13:09 ` Alan McKinnon 2013-03-08 13:21 ` Tamer Higazi 2013-03-08 16:45 ` [gentoo-user] wanrouter modprobe [SOLVED] Tamer Higazi 2013-03-08 11:50 ` [gentoo-user] wanrouter modprobe Tamer Higazi
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox