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 79DD8A04BC for ; Thu, 8 Oct 2020 20:30:46 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 74CA81B6F3; Thu, 8 Oct 2020 20:30:45 +0200 (CEST) Received: from mail-io1-f65.google.com (mail-io1-f65.google.com [209.85.166.65]) by dpdk.org (Postfix) with ESMTP id AE80D1B65F for ; Thu, 8 Oct 2020 20:30:43 +0200 (CEST) Received: by mail-io1-f65.google.com with SMTP id d20so7326281iop.10 for ; Thu, 08 Oct 2020 11:30:43 -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=azJ0plz6IFWjoLL4gaB0qMZwMlAEBVMjxwhuQfCiwAc=; b=cO9P8qAm6QFCllfcAQvulVjJQO00vvBflZbokejQoVVOe4nAkDI5/Y1RHVRNXkdKrE OqE/kt49Pl+BxKBKvfauFvAs02fEjAEJKGnrxnUCEWl6Pzlak8HOE6pufhweuNGqhbNy MAwC6VVcaJQ+/yj9rR07gYQPou29wPyE84uDk= 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=azJ0plz6IFWjoLL4gaB0qMZwMlAEBVMjxwhuQfCiwAc=; b=Qu7KN7BxGKRFduiU6gcEbuUTr96Sri5S+jH8dGHFK9aDZGR/+sjQmNwiYTc16APtEr sh4ldvUzywHQMrzm/2n+vVFJwer7mc5eg7LPHxkhBDj4qzjP+2oNeGd7yNozzEcEIGj0 kcnERFC7Zz6aVuu5wRdKNyAJozRd696weoPO4UU34AaN0hYUUBGlQqihpUyEzduV1Cvf NZRmWstnoFs4HyCu1MDvalLkQ+PPNuw5X/+oiw9MlJcp0IKLSBk6Z8fk5RMJWAgSABUq 4oHMVYKEr8WfIWKTLlEhIG8uqXMW3sgiKKLJpy6CwduKBd2j9q7g6JhupYZQgy5KbEFi KGgg== X-Gm-Message-State: AOAM530I36Rhxq/ZzevTmx47yq8hfc6wCfFtVyUblC5xVug1ath8AUw/ nJxJnnK3d/CDbMowv2teMtwfRLE29EJ9Yv1sTbvlnw== X-Google-Smtp-Source: ABdhPJw4IvDPfAQIvsh69MnwuyVpYkdaQ8pYzvaJGCUFYn3E6nk/JC6vgocHlld6SqhQH7sjqSsNpA4wjXxZL+Ugvvc= X-Received: by 2002:a5d:8245:: with SMTP id n5mr6668579ioo.149.1602181842002; Thu, 08 Oct 2020 11:30:42 -0700 (PDT) MIME-Version: 1.0 References: <2a8add68-adad-7780-83be-324898a154a5@intel.com> In-Reply-To: From: Brandon Lo Date: Thu, 8 Oct 2020 14:30:06 -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" I may have sent that thanks email too early. Vt-d is enabled now for both machines, but the same error -22 is still occurring in dmesg. `/sys/kernel/iommu_groups/` is empty. Perhaps the kernel parameters are not being set properly? Thanks, Brandon On Thu, Oct 8, 2020 at 2:19 PM Brandon Lo wrote: > > 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 -- Brandon Lo UNH InterOperability Laboratory 21 Madbury Rd, Suite 100, Durham, NH 03824 blo@iol.unh.edu www.iol.unh.edu