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 0574DA0C4B for ; Thu, 14 Oct 2021 21:20:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 91BB940041; Thu, 14 Oct 2021 21:20:34 +0200 (CEST) Received: from frogstar.hit.bme.hu (frogstar.hit.bme.hu [152.66.248.44]) by mails.dpdk.org (Postfix) with ESMTP id 49A1A4003C for ; Thu, 14 Oct 2021 21:20:33 +0200 (CEST) Received: from [192.168.1.146] (host-79-121-40-197.kabelnet.hu [79.121.40.197]) (authenticated bits=0) by frogstar.hit.bme.hu (8.15.2/8.15.2) with ESMTPSA id 19EJKPGC026887 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Thu, 14 Oct 2021 21:20:30 +0200 (CEST) (envelope-from lencse@hit.bme.hu) X-Authentication-Warning: frogstar.hit.bme.hu: Host host-79-121-40-197.kabelnet.hu [79.121.40.197] claimed to be [192.168.1.146] Subject: DPDK version 16.x -- Re: DPDK 20.11/CentOS7.9, first run -> *FAILED* To: users@dpdk.org References: From: =?UTF-8?Q?G=c3=a1bor_LENCSE?= Message-ID: <53f2a162-f21c-c92c-f2c5-988ae35f6f66@hit.bme.hu> Date: Thu, 14 Oct 2021 21:20:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.103.2 at frogstar.hit.bme.hu X-Virus-Status: Clean Received-SPF: pass (frogstar.hit.bme.hu: authenticated connection) receiver=frogstar.hit.bme.hu; client-ip=79.121.40.197; helo=[192.168.1.146]; envelope-from=lencse@hit.bme.hu; x-software=spfmilter 2.001 http://www.acme.com/software/spfmilter/ with libspf2-1.2.10; X-DCC--Metrics: frogstar.hit.bme.hu; whitelist X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,AWL,TW_PD,TW_VF autolearn=disabled version=3.4.1-frogstar X-Spam-Checker-Version: SpamAssassin 3.4.1-frogstar (2015-04-28) on frogstar.hit.bme.hu X-Scanned-By: MIMEDefang 2.79 on 152.66.248.44 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 Dear David, I still use also DPDK 16 (exactly 16.11.11-1+deb9u2 included in Debian 9), and I have been locked in this version, because I can not compile my project under DPDK 18 (included in Debian 10). I  would be very happy if you (or someone else) could advise me. My problem description can be found here: http://mails.dpdk.org/archives/users/2021-July/005692.html Best regards, Gábor 10/14/2021 8:45 PM keltezéssel, David Marchand írta: > On Thu, Oct 14, 2021 at 1:37 PM Ruslan R. Laishev wrote: >> Since >> http://doc.dpdk.org/guides-16.04/linux_gsg/quick_start.html#linux-setup-script > I am surprised to see you are using a 16.04 version. > > I recommend using the latest LTS, i.e. 20.11. > For this version, the quick start guide is > https://doc.dpdk.org/guides-20.11/linux_gsg/index.html > > >> refer to nonexistent SETUP.SH, i walking over the docs an do steps to >> unsure that DPDK is working at all after installation. >> >> So: >> >> >> [root@sysman ~]# sudo modprobe uio_pci_generic >> [ 1084.673269] Generic UIO driver for PCI 2.3 devices version: 0.01.0 >> >> [root@sysman ~]# sudo modprobe vfio-pci >> [ 1118.429157] VFIO - User Level meta-driver version: 0.3 >> >> [root@sysman ~]# dpdk-devbind.py -s >> >> Network devices using kernel driver >> =================================== >> 0000:02:01.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' >> if=ens33 drv=e1000 unused=vfio-pci,uio_pci_generic *Active* >> 0000:02:05.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' >> if=ens37 drv=e1000 unused=vfio-pci,uio_pci_generic >> 0000:02:06.0 '82545EM Gigabit Ethernet Controller (Copper) 100f' >> if=ens38 drv=e1000 unused=vfio-pci,uio_pci_generic >> >> [root@sysman ~]# dpdk-devbind.py --bind=vfio-pci ens37 >> Error: bind failed for 0000:02:05.0 - Cannot bind to driver vfio-pci >> Error: unbind failed for 0000:02:05.0 - Cannot open >> /sys/bus/pci/drivers//unbind >> >> [ 1215.157980] vfio-pci: probe of 0000:02:05.0 failed with error -22 >> [ 1215.164317] vfio-pci: probe of 0000:02:05.0 failed with error -22 > If your server has a iommu, you probably did not configure it. > If you don't have such hw, you need no-iommu support. > > https://doc.dpdk.org/guides-20.11/linux_gsg/linux_drivers.html#troubleshooting-vfio > >