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 D2737A04BC for ; Thu, 8 Oct 2020 20:20:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C896A1B690; Thu, 8 Oct 2020 20:20:28 +0200 (CEST) Received: from mail-il1-f196.google.com (mail-il1-f196.google.com [209.85.166.196]) by dpdk.org (Postfix) with ESMTP id 67E081B677 for ; Thu, 8 Oct 2020 20:20:26 +0200 (CEST) Received: by mail-il1-f196.google.com with SMTP id o18so6694942ill.2 for ; Thu, 08 Oct 2020 11:20:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BcVYzmjTSs1ZnZAaPjVoZBXCjYXkmBmBKwakRB4DDPY=; b=cRy0GOLMsLljl440TM/8P7iidhwthhBJ5ZsQHwe1PICspKxo4UUw/7nXmq0sbFzciW 8IVvtog7hlOxbIBM/zOA3qyi9r60aq2OeBXlaJjLpNAB4CKGZ52VIQKY/eLHM8vLSOkp 83vyhR8LM6U+LU7NQAZ/lIXeNaCbGhe+NCtpc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BcVYzmjTSs1ZnZAaPjVoZBXCjYXkmBmBKwakRB4DDPY=; b=f64dLxr6znQP0O/cwlyXQTYmNWUclGIFHVfiN/P9ISJHhi901bAqhuSz//VFNklYXB JCl7tpATl6rVT51fWP8Eyv+qwNiSD8qUsB/GVCsJRAoD2OU17czXeQfgEOjWU7K2PbfG Gh/+R1TW8FQnh/j/V6hNenE+MQhF6QiNzksLZBErXWSUvYlqUrx4Lf+GzjdP259ssfIV I28YPXdT3PvNIcKK4Mqul7w4TTNRqNZhLEEEP0cUM5ue8RbTMe1Sf3dmRZyhLq6yYIph wuGKtIZWhvxKRMCC+56ZLWRgH4qURLqqjcNTjHMZzyl4KnqT9iUCAu1kE4QhAZO3xoqP Z9Hw== X-Gm-Message-State: AOAM53218PrE89+XH6njZE+p2tn0tMOAW3F5NqB2SN285Ov0nPQzvdNQ l6oazVUcWELo5SF4satdXyBzYulOceoBBuenIg1sMA== X-Google-Smtp-Source: ABdhPJzRiy6e5z8R/v8LlAylO7KDDdYDujm+gvmmJRjirJHZbeFKzAm0XEiTFTX4RXk4sfIczKMUULgzki4r39n72nw= X-Received: by 2002:a05:6e02:925:: with SMTP id o5mr7700153ilt.20.1602181224722; Thu, 08 Oct 2020 11:20:24 -0700 (PDT) MIME-Version: 1.0 References: <2a8add68-adad-7780-83be-324898a154a5@intel.com> In-Reply-To: <2a8add68-adad-7780-83be-324898a154a5@intel.com> From: Brandon Lo Date: Thu, 8 Oct 2020 14:19:50 -0400 Message-ID: To: Ferruh Yigit Cc: ci@dpdk.org, "Chen, Zhaoyan" , "Tu, Lijuan" , "Xu, Qian Q" Content-Type: text/plain; charset="UTF-8" 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" Thanks, I was not aware that the system had Vt-d disabled. On Thu, Oct 8, 2020 at 1:46 PM Ferruh Yigit wrote: > > 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? -- Brandon Lo UNH InterOperability Laboratory 21 Madbury Rd, Suite 100, Durham, NH 03824 blo@iol.unh.edu www.iol.unh.edu