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 5DCF1A0C41 for ; Mon, 2 Aug 2021 15:24:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC5F541147; Mon, 2 Aug 2021 15:24:35 +0200 (CEST) Received: from eu-smtp-delivery-104.mimecast.com (eu-smtp-delivery-104.mimecast.com [185.58.85.104]) by mails.dpdk.org (Postfix) with ESMTP id 0A39240140 for ; Mon, 2 Aug 2021 15:24:33 +0200 (CEST) Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-130-G2tmMXR5OmqiHvNWxEbf5Q-1; Mon, 02 Aug 2021 14:24:30 +0100 X-MC-Unique: G2tmMXR5OmqiHvNWxEbf5Q-1 Received: by mail-qv1-f70.google.com with SMTP id o32-20020a0c85a30000b0290328f91ede2bso12659359qva.1 for ; Mon, 02 Aug 2021 06:24:30 -0700 (PDT) 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=yWIqqbCiGLgFyXsze12aTlAZ5uETYuZRXaqI+YhQZDY=; b=ALypHmt61XiU7rb4LuagFu85hd4bK2FiCJZPyHzgreW0Sijhre7ZHssejjs0Kbw7XJ gk2Ect29mXkYZxyf+CgDMDB+kvtZiib/LlOy2kLosOcwZMtAL+Lt6XgrbMFT/s5D6ikO M3teqMhUWr1jdnMlg1ctVS0fKZbU1QTJDd2eft7W6QNh6luRPDA7CMT8hJk/U7dyooIu fpMTgiUKyN+QiUuBQLvNJtVKhbdo+nXMy3YjIvzQ/kO8RL9Tu3tYXiixA65DFXwq5IEs Az2pOjg8Tc7HV1o539xw8Eqo0mRTtytqhkJH0Uu1giuCaTEcSxXhUHWWDboTKzHVU26x uNqA== X-Gm-Message-State: AOAM532+MpHxUxXLW9KSOwMJEsG6TpYcaiBAnyglOtdyT2bVRmX2Vmbz pHCRjc6U3kVjkIhg2qy53+POFR2JPOcxDNNOEuDrwRltHgfmkKxxCpxZK0mDvN1mmAyB7BJ1KXo cvZMHrwFj9NBqFjcSq90= X-Received: by 2002:ad4:5227:: with SMTP id r7mr16374342qvq.41.1627910669173; Mon, 02 Aug 2021 06:24:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7EkebjaNOqF0ztIIoX1MHbD0LdQcTdSwb2KI3Ene8mZShCUiOCoiZOgKrK/ynEb7aK82eTjKDo8FrtUA6ODM= X-Received: by 2002:ad4:5227:: with SMTP id r7mr16374322qvq.41.1627910668963; Mon, 02 Aug 2021 06:24:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: PATRICK KEROULAS Date: Mon, 2 Aug 2021 09:24:28 -0400 Message-ID: To: Gerry Wan Cc: users@dpdk.org Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUK104A247 smtp.mailfrom=patrick.keroulas@radio-canada.ca X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: radio-canada.ca Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-users] Building mlx5 with rdma-core/OFED 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 Sender: "users" Hello Gerry, I went through this a while ago and had to properly remove everything related to OFED with the uninstaller. Then, install rdma-core and libibverbs-dev which includes infiniband/mlx5dv.h IIRC. Regards, Patrick On Sun, Aug 1, 2021 at 8:23 PM Gerry Wan wrote: > I recently tried to reinstall MLX OFED 5.2-2.2.0.0 on my bare metal machi= ne > Ubuntu 20.04 (previously using the command ./mlnxofedinstall --dpdk > --upstream-libs --with-mft --with-kernel-mft). However, it now fails with > the message > > Checking SW Requirements... > Removing old packages... > Uninstalling the previous version of MLNX_OFED_LINUX > Installing new packages Installing mft-4.16.1... > Installing ofed-scripts-5.2... > Installing mstflint-4.15.0... > Installing mlnx-ofed-kernel-utils-5.2... > Installing mlnx-ofed-kernel-dkms-5.2... > Failed to install mlnx-ofed-kernel-dkms DEB > Collecting debug info... > See /tmp/MLNX_OFED_LINUX.9221.logs/mlnx-ofed-kernel-dkms.debinstall.log > > It appears that my kernel version got upgraded to 5.4.0-80-generic which = I > think may be the issue. I've also tried to install using > --add-kernel-support --kernel 5.4.0-80-generic, with no luck. > > The DPDK website says that rdma-core is now recommended over OFED, but th= e > documentation for how to use it isn't very clear to me. I've tried to > install it via > > apt-get install rdma-core > > as well as running the quick start script listed here: > https://github.com/linux-rdma/rdma-core > , > but DPDK installation still fails > with > > ../drivers/common/mlx5/linux/mlx5_glue.h:15:10: fatal error: > infiniband/mlx5dv.h: No such file or directory > 15 | #include > > Any advice on getting the mlx5 drivers to work again would be helpful! >