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 B1B02A0547; Mon, 30 Aug 2021 19:44:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4611641144; Mon, 30 Aug 2021 19:44:45 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id BD40441141 for ; Mon, 30 Aug 2021 19:44:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10092"; a="205454360" X-IronPort-AV: E=Sophos;i="5.84,364,1620716400"; d="scan'208";a="205454360" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Aug 2021 10:44:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,364,1620716400"; d="scan'208";a="445806430" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga002.jf.intel.com with ESMTP; 30 Aug 2021 10:44:42 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 30 Aug 2021 10:44:42 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 30 Aug 2021 10:44:42 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.41) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 30 Aug 2021 10:44:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=griNBUBAx7UGiC9/4tgCfv/DyxGUEaIVq6xZGjDQZXQpvv1gtTv9Jz8YwgsTFOWVWIzxiY48l8WsUeOP2QZzWqrzkAE4/K5KlVALUSzY8Eq//kZrWixXeAVzfVPjivV+ByLYfXr7Fu2bakwnQUAz3PD5nUJH+EyK4VooQPMw/a9/J3LznymAgtrZ9EJXJvcW0heEB/xZ0q1xBilbdO3P3MO1ljwWNArSoA3soJZQIg3Sm5421n/0YewmbLa78HkUh3Y82ewralC97SzXyNekeGquS9ckEnESX9vih10twjpxkxMWvi82qH7YcEFlUGdncz3Mke8KwN0t02Y5ryD3zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WHm0VZ/QfjWQZfgumyzqev1DjjvbpttM/QBVHlzD7zc=; b=cXKqssYyeUA/Jj2KkL56MFwIWyWQyjd5LjYmE4FDhxDCLwn004y1coVqnETI3BZqLxBg/aNVNxRMWaFojpXyffbewddY9wPnoc9Wm0MCs2h8OzsS7MDIgj5++lBrG2BDfIwxE7ohp1NAVyVtKImzdlDu6DLfj8i1Ri2qKE4tchzT2DJ4DTLO4VPgs4oRlU3f+BTaYvUI6YRlAHkm08qsCNtm36ozFxFO3XVQTI/aYewGY8AcWcfeJlJsL7RY2s8+Wr0cyStfeI2j3LP7Gfm1r1ULfkpPW2O09LIVnSel0RTRHLH2nh0emLovxlIRoIpJYGmLthdkQQZ8aM9E4ZT/Og== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WHm0VZ/QfjWQZfgumyzqev1DjjvbpttM/QBVHlzD7zc=; b=Jk7tFWF4aTNtQD2kXkHvpxAsjs5osPsqewPo6TGYpjGXhALT+2DnkXKmWr2n1LGdW8PSzN/KPHzbOtdX2VlWU6tP2m1Y7lOnwgHKX6cu7Wu3Qqk5J48zPkZsz45/ckUmgHipYgzvs+nM7Qh+QWweMvX38eOCTgJU+CpY2LCJkEI= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4965.namprd11.prod.outlook.com (2603:10b6:510:34::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.21; Mon, 30 Aug 2021 17:44:41 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%4]) with mapi id 15.20.4457.024; Mon, 30 Aug 2021 17:44:41 +0000 To: spyroot , References: From: Ferruh Yigit X-User: ferruhy Message-ID: <5bc2db4b-0cf8-d474-281c-551213c25532@intel.com> Date: Mon, 30 Aug 2021 18:44:35 +0100 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6P195CA0022.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::32) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.206] (37.228.236.146) by DB6P195CA0022.EURP195.PROD.OUTLOOK.COM (2603:10a6:4:cb::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.18 via Frontend Transport; Mon, 30 Aug 2021 17:44:40 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1f21615c-e1f4-4a33-4cad-08d96bddd822 X-MS-TrafficTypeDiagnostic: PH0PR11MB4965: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xiLddaEMip2qW+xbk5WeiETfMLYZ8NtnzMxL4yXK/OzT2CyQZTgaiox5pcut+M+Gh4BGtYzth1TkT5dwB2G/N8tyQP4Dw7c6VouBR1IvBcN9b3gV8kVpN0OeAz6n2Oa9QADp1OOeyjGksvDPQ7TkT50iTKB1lrKK2Wnx2Ar8gyu1b+5ScIwKvt14FkqSBo6J5M204ecgcmmAFXCQU3XM21F1k0ZJHiD9Xm9rwxAdE/JdPZTS8oG2UlCbIwAb6LHgi+8X0IgbyY+H2Widm0VGaSbLQg+Q8vBhwSOkbAXmsqRDpmhoWpoKHJgtXmWfVBUCM+6b1bQAsryv+8zZ6U05rMx6f0HdOSrHHhI2nnSqmSDplqMkJbelS9oDIqQtBzOr3V6bVfqQT7kYQtlPdGzbec4nk2k6/XQ3SAoTjfkHYkk/6dtzyf004ijHI6oWwxJtlzlupKE8gPip7wlelW+rBOR8OD9jQpURteu1EMLJ9Bjt/4Rqt5ZkSI8zWtA5B2JfQ6icST5DxuIztdBnuFbjh8S+rxnvqKeNd2SxoPPIdHh7rPFyfGyKJe89bBVzHsz2wNAJJPoel32x80k72T4NWPWPM+9yyZ3RNHnIwDUGU2HP1o7YzRw/5M8FLmEs5rZnEn9jgOkrtzyKnTDnSKi51Tugnc10Y6ChGRpWYzD3FAfDvOOgcJtPTPgws4FJeGnz4MNM1HaX2MFzbX/OxgO0qQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(376002)(136003)(346002)(396003)(39860400002)(5660300002)(53546011)(8676002)(83380400001)(31696002)(316002)(38100700002)(2906002)(31686004)(36756003)(6666004)(66556008)(66476007)(478600001)(26005)(16576012)(6486002)(8936002)(86362001)(186003)(2616005)(44832011)(956004)(66946007)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eE5aa2ovQ1VaT3BseWJMRjY0cHhmOFB2Zng4MEhYRzMrMFVDT0hsTWVubEpX?= =?utf-8?B?YkljWEMrWXBMd2J3dk9pMnczNXMrSHVPT0lUQnFROXlGcTQwUEFSQ2lwZG5z?= =?utf-8?B?Tjl6d3JJYi85ZlhRaUJyQWUxRUFreXpqK0kvWldnaG5aTlUwNjBFK3BQNEo2?= =?utf-8?B?K3c3VEM2b1hNeVZ5eU9xd1RGaTgwY2VTSU1IT0pJWkE0Q3dQZmFRZ0NTOHQ2?= =?utf-8?B?MGszK2ZBcFJOWHgzQ1RMZVVwcUNNbENzUS9WZmhKMExvaWRqbFhZdGhtWlNh?= =?utf-8?B?V3JjVVNCelVpb0ZJaWl3Y1Nmdm1nbFFZcm0rUE0yRnZ5eERYWHgxM0xrUFZC?= =?utf-8?B?dy8zcWkxYTVxdzVTM3g2Q2Y1bm5QSTQxRlZLSllDdVVHN3pxaVhQOGh1R0lL?= =?utf-8?B?aG9pU05tdFMyc01qTk9iTVBMM21UckZVSVZLYk9qaDlrV0owRVZyamNGamoy?= =?utf-8?B?V1RIRTV3Sk5zQjMyNGpEYzd3cjBibHloWnhjdHl2bEsrTnl1M2xDZHV0V2k1?= =?utf-8?B?ZEJkRFczQjRCT0FxQ1pTVXdrWCtBQ3Rub1BuQ1pEZi82NEdHUTYz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iZDJma1R0RnBic2hKVkdiZjlIei9YWTQ4?= =?utf-8?B?K1FUa2VydUhTNlRQaUFRemo3aFlqNTZJRVdCTllYa2VRU1U4cmx0ZVNQK2pF?= =?utf-8?B?dmxUa09jUldCeGZmMGcrTnFxVGdEUkphaHlUZ0ZCZWY1WE9zNzR0eng4VmRQ?= =?utf-8?B?VGJ2NVBLK2lqRmQ4bWVabnZxOTZnSEtROHRBYTNZcGhGTW5aR1REUU9jRWo4?= =?utf-8?B?UmZrRmNndzhWM0xZQUZTMUEydFVwSUxGS1psK0JycXYvNmRJY2NUY3VIUjgv?= =?utf-8?Q?JcQbMS/QHl7UN2s8qwjvLu1TYWP28aWA6v1QOe9?= X-MS-Exchange-CrossTenant-Network-Message-Id: 1f21615c-e1f4-4a33-4cad-08d96bddd822 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Aug 2021 17:44:40.9170 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: XMwZVxeotvqv6vZfhp0tUXFNXR2mYzkaNhpmiSPsWT/8Cv8WlRHuoW7lQt1z3ybISYa59X4XG4fWmRhoG/6MjQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4965 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] KNI compilation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 8/30/2021 5:47 PM, spyroot wrote: > Hi Folks, > > I troubleshooting already for a couple of hours but still not clear why > exactly the build process > failing on the KNI module. I've tried to disable KNI but it same issue. > Any ideas what might be a root cause. It x86_64 > > > [1/2] Generating rte_kni with a custom command > FAILED: kernel/linux/kni/rte_kni.ko > make -j4 -C /lib/modules/5.10.52-3.ph4-esx/build > M=/root/dpdk-stable-20.11.2/build/kernel/linux/kni > src=/root/dpdk-stable-20.11.2/kernel/linux/kni 'MODULE_CFLAGS=-include > /root/dpdk-stable-20.11.2/config/rte_config.h > -I/root/dpdk-stable-20.11.2/lib/librte_eal/include > -I/root/dpdk-stable-20.11.2/lib/librte_kni > -I/root/dpdk-stable-20.11.2/build > -I/root/dpdk-stable-20.11.2/kernel/linux/kni' modules > make: Entering directory '/usr/src/linux-headers-5.10.52-3.ph4-esx' > make[1]: *** No rule to make target > '/root/dpdk-stable-20.11.2/build/kernel/linux/kni/kni_misc.o', needed by > '/root/dpdk-stable-20.11.2/build/kernel/linux/kni/rte_kni.o'. Stop. > make: *** [Makefile:1821: /root/dpdk-stable-20.11.2/build/kernel/linux/kni] > Error 2 > make: Leaving directory '/usr/src/linux-headers-5.10.52-3.ph4-esx' > ninja: build stopped: subcommand failed. > > Kind Regards, > Mus> > Hi spyroot (Mus> ?), modules already disabled by default, you should be enabling it via '-Denable_kmods=true' meson option, if you want to disable kni just not enabling kmods should be enough. btw, I have tried and not able to reproduce the issue in 20.11.2 in my platforml, kni compiles fine. Can you confirm you have kernel source installed in your system? Or to be more specific, does '/usr/src/linux-headers-5.10.52-3.ph4-esx' patch has kernel source code? And can you please share your full commands for build? Cheers, ferruh