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 B4478A0C4E for ; Mon, 2 Aug 2021 02:23:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 50E4B4067E; Mon, 2 Aug 2021 02:23:26 +0200 (CEST) Received: from mx0a-00000d04.pphosted.com (mx0a-00000d04.pphosted.com [148.163.149.245]) by mails.dpdk.org (Postfix) with ESMTP id E48C140143 for ; Mon, 2 Aug 2021 02:23:24 +0200 (CEST) Received: from pps.filterd (m0102889.ppops.net [127.0.0.1]) by mx0a-00000d04.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1720Hur7012979 for ; Sun, 1 Aug 2021 17:23:24 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanford.edu; h=mime-version : from : date : message-id : subject : to : content-type; s=pps05272020; bh=6Iu/om1kO3sTQ6Dhq0fblT6kihBodsYNN1htr/bsfs0=; b=m2rOXVXQXA+i3LGAMVBu9A7ntQ56H3fA7U/cjCIkxkg/hao4A2aZLae2XG5WdrFq3cTE KEnzHO8YRBqOwd2OW1NwmA90/imoL+mxhTCqZ3SFwsQrZiKfRGSEVMEPe8Fzi8aC1a6e tWu5j+F9KK6ai3yQz2k/eYyQUYlWG6ZeD0aDuAjwJq3h4+y8n6YeD3K9THJ3Zsv0Vjd9 SFaKt+uJS3smLSDWDHafysnSZgoPbDY3FXrTspPvepQszkEgKN1/dIPSSaW3YY8Mo/U9 4UL+HL3Nl8WntHieMtT7re4RvXHIw0kwG68OkgEyx/TaoW2k2GTO4nh5J7+N4td1AcCL Vw== Received: from mx0a-00000d03.pphosted.com (mx0a-00000d03.pphosted.com [148.163.149.244]) by mx0a-00000d04.pphosted.com with ESMTP id 3a53ubv9g7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 01 Aug 2021 17:23:23 -0700 Received: from pps.filterd (m0214090.ppops.net [127.0.0.1]) by mx0a-00000d03.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1720HUFg005679 for ; Sun, 1 Aug 2021 17:23:23 -0700 Received: from mx0b-00000d06.pphosted.com (mx0b-00000d06.pphosted.com [148.163.139.119]) by mx0a-00000d03.pphosted.com with ESMTP id 3a55hkca3v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 01 Aug 2021 17:23:23 -0700 Received: from pps.filterd (m0167937.ppops.net [127.0.0.1]) by mx0b-00000d06.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 1720IYVw030936 for ; Sun, 1 Aug 2021 17:23:22 -0700 Received: from smtp.stanford.edu (smtp6.stanford.edu [171.67.219.73]) by mx0b-00000d06.pphosted.com with ESMTP id 3a54tvh5mp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 01 Aug 2021 17:23:22 -0700 Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gerryw) by smtp.stanford.edu (Postfix) with ESMTPSA id AEE2D406BE for ; Sun, 1 Aug 2021 17:23:21 -0700 (PDT) Received: by mail-io1-f42.google.com with SMTP id 185so18389201iou.10 for ; Sun, 01 Aug 2021 17:23:21 -0700 (PDT) X-Gm-Message-State: AOAM533QszU/DViYi2WO9tYUnhH+122qVFuEuDRG3QIRRC+Alr8NMASG qO3zFobNUafuwZW8MHrZ5p/qKCDk7R21vGvzoF0= X-Google-Smtp-Source: ABdhPJxXkW5sQApBK8LNe91gUYyWs9QMgTbYTHZWccaSdpsA5wZReRN+ixI3PCLjDbx4zXuWjh+5N55mLdT0dtOai3k= X-Received: by 2002:a05:6638:3796:: with SMTP id w22mr12046593jal.34.1627863801242; Sun, 01 Aug 2021 17:23:21 -0700 (PDT) MIME-Version: 1.0 From: Gerry Wan Date: Sun, 1 Aug 2021 17:23:10 -0700 X-Gmail-Original-Message-ID: Message-ID: To: users@dpdk.org x-proofpoint-stanford-dir: outbound X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-01_02:2021-07-30, 2021-08-01 signatures=0 X-Proofpoint-ORIG-GUID: wmJbtqceYQc05F6-3_vFa2LhwF5B_q6J X-Proofpoint-GUID: wmJbtqceYQc05F6-3_vFa2LhwF5B_q6J X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-08-01_02:2021-07-30, 2021-08-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 priorityscore=1501 suspectscore=0 adultscore=100 spamscore=0 mlxscore=0 phishscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108020000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: [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" I recently tried to reinstall MLX OFED 5.2-2.2.0.0 on my bare metal machine 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 the 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!