From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 75A3F567E for ; Tue, 29 Mar 2016 18:26:56 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP; 29 Mar 2016 09:26:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,411,1455004800"; d="scan'208";a="934044242" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.51]) ([10.237.220.51]) by fmsmga001.fm.intel.com with ESMTP; 29 Mar 2016 09:26:54 -0700 To: Al Patel , "dev@dpdk.org" References: From: Ferruh Yigit Message-ID: <56FAACCD.6020909@intel.com> Date: Tue, 29 Mar 2016 17:26:53 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Issue with binding NIC of type 82545EM to dpdk 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: Tue, 29 Mar 2016 16:26:56 -0000 On 3/29/2016 3:11 PM, Al Patel wrote: > Hi, > > I am having an issue with binding a nic of type 82545EM to dpdk. I am using > a > fedoracore23 VM on MAC with VMFusion. > > ./dpdk_nic_bind.py -b uio_pci_generic 0000:02:02.0 > Error: bind failed for 0000:02:02.0 - Cannot bind to driver uio_pci_generic > Error: unbind failed for 0000:02:02.0 - Cannot open > /sys/bus/pci/drivers//unbind > > it is unbound from e1000, repeating the command: > > ./dpdk_nic_bind.py -b uio_pci_generic 0000:02:02.0 > Error: bind failed for 0000:02:02.0 - Cannot bind to driver uio_pci_generic > > I repeated the same test on a ubuntu vm running on Virtualbox with > NIC type 82450EM > > In this case, the device is able to bind successfully to uio_pci_generic > driver. > > There is a igb_uio module that present. The device cannot be bound to the > igb_uio > driver. Hi Al, You are trying to bind to the driver "uio_pci_generic" not to the "igb_uio", is it typo? If not, can you please double check if "uio_pci_generic" module inserted. Or bind device to "igb_uio": "./dpdk_nic_bind.py -b igb_uio 0000:02:02.0" Regards, ferruh