From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 6D695B36E for ; Fri, 11 Jul 2014 00:50:19 +0200 (CEST) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6AMoiOB030495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Jul 2014 18:50:44 -0400 Received: from x220.localdomain ([10.3.113.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id s6AMohKO031131; Thu, 10 Jul 2014 18:50:43 -0400 Date: Thu, 10 Jul 2014 15:50:42 -0700 From: Chris Wright To: "Daniel, Christopher" Message-ID: <20140710225042.GX29905@x220.localdomain> References: <20140710223107.GU29905@x220.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2014 22:50:19 -0000 * Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote: > > On Jul 10, 2014, at 6:31 PM, "Chris Wright" 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