From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5A063A04BC for ; Thu, 8 Oct 2020 19:46:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 33D8C1B677; Thu, 8 Oct 2020 19:46:36 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id B79C52B84 for ; Thu, 8 Oct 2020 19:46:34 +0200 (CEST) IronPort-SDR: xmg42FksXe9BsmGCF9NIrTGtdlJfcKFU3IUl6xzCPfseUrPhN8ITW7LHDEoJvtjQBXgfXDNCtd z//jGD/YFzDA== X-IronPort-AV: E=McAfee;i="6000,8403,9768"; a="162741217" X-IronPort-AV: E=Sophos;i="5.77,351,1596524400"; d="scan'208";a="162741217" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2020 10:46:13 -0700 IronPort-SDR: WaijvuBXCFnYGt23gOEk7FZYttP5Rdit9seirbSb+4OfdFBN/+f46GjlDcMWwM4dwvljL+QCEA 56VXCcmDfPPg== X-IronPort-AV: E=Sophos;i="5.77,351,1596524400"; d="scan'208";a="461887040" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.226.103]) ([10.213.226.103]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Oct 2020 10:46:11 -0700 To: Brandon Lo , ci@dpdk.org, "Chen, Zhaoyan" , "Tu, Lijuan" , "Xu, Qian Q" References: From: Ferruh Yigit Message-ID: <2a8add68-adad-7780-83be-324898a154a5@intel.com> Date: Thu, 8 Oct 2020 18:46:07 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-ci] Intel VFIO-PCI Driver Error -22 X-BeenThere: ci@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK CI discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ci-bounces@dpdk.org Sender: "ci" On 10/8/2020 5:51 PM, Brandon Lo wrote: > Hi everyone, > > I am having issues trying to bind both Intel Niantic and Fortville > NICs over to VFIO-PCI. > The machines are running Ubuntu 18.04 with kernel 4.15.0-55. > The dpdk-devbind.py tool outputs "Cannot bind to driver vfio-pci" and > "Cannot open /sys/bus/pci/drivers//unbind". > > The dmesg output contains "vfio-pci: probe of [PCI Address] failed > with error -22" whenever I try to bind it. > Both machines have "intel_iommu=on iommu=pt" in their kernel parameters. > Is 'Vt-d' enabled in the bios? What do you see under '/sys/kernel/iommu_groups/' folder?