From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.46.186]) by dpdk.org (Postfix) with ESMTP id 85C757E80 for ; Wed, 22 Oct 2014 20:34:19 +0200 (CEST) Received: by mail.mhcomputing.net (Postfix, from userid 1000) id 1663480C50B; Wed, 22 Oct 2014 11:41:41 -0700 (PDT) Date: Wed, 22 Oct 2014 11:41:41 -0700 From: Matthew Hall To: "Gonzalez Monroy, Sergio" Message-ID: <20141022184140.GA10424@mhcomputing.net> References: <20141014054523.GA16919@mhcomputing.net> <20141014060353.GA17053@mhcomputing.net> <20141014063406.GA17242@mhcomputing.net> <91383E96CE459D47BCE92EFBF5CE73B0C7E467@IRSMSX108.ger.corp.intel.com> <3CCF4B14-58A7-4499-98A1-8D617A6F86B7@mhcomputing.net> <91383E96CE459D47BCE92EFBF5CE73B0C7E4E4@IRSMSX108.ger.corp.intel.com> <20141017085649.GA4210@mhcomputing.net> <91383E96CE459D47BCE92EFBF5CE73B0C7F8B4@IRSMSX108.ger.corp.intel.com> <20141022071753.GB6051@mhcomputing.net> <91383E96CE459D47BCE92EFBF5CE73B0C7FD90@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91383E96CE459D47BCE92EFBF5CE73B0C7FD90@IRSMSX108.ger.corp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] virtio UIO / PMD issues in default Ubuntu Cloud Images 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: Wed, 22 Oct 2014 18:34:19 -0000 On Wed, Oct 22, 2014 at 03:20:40PM +0000, Gonzalez Monroy, Sergio wrote: > You are not forced to use shared libraries. This module loads successfully > with an app (testpmd) built against static DPDK libs. It sounds like it just requires additional options as mentioned later in your mail. We should document the recommended set of link flags for static and dynamic link w/ DPDK for apps, as it seems to cause issues for everybody making non-example DPDK apps. I've seen several threads about it since joining the mailing list a few months back. Maybe it is documented already but I didn't see it. I'm willing to write it up but somebody will have to help verify I got it right. > I have reproduced this issue in VirtualBox: > > - For UIO Virtio PMD, there is an issue with igb_uio module and virtio vbox > backend device, I fail to bind igb_uio driver to the virtio device. > > - For non-UIO Virtio PMD, the module fails to initialize properly as you > have indicated in your previous post (stuck in a loop). > > I get this behavior with testpmd regardless of DPDK being built as static or > shared. THANK YOU!!! I am so glad to hear I'm not crazy and it really does not work. So... back to the Supported NICs page. Right not it claims VirtualBox is supported but 2 people have seen that it doesn't work at all with either driver. Is it intended to be supported configuration or not? If it is intended to be supported can we find someone who can help us fix the bugs? It's not code I know much about. If it is not intended to work on VBox can we delete it from the documentation so nobody besides me and you and the other guy in 2013 waste more time trying to use it if it wasn't supposed to work in the first place? > Your undefined symbol error is most likely because the symbol is not in the > dynamic symbol table of you app. You need to pass -rdynamic to GCC or > -export-dynamic to LD when building your app. Good advice. I'll try it and see. Of course it won't fix the infinite loop though so the driver still won't help much even with the change present. > Thanks, > Sergio Thanks to you for help verifying / reproducing / identifying the issues. Matthew.