From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 230F61F3 for ; Thu, 10 Oct 2013 14:58:39 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2013 05:59:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,1071,1371106800"; d="scan'208";a="408838953" Received: from cccressen-mobl3.ger.corp.intel.com (HELO debian) ([10.237.220.72]) by fmsmga001.fm.intel.com with ESMTP; 10 Oct 2013 05:59:15 -0700 Date: Thu, 10 Oct 2013 13:59:14 +0100 From: Cyril Cressent To: Prashant Upadhyaya Message-ID: <20131010125914.GB18366@debian> Mail-Followup-To: Prashant Upadhyaya , "dev@dpdk.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Problem in DPDK1.4 controlling 82599 ixgbe NICS with Fedora 19 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 Oct 2013 12:58:40 -0000 Hi Prashant, On Thu, Oct 10, 2013 at 10:53:56AM +0530, Prashant Upadhyaya wrote: > I am using DPDK1.4 with Fedora 19 [I am aware that DPDK1.4 release notes do not claim Fedora 19 as supported, but I tried nevertheless and reporting this issue] Which kernel version are you running? > Now I try to unbind these ports so that they can be controlled by DPDK. (I load the igb_uio ofcourse as usual) > Now I first unbind the port represented by p1p1, this works and DPDK takes over this port. > > However, now when I try to unbind the p1p2, it gives the following error > > [root@localhost DPDK]# ./tools/pci_unbind.py --bind=igb_uio p1p2 > Error: bind failed for 0000:01:00.1 - Cannot bind to driver igb_uio > Error: unbind failed for 0000:01:00.1 - Cannot open /sys/bus/pci/drivers//unbind > > I cannot unbind any other ports either. > > The one port which is unbound works fine with DPDK application without issues. > > So the question is, why are the other ports giving issues ? I need to know the kernel version your Fedora 19 is running on to confirm, but if I'm not mistaken it's a UIO bug that is preventing devices after the first one bound to register properly. We are aware of the issue and have a workaround for it. Give me your Fedora 19 kernel version so I can double check if the workaround applies or if the problem is caused by something else. > The same machine works with Fedora18 properly and is able to unbind all the 4 ports. Again, which kernel version is that Fedora 18 running on? Cyril -------------------------------------------------------------- Intel Shannon Limited Registered in Ireland Registered Office: Collinstown Industrial Park, Leixlip, County Kildare Registered Number: 308263 Business address: Dromore House, East Park, Shannon, Co. Clare This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.