* [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
@ 2014-07-10 21:53 Daniel, Christopher
2014-07-10 22:08 ` Jeff Shaw
2014-07-10 22:31 ` Chris Wright
0 siblings, 2 replies; 7+ messages in thread
From: Daniel, Christopher @ 2014-07-10 21:53 UTC (permalink / raw)
To: dev
All,
I have the following configuration on my machine
Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos
1) Downloaded the latest version of DPK ( 1.7);
2) Executing the quick start instructions ( running gcc 4.7.x)
3) Having an issue with
# insmod build/kmod/igb_uio.ko
I am getting
insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
dmesg:
igb_uio: Unknown symbol __fentry__ (err 0)
Please let me know what I'm missing.
Thanks
Chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 21:53 [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko Daniel, Christopher
@ 2014-07-10 22:08 ` Jeff Shaw
2014-07-10 22:12 ` Daniel, Christopher
2014-07-10 22:31 ` Chris Wright
1 sibling, 1 reply; 7+ messages in thread
From: Jeff Shaw @ 2014-07-10 22:08 UTC (permalink / raw)
To: Daniel, Christopher; +Cc: dev
On Thu, Jul 10, 2014 at 09:53:20PM +0000, Daniel, Christopher wrote:
> 3) Having an issue with
> # insmod build/kmod/igb_uio.ko
>
> I am getting
>
> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
>
> dmesg:
> igb_uio: Unknown symbol __fentry__ (err 0)
>
Did you 'modprobe uio'?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 22:08 ` Jeff Shaw
@ 2014-07-10 22:12 ` Daniel, Christopher
0 siblings, 0 replies; 7+ messages in thread
From: Daniel, Christopher @ 2014-07-10 22:12 UTC (permalink / raw)
To: Jeff Shaw; +Cc: dev
Yes I did modprobe uio. I can see it listed with lsmod.
[root@localhost dpdk-1.7.0]# lsmod
Module Size Used by
uio 10343 0
nfnetlink_queue 11564 0
nfnetlink_log 9334 0
nfnetlink 5742 2 nfnetlink_queue,nfnetlink_log
bluetooth 371110 0
rfkill 20113 1 bluetooth
nls_utf8 1389 1
-----Original Message-----
From: Jeff Shaw [mailto:jeffrey.b.shaw@intel.com]
Sent: Thursday, July 10, 2014 6:09 PM
To: Daniel, Christopher
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
On Thu, Jul 10, 2014 at 09:53:20PM +0000, Daniel, Christopher wrote:
> 3) Having an issue with
> # insmod build/kmod/igb_uio.ko
>
> I am getting
>
> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
>
> dmesg:
> igb_uio: Unknown symbol __fentry__ (err 0)
>
Did you 'modprobe uio'?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 21:53 [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko Daniel, Christopher
2014-07-10 22:08 ` Jeff Shaw
@ 2014-07-10 22:31 ` Chris Wright
2014-07-10 22:44 ` Daniel, Christopher
1 sibling, 1 reply; 7+ messages in thread
From: Chris Wright @ 2014-07-10 22:31 UTC (permalink / raw)
To: Daniel, Christopher; +Cc: dev
* Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
> All,
>
> I have the following configuration on my machine
>
> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos
>
>
> 1) Downloaded the latest version of DPK ( 1.7);
>
>
> 2) Executing the quick start instructions ( running gcc 4.7.x)
>
>
>
> 3) Having an issue with
>
>
>
> # insmod build/kmod/igb_uio.ko
>
> I am getting
>
> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
>
> dmesg:
> igb_uio: Unknown symbol __fentry__ (err 0)
seems like you have built module w/ CONFIG_FTRACE and built kernel
w/out. did you manually set RTE_KERNELDIR when you built (if so, is it
pointing to the right location?)
thanks,
-chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 22:31 ` Chris Wright
@ 2014-07-10 22:44 ` Daniel, Christopher
2014-07-10 22:50 ` Chris Wright
0 siblings, 1 reply; 7+ messages in thread
From: Daniel, Christopher @ 2014-07-10 22:44 UTC (permalink / raw)
To: Chris Wright; +Cc: dev
Actually I did not build the kernel. It is unmodified from the original centos download.
I also did not change any build parameters while building the module.
Used all the defaults from the download and executed the commands as in the quick start guide.
Is there something I can change and rebuild the dpk module ?
Thanks for your help
> On Jul 10, 2014, at 6:31 PM, "Chris Wright" <chrisw@redhat.com> wrote:
>
> * Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
>> All,
>>
>> I have the following configuration on my machine
>>
>> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos
>>
>>
>> 1) Downloaded the latest version of DPK ( 1.7);
>>
>>
>> 2) Executing the quick start instructions ( running gcc 4.7.x)
>>
>>
>>
>> 3) Having an issue with
>>
>>
>>
>> # insmod build/kmod/igb_uio.ko
>>
>> I am getting
>>
>> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
>>
>> dmesg:
>> igb_uio: Unknown symbol __fentry__ (err 0)
>
> seems like you have built module w/ CONFIG_FTRACE and built kernel
> w/out. did you manually set RTE_KERNELDIR when you built (if so, is it
> pointing to the right location?)
>
> thanks,
> -chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 22:44 ` Daniel, Christopher
@ 2014-07-10 22:50 ` Chris Wright
2014-07-11 1:42 ` Daniel, Christopher
0 siblings, 1 reply; 7+ messages in thread
From: Chris Wright @ 2014-07-10 22:50 UTC (permalink / raw)
To: Daniel, Christopher; +Cc: dev
* Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
> > On Jul 10, 2014, at 6:31 PM, "Chris Wright" <chrisw@redhat.com> wrote:
> > * Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
> >> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos
OK, I expected to see a suffix like 3.12.6.el...(why I assumed you built
your own kernel)
> >> 1) Downloaded the latest version of DPK ( 1.7);
> >> 2) Executing the quick start instructions ( running gcc 4.7.x)
> >> 3) Having an issue with
> >> # insmod build/kmod/igb_uio.ko
> >> I am getting
> >> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module
> >>
> >> dmesg:
> >> igb_uio: Unknown symbol __fentry__ (err 0)
> >
> > seems like you have built module w/ CONFIG_FTRACE and built kernel
> > w/out. did you manually set RTE_KERNELDIR when you built (if so, is it
> > pointing to the right location?)
>
> Actually I did not build the kernel. It is unmodified from the original centos download.
> I also did not change any build parameters while building the module.
> Used all the defaults from the download and executed the commands as in the quick start guide.
> Is there something I can change and rebuild the dpk module ?
Hmm, you could verify a couple things:
$ uname -r
$ grep __fentry__ /proc/kallsyms
$ grep CONFIG_FTRACE /lib/modules/$(uname -r)/build/.config
thanks,
-chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
2014-07-10 22:50 ` Chris Wright
@ 2014-07-11 1:42 ` Daniel, Christopher
0 siblings, 0 replies; 7+ messages in thread
From: Daniel, Christopher @ 2014-07-11 1:42 UTC (permalink / raw)
To: Chris Wright; +Cc: dev
Chris,
Here is what I verified...
>> $ uname -r
3.12.6
>> $ grep __fentry__ /proc/kallsyms
Nothing found here.
>> $ grep CONFIG_FTRACE /lib/modules/$(uname -r)/build/.config
CONFIG_FTRACE=y
CONFIG_FTRACE_SYSCALLS=y
CONFIG_FTRACE_MCOUNT_RECORD=y
# CONFIG_FTRACE_STARTUP_TEST is not set
-----Original Message-----
From: Chris Wright [mailto:chrisw@redhat.com]
Sent: Thursday, July 10, 2014 6:51 PM
To: Daniel, Christopher
Cc: Chris Wright; dev@dpdk.org
Subject: Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
* Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
> > On Jul 10, 2014, at 6:31 PM, "Chris Wright" <chrisw@redhat.com> wrote:
> > * Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote:
> >> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST
> >> 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos
OK, I expected to see a suffix like 3.12.6.el...(why I assumed you built your own kernel)
> >> 1) Downloaded the latest version of DPK ( 1.7);
> >> 2) Executing the quick start instructions ( running gcc 4.7.x)
> >> 3) Having an issue with
> >> # insmod build/kmod/igb_uio.ko I am getting
> >> insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown
> >> symbol in module
> >>
> >> dmesg:
> >> igb_uio: Unknown symbol __fentry__ (err 0)
> >
> > seems like you have built module w/ CONFIG_FTRACE and built kernel
> > w/out. did you manually set RTE_KERNELDIR when you built (if so, is
> > it pointing to the right location?)
>
> Actually I did not build the kernel. It is unmodified from the original centos download.
> I also did not change any build parameters while building the module.
> Used all the defaults from the download and executed the commands as in the quick start guide.
> Is there something I can change and rebuild the dpk module ?
Hmm, you could verify a couple things:
$ uname -r
$ grep __fentry__ /proc/kallsyms
$ grep CONFIG_FTRACE /lib/modules/$(uname -r)/build/.config
thanks,
-chris
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-07-11 1:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-10 21:53 [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko Daniel, Christopher
2014-07-10 22:08 ` Jeff Shaw
2014-07-10 22:12 ` Daniel, Christopher
2014-07-10 22:31 ` Chris Wright
2014-07-10 22:44 ` Daniel, Christopher
2014-07-10 22:50 ` Chris Wright
2014-07-11 1:42 ` Daniel, Christopher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).