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 0016EA0C4B for ; Thu, 14 Oct 2021 20:45:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E1CF04067C; Thu, 14 Oct 2021 20:45:45 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 7117440041 for ; Thu, 14 Oct 2021 20:45:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634237144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tseWkgiVukrxqwsY71PHLGiP6y/WtJPOUAXzMk13Lqk=; b=ivP9HmR000p2I6fRi+WGLpUsBtDt9LLdfUiQDCuFAZUsw0tUEq0lKWP8QOsUbPkIpaS8Es EM8Nepd9UoP+rUaXmBmXsZcW0IdI/8YRmCbB9gy1vm9K/ydQItgFZXQH2+ZfYB1SDMQKyw ADotQnpE7yp8UdQVFTRaLum/dSfyuRc= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-536-wMn-5LPVNhm5P1rK9CcA1Q-1; Thu, 14 Oct 2021 14:45:40 -0400 X-MC-Unique: wMn-5LPVNhm5P1rK9CcA1Q-1 Received: by mail-lf1-f69.google.com with SMTP id o5-20020ac24c45000000b003fd932e4642so4960701lfk.14 for ; Thu, 14 Oct 2021 11:45:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tseWkgiVukrxqwsY71PHLGiP6y/WtJPOUAXzMk13Lqk=; b=Xh0u2LPGMWMhnJp/KA+gsocd4277kB1eTiJmIjWtEOgo61BJlnu6V4P4VE3tWAbq/r CuIxUrEFh9jyEfdkaJ/FWhfU1Wg2gizlV/pd7l+Zz2oFJ8CE/GI206rBnJysjfCd1bK4 qq2JwHzmWJrxPcFKdI2ibix1UeWIZJiayCT5fSFLL17wgcG5DGCJS+surn0ET1Si/jP8 9D3ln3gqHgw6lvRhy6xwb5niKfoxM6bfDqXRAQVrERlfqJK3ZWpDFuKqbbmfoqq5XcjU RBKX/4m65MqvOurN88sLTiu2syFAQqVoMpYfX0hTBr7vfFPZwtHIyiOccWwzs66ie4Y8 P7Dw== X-Gm-Message-State: AOAM533d38t481Oo1YIe/z3+QSjpgPcXASz3RWeouLUW8G/oL0lnf/1p TAhl2AUwJbstaaNXzFLoJs5dh4oQYoPwyrBgpcW4MwGf51xhbcF/rUpY1YKx5BAQ8FPKr2LzG9X GTqQql8jzjf2OUBtZnZz5sA== X-Received: by 2002:a2e:8e34:: with SMTP id r20mr7751511ljk.333.1634237139097; Thu, 14 Oct 2021 11:45:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0T++6ohLkMvMNPlvl4TBG3nFzer4vZHHnWOqoxgg+n0JlJn6UtPpiJVOt2OmMiPU0BronC9jOkVeEgjdHFKc= X-Received: by 2002:a2e:8e34:: with SMTP id r20mr7751473ljk.333.1634237138832; Thu, 14 Oct 2021 11:45:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Thu, 14 Oct 2021 20:45:27 +0200 Message-ID: Subject: Re: DPDK 20.11/CentOS7.9, first run -> *FAILED* To: "Ruslan R. Laishev" Cc: users Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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, 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 -- David Marchand