From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Patel Subject: Re: Issue with binding NIC of type 82545EM to dpdk Date: Tue, 29 Mar 2016 13:14:17 -0400 Message-ID: References: <56FAACCD.6020909@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: "dev@dpdk.org" To: Ferruh Yigit Return-path: Received: from mail-qg0-f52.google.com (mail-qg0-f52.google.com [209.85.192.52]) by dpdk.org (Postfix) with ESMTP id 04AA7530F for ; Tue, 29 Mar 2016 19:14:18 +0200 (CEST) Received: by mail-qg0-f52.google.com with SMTP id n34so9387898qge.1 for ; Tue, 29 Mar 2016 10:14:17 -0700 (PDT) In-Reply-To: <56FAACCD.6020909@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Ferruh, On my fedora23, I don't have igb_uio # modprobe igb_uio modprobe: FATAL: Module igb_uio not found in directory /lib/modules/4.4.6-300.fc23.x86_64 I am trying to bind to uio_pci_generic module thx -a On Tue, Mar 29, 2016 at 12:26 PM, Ferruh Yigit wrote: > 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 > >