From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by dpdk.org (Postfix) with ESMTP id 66A2937B4 for ; Tue, 29 Mar 2016 16:11:35 +0200 (CEST) Received: by mail-yw0-f178.google.com with SMTP id g127so19070736ywf.2 for ; Tue, 29 Mar 2016 07:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=3pLep6LmR77dmvX4wstwbSVQbSNVjxcQYRbrIMJt3m4=; b=SgpsYrNDY51DjqzVQ6vaAkbc4x8EsXejko2yAmqORh0p3B7Oly81G1XMW10SUXCrof nsr2yci4c2uAZgqCO8HAmu6rOZckbbYf/W5vhLy6jnosH+R9Gi/ktGQ9O6xYIGqZE67M 1nocQoPT5s6lreG/k/Cmr2TLLY3MAedD5zvlVjeYA6nb43OYbQhCA84ccErCJn3O2RZy nyGhtTRxOC8gY7r3c9NB9zknO4CN8zi4KPVkKI2XsJ6nC2PYJEsJolYfD3BrWpBZlP9V T6GLVw1bxrU+jS958fHFyUZcaScWMXg/5xUASsziKC91zApecE4ZdnRMJ9nMBZBsUL8a B6NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=3pLep6LmR77dmvX4wstwbSVQbSNVjxcQYRbrIMJt3m4=; b=KCicKk6GXwDdCXvlgrnresicMrA6Y/oBoZsi7MCrsoCTHA18j1s87+VFmEz6jw8SY9 O8JCVy0cuiVqj/xsv/IwZ2NuTea1PINvsrqRCkUXMPZ4TRl+tE7Hl7oM2rlfwKEb6Jlm I37NQEKANW5kD0HEICsePURXHD5N/NIXgE9jHywXpR1dZ6eLc6igeWUTUELIennEcPY0 fhzXfszoI9tncvt8FAVHQtH3My/tn6GNcXuY7ZyWIMYDg1V9hp2v6hrqrDcruDt9fJIy xaKiYFAX3FQqLGX0lpNc83mdYCoE1Sdvx9dc5kXYEf7hjaYk6avw0LRTLtHH1cQNhiFm B2Bw== X-Gm-Message-State: AD7BkJKPhmQKRlOfvkmiJtMWEKpsqTWJciA6TdepC9IBEPb2S11pjEBfOqBHAOLLJPurISg9Gm9qE/ejXUhPhw== MIME-Version: 1.0 X-Received: by 10.37.230.209 with SMTP id d200mr1095330ybh.149.1459260694760; Tue, 29 Mar 2016 07:11:34 -0700 (PDT) Received: by 10.13.229.194 with HTTP; Tue, 29 Mar 2016 07:11:34 -0700 (PDT) Date: Tue, 29 Mar 2016 10:11:34 -0400 Message-ID: From: Al Patel To: "dev@dpdk.org" , Al Patel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [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 14:11:35 -0000 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. My question is that why is the device being able to be bound to uio_pci_generic driver on ubuntu and not on fedoracore? (Albeit on fedora device is 82545EM and on ubuntu it is 82540EM). Both these are reported as tested by Intel: =E2=80=A2 Emulated Intel=C2=AE 82540EM Gigabit Ethernet Controller [8086:10= 0e] =E2=80=A2 Emulated Intel=C2=AE 82545EM Gigabit Ethernet Controller [8086:10= 0f] http://www.intel.com/content/dam/www/public/us/en/documents/release-notes/d= pdk-release-notes.pdf Are there any debugs to collect that can shed some light? Details: # lspci -v -s 02:02.0 02:02.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01) DeviceName: Ethernet1 Subsystem: VMware PRO/1000 MT Single Port Adapter Physical Slot: 34 Flags: 66MHz, medium devsel Memory at fd5a0000 (64-bit, non-prefetchable) [size=3D128K] Memory at fdfe0000 (64-bit, non-prefetchable) [size=3D64K] I/O ports at 2040 [size=3D64] [virtual] Expansion ROM at fd510000 [disabled] [size=3D64K] Capabilities: [dc] Power Management version 2 Capabilities: [e4] PCI-X non-bridge device Kernel modules: e1000 Thx -a