DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Daniel, Christopher" <Chris.Daniel@flukenetworks.com>
To: Chris Wright <chrisw@redhat.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko
Date: Fri, 11 Jul 2014 01:42:08 +0000	[thread overview]
Message-ID: <D0E429699C73204CBA370A634C2FC5FC43D5A7DF@US-BV-EXM01-P.global.tektronix.net> (raw)
In-Reply-To: <20140710225042.GX29905@x220.localdomain>

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

      reply	other threads:[~2014-07-11  1:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-10 21:53 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D0E429699C73204CBA370A634C2FC5FC43D5A7DF@US-BV-EXM01-P.global.tektronix.net \
    --to=chris.daniel@flukenetworks.com \
    --cc=chrisw@redhat.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).