From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1blp0189.outbound.protection.outlook.com [207.46.163.189]) by dpdk.org (Postfix) with ESMTP id 01CE0B377 for ; Fri, 11 Jul 2014 03:41:46 +0200 (CEST) Received: from BLUPR05CA005.namprd05.prod.outlook.com (10.255.219.163) by BL2PR05MB929.namprd05.prod.outlook.com (10.242.198.14) with Microsoft SMTP Server (TLS) id 15.0.985.8; Fri, 11 Jul 2014 01:42:11 +0000 Received: from BL2FFO11FD060.protection.gbl (2a01:111:f400:7c09::108) by BLUPR05CA005.outlook.office365.com (2a01:111:e400:83f::35) with Microsoft SMTP Server (TLS) id 15.0.980.8 via Frontend Transport; Fri, 11 Jul 2014 01:42:10 +0000 Received: from mx.danahertm.com (192.65.42.18) by BL2FFO11FD060.mail.protection.outlook.com (10.173.161.188) with Microsoft SMTP Server (TLS) id 15.0.980.11 via Frontend Transport; Fri, 11 Jul 2014 01:42:10 +0000 Received: from US-BV-EXH01-P.global.tektronix.net (128.181.11.14) by US-BV-EXE01-P.global.tektronix.net (128.181.15.45) with Microsoft SMTP Server (TLS) id 14.3.146.0; Thu, 10 Jul 2014 18:42:06 -0700 Received: from US-BV-EXM01-P.global.tektronix.net ([fe80::9c2d:8d3b:4ab3:6368]) by US-BV-EXH01-P.global.tektronix.net ([128.181.11.14]) with mapi id 14.03.0169.001; Thu, 10 Jul 2014 18:42:09 -0700 From: "Daniel, Christopher" To: Chris Wright Thread-Topic: [dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko Thread-Index: Ac+ciJCMdDLktBKASfeWfARAkgXEmQAQL/2A//+OYoqAAHcWAIAASHag Date: Fri, 11 Jul 2014 01:42:08 +0000 Message-ID: References: <20140710223107.GU29905@x220.localdomain> <20140710225042.GX29905@x220.localdomain> In-Reply-To: <20140710225042.GX29905@x220.localdomain> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.181.15.10] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.65.42.18; CTRY:US; IPV:NLI; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(448002)(189002)(199002)(24454002)(13464003)(51704005)(377454003)(74502001)(16796002)(110136001)(77982001)(107046002)(74662001)(85852003)(50986999)(80022001)(92726001)(85306003)(106466001)(95666004)(92566001)(54356999)(50466002)(77096002)(31966008)(46406003)(23726002)(76176999)(19580405001)(4396001)(46102001)(97756001)(44976005)(79102001)(83322001)(85326001)(19580395003)(21056001)(33656002)(83072002)(76482001)(2656002)(6806004)(20776003)(87936001)(99396002)(81342001)(93886003)(81542001)(64706001)(86362001)(55846006)(66066001)(22756004)(47776003); DIR:OUT; SFP:; SCL:1; SRVR:BL2PR05MB929; H:mx.danahertm.com; FPR:; MLV:sfv; PTR:mx.danahertm.com; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID: X-Forefront-PRVS: 02698DF457 Received-SPF: PermError (: domain of flukenetworks.com used an invalid SPF mechanism) Authentication-Results: spf=permerror (sender IP is 192.65.42.18) smtp.mailfrom=Chris.Daniel@flukenetworks.com; X-OriginatorOrg: flukenetworks.com 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: Fri, 11 Jul 2014 01:41:46 -0000 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=3Dy CONFIG_FTRACE_SYSCALLS=3Dy CONFIG_FTRACE_MCOUNT_RECORD=3Dy # CONFIG_FTRACE_STARTUP_TEST is not set -----Original Message----- From: Chris Wright [mailto:chrisw@redhat.com]=20 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" wrote: > > * Daniel, Christopher (Chris.Daniel@flukenetworks.com) wrote: > >> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST=20 > >> 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 yo= ur 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=20 > >> symbol in module > >>=20 > >> dmesg: > >> igb_uio: Unknown symbol __fentry__ (err 0) > >=20 > > seems like you have built module w/ CONFIG_FTRACE and built kernel=20 > > w/out. did you manually set RTE_KERNELDIR when you built (if so, is=20 > > it pointing to the right location?) >=20 > Actually I did not build the kernel. It is unmodified from the original c= entos 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 t= he 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