From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4EE46A0548 for ; Thu, 11 Aug 2022 16:56:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7B63427F2; Thu, 11 Aug 2022 16:56:28 +0200 (CEST) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id AB05F410FC for ; Thu, 11 Aug 2022 16:56:26 +0200 (CEST) Received: by mail-pj1-f54.google.com with SMTP id ha11so17908966pjb.2 for ; Thu, 11 Aug 2022 07:56:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc; bh=R5sgZTl1JpSnvXfCB/sNyxYH8ylTvO21RZCgbtXQwok=; b=qUbZUIFm2OQ6u2r5JOaEGLXhIhFDZ7P9YURSGgz6dTIvNXzx85vVfQnVuyn6b87ioK O5NY8N1jPpDxeBBgINn4b1F8PuEOHwbrmhwlrfFQl+bzqhwSnQ7qy+NPj4hBw7S0egvS yVyUMRcjNBJJfakQFb/D38MwKRSqF6X6HKmz8IgeNzZTJ7k3PqlmVGD2VS2lfKlxbNdn F6+cykYcphKvDl1aWMZbn1gXNT/w4e1KvWP9BaI//vN/W8JpUbGpUpXUHK2IfsKa5Kep +w5hrKXuYC1MzpYFD8hssHeds5m8UDQZMmc1ZwpDpFDMW5DV8oWjI1EaVAsBgMw5akOz luBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=R5sgZTl1JpSnvXfCB/sNyxYH8ylTvO21RZCgbtXQwok=; b=zr6yuGeT8S5VjDxdPu8DBxcn30rUTHx8RSt81wvtRCf+1l54LptOK6byfM5oksl8oq VH5wnyGJFLVXtLWiGDR6/JO/qoWiED7SQGCGiS6a5D9SjrCqKd5jmzSx1/6soseZfTBZ qZbwjWWo/lXSlnbN8dXk2rDRSQ94vdefiA7B285gYkzwhLw++VeWDEEzaaIsAXfgLtmb EawMulopEO7+ZlozLwy2SM1y3Zj//a+iVgm+uLdg8ourUqYXb08JPWfGpP3issiIz5LO APcN8QVh4QfH3RyV/i9b12zRk0Tjn8VCO5BIFacdNdGvEE9DL50IQdPZ5VMZKtVwmeh8 NPLQ== X-Gm-Message-State: ACgBeo0prUMcm3PLcTvp0Avs5Wsujcl1Q3WCCMPuKOdbO82/U/wT+Qhq qRC7cawlovuzdn9QOmBNukYh/5IVDFUUOA== X-Google-Smtp-Source: AA6agR7QLdhNBC9MbZWrNgB5JHjHg+BJsGCSU6C2qq6vfc7Q7PZkx3GhlKi/eQigl1z5LGZkYOwWkw== X-Received: by 2002:a17:90b:3c0a:b0:1f4:fe95:c426 with SMTP id pb10-20020a17090b3c0a00b001f4fe95c426mr9153573pjb.108.1660229785455; Thu, 11 Aug 2022 07:56:25 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id l17-20020a170902f69100b0016a091eb88esm15112279plg.126.2022.08.11.07.56.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Aug 2022 07:56:25 -0700 (PDT) Date: Thu, 11 Aug 2022 07:56:23 -0700 From: Stephen Hemminger To: sysman@scaled.cloud Cc: users@dpdk.org Subject: Re: Error: bind failed for 0000:02:04.0 - Cannot bind to driver uio_pci_generic: [Errno 19] No such device Message-ID: <20220811075623.3db13703@hermes.local> In-Reply-To: <7c0b92cb55fdd3b4a46973e2b5bc5fca@scaled.cloud> References: <99e01fff837b85c1126ef0a235078fc3@scaled.cloud> <20220810065525.204e1901@hermes.local> <20220810071938.2882f3dd@hermes.local> <7c0b92cb55fdd3b4a46973e2b5bc5fca@scaled.cloud> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Thu, 11 Aug 2022 12:00:22 +0300 sysman@scaled.cloud wrote: > Hello! > > I tried to use uio_pci_generic instead of VFIO : > > root@devuan4-sysman:~# lsmod | grep uio > uio_pci_generic 16384 0 > igb_uio 20480 0 > uio 20480 2 igb_uio,uio_pci_generic > root@devuan4-sysman:~# > > > root@devuan4-sysman:~# dpdk-devbind.py -s > > Network devices using DPDK-compatible driver > ============================================ > 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic > 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic > 0000:02:07.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > drv=igb_uio unused=e1000,vfio-pci,uio_pci_generic > > Other Network devices > ===================== > 0000:02:04.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' > unused=e1000,igb_uio,vfio-pci,uio_pci_generic > > > root@devuan4-sysman:~# dpdk-devbind.py -b uio_pci_generic 0000:02:04.0 > Error: bind failed for 0000:02:04.0 - Cannot bind to driver > uio_pci_generic: [Errno 19] No such device > > > Please, help me to resolve this problem. Check kernel dmesg log, there maybe a better message waiting there. Note: igb_uio and uio_pci_generic may not be compatiable with each other. Since this looks like a 4 port NIC card, you may have issues. Internally the for card has a PCI bridge. Looking at PCI topology with lspci may give some insight.