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 4B0C2A00C2; Wed, 22 Apr 2020 12:18:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 289CB1D559; Wed, 22 Apr 2020 12:18:34 +0200 (CEST) Received: from rcdn-iport-9.cisco.com (rcdn-iport-9.cisco.com [173.37.86.80]) by dpdk.org (Postfix) with ESMTP id CD1061D542 for ; Wed, 22 Apr 2020 12:18:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10684; q=dns/txt; s=iport; t=1587550712; x=1588760312; h=from:to:subject:date:message-id:mime-version; bh=jtBnnLl8WDNjx9G5mUjRlL2c/3D5ss+4qMMCgEKrbkM=; b=LUedm917oSizQ/X8GBMVvL9ZVNcRTzkI3w7vwjgW1OJ+qpGh8xYOEpO+ UsaA+kKMgXY2Ihxaq9nWkS80bNTEDJn2eS+nUhgv0MNTfzJ/3M+NgWVQE EB2u6Vxp9NR8ubANhfbjJ01845dBGiPmtnjXg1CZuepdnyrCHyegTMSWS 8=; IronPort-PHdr: =?us-ascii?q?9a23=3AINqC1h8r4rU1sP9uRHGN82YQeigqvan1NQcJ65?= =?us-ascii?q?0hzqhDabmn44+/bR7E/fs4iljPUM2b8P9Ch+fM+4HYEW0bqdfk0jgZdYBUER?= =?us-ascii?q?oMiMEYhQslVdWFE1fyLtbhbjcxG4JJU1o2t3w=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ASMQD0GKBe/4MNJK1mHAEBATgBBAQ?= =?us-ascii?q?BAQIBBwEBgVMCgSMvUQVsWCAECyoKh1oDimhOlVyEYYEugSQDVAoBAQEMAQE?= =?us-ascii?q?tAgQBAYREAoIaJDQJDgIDAQELAQEFAQEBAgEFBG2FVgELhgobEwEBOBEBgQA?= =?us-ascii?q?mAQQbGoMFgX5NAy0BAaR3AoE5iGKCJ4MAAQEFhT4Ygg4JgTgBgmKJVhqBQT+?= =?us-ascii?q?BEUOCIAGFOoNCgi2OCYk+gnSXWwqCRASYDJxhj3OcdQIEAgQFAg4BAQWBUjm?= =?us-ascii?q?BVnAVO4JpUBgNmSOKVnSBKY02AYEPAQE?= X-IronPort-AV: E=Sophos;i="5.72,413,1580774400"; d="scan'208,217";a="667643159" Received: from alln-core-1.cisco.com ([173.36.13.131]) by rcdn-iport-9.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Apr 2020 10:18:31 +0000 Received: from XCH-ALN-001.cisco.com (xch-aln-001.cisco.com [173.36.7.11]) by alln-core-1.cisco.com (8.15.2/8.15.2) with ESMTPS id 03MAIVDP011080 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL) for ; Wed, 22 Apr 2020 10:18:31 GMT Received: from xhs-rcd-002.cisco.com (173.37.227.247) by XCH-ALN-001.cisco.com (173.36.7.11) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 05:18:31 -0500 Received: from xhs-rcd-003.cisco.com (173.37.227.248) by xhs-rcd-002.cisco.com (173.37.227.247) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 22 Apr 2020 05:18:30 -0500 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (72.163.14.9) by xhs-rcd-003.cisco.com (173.37.227.248) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 22 Apr 2020 05:18:30 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GmpGO0mrxiStiuTCXvsblliP7HZMbpUg016LnjVYTsz3epF+YgtPfB/5lwzi8J9SMRQwn7czLrYi2dqe+IX7URAG32hZU7LZCgKX7KWNMCwOw3ydH9KIvRHkFfrYs3l5u9XxTiid2RiIumzfRMixgTtkSMIsv+L9ATjv6nuqMOhVomxvDK7tmzdP1DpxWGHYCTFtGeM2GiBXwK9TMehDt+ROURv927+XwpPLZma4Gcv5aKHA71P1fAhK8M8LLlemu3ors6hXfzfbDQ01g8WrETzK8+mz7zCRHFf8dLs79fKnbImFBaJZqMp8RcwYvdok4+SHMogt4MM7wNh9rkT/jg== 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=duMwcFR1GM58AVqmFzN0KQiNv3hzfzAhJkMLeMeuHcs=; b=heZ70X330vFtIhX2fawsO8Od9xT2do+Pp8SYgl9BGM9ALhV1DPrNG3PjpEPj/1tY7106zwFEDNc3RIVSCYPSBMN5xUMxabOES2aIuFj51FBF3qt9/qE2EDcPBI8ZCGJEsZcRKVV3/WBhzs2ODZIxKk654Bckci1N+4DWfy7JCkzLMqZVCpvyCHfVebrLoqclZxc4AsINJhD/iwHfvThWNutvSb/gGB2cVT4UrD/+UtvwdV6eUAU9Qby+bbzSIqckXA6ZOTj2wLTqx8WE4UR22XxeWkfEPozHnyTFM5sgEaiFbTUyjmzC1RU9Y4zF9ouWNU8xtsej7q4WksJbh2EV2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=duMwcFR1GM58AVqmFzN0KQiNv3hzfzAhJkMLeMeuHcs=; b=s0HMH4b1jKJYoDLjhna9VR3Ba1a+rkVDSegzzLKIMkHHj5vODpSWIWBIZKCtEUg5tC88kXB1kCF+nqTMW7ZZDrYMV/vtIO4I9ISUtt1kndXPaJoHBjBWFZVwZ6f1hJJ72mw6FVmZ1tHFBbXqnBIwys8DXYf4b2apHFALZbxBd20= Received: from DM6PR11MB3737.namprd11.prod.outlook.com (2603:10b6:5:144::28) by DM6PR11MB3531.namprd11.prod.outlook.com (2603:10b6:5:61::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.29; Wed, 22 Apr 2020 10:18:29 +0000 Received: from DM6PR11MB3737.namprd11.prod.outlook.com ([fe80::208f:e852:e4c4:1d9c]) by DM6PR11MB3737.namprd11.prod.outlook.com ([fe80::208f:e852:e4c4:1d9c%7]) with mapi id 15.20.2921.030; Wed, 22 Apr 2020 10:18:28 +0000 From: "Shravan Raj (shrraj)" To: "dev@dpdk.org" Thread-Topic: Helloworld dpdk app is crashing Thread-Index: AdYYjrtTKxZwTNNLRqGFgGUASwi/mQ== Date: Wed, 22 Apr 2020 10:18:28 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shrraj@cisco.com; x-originating-ip: [223.226.95.159] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9133568d-d77f-40ed-3eb0-08d7e6a68067 x-ms-traffictypediagnostic: DM6PR11MB3531: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 03818C953D x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB3737.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(346002)(136003)(376002)(396003)(366004)(39860400002)(33656002)(9326002)(55016002)(186003)(6916009)(66946007)(71200400001)(9686003)(81156014)(76116006)(26005)(66556008)(2906002)(66446008)(316002)(6506007)(52536014)(66476007)(86362001)(64756008)(478600001)(55236004)(5660300002)(7696005)(8676002)(8936002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sA1zwkHrJ3qKdlnXNHEx3tvQUmJ61Hjq+SLacklw3PIMiZpK9Npdpd83zQTVm8c1J5qiKCi/w9ExGTFneFyPioYfYCe75ZdD1mZTb7DhTt5oFnmyZc0X2+JHgU8ZRg3xEQVxo30uT24xUNexXJwRfnyOHm7nh18YCqYe8w1Ulz/tVISIggP9e3XPA3JOpM7OauZAgXfr3eIu1F+OPYZswAOpfyKhUo9xeZqiLUkydpbnqNjXWsQEZq5k24r9b+qUAnThRnNgX+WrNrl7yHzcs/JL5t12LqMnOpsIQEYlJKqa1jDo6jQOmdeCYFTpY1bnXV6vDr6ZjP0PlWqXSL8RSJWDDQUmbn6PQxuEcfM3flHqBKnLPyU16BDDWEdy5yK1gMgPGFgROkEIE/f/8SvpavgBNIuJfLd9kLckT1Qb/XE03VZwWuJdgRN3hohT8sFo x-ms-exchange-antispam-messagedata: Pfxv6T63+YkpPnzDYPKEclWO8MIkAlRehhO+/rfyLyZAQoXk4Eqypk9V2My/KP/rqR34zXk9XFpw+whD6Zcv3NvhymOS52EdVU//uk4RpnssRgqfPLf7oa4TNfB8cZb920T2RMCUmJXCg8wfDZlBoA== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 9133568d-d77f-40ed-3eb0-08d7e6a68067 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Apr 2020 10:18:28.8494 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xtEsx4MGt7WtPHkaopeCWdxGg/tyWA7LTHo9GYSdAuKK7mcjiZJin2bhDZiKTbXPysFnZDSgCmhkPy0FDaZy1g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3531 X-OriginatorOrg: cisco.com X-Outbound-SMTP-Client: 173.36.7.11, xch-aln-001.cisco.com X-Outbound-Node: alln-core-1.cisco.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] Helloworld dpdk app is crashing X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi All, I compiled helloworld app in dpdk-19.11.1 stable version and tried to r= un . The app is crashing with panic message. Logs: Linux(debug)# ./helloworld -l 0-3 -n 4 EAL: Detected 8 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... EAL: Cannot get a virtual area: Cannot allocate memory EAL: Cannot reserve memory EAL: Cannot allocate VA space for memseg list, retrying with different page= size EAL: Cannot allocate VA space on socket 0 EAL: FATAL: Cannot init memory EAL: Cannot init memory PANIC in main(): Cannot init EAL 5: [./helloworld() [0x81b9a12]] 4: [/lib/libc.so.6(__libc_start_main+0xdd) [0x4d677d0d]] 3: [./helloworld() [0x80c30e5]] 2: [./helloworld(__rte_panic+0x2f) [0x80b1ea9]] 1: [./helloworld(rte_dump_stack+0x17) [0x8384887]] Aborted Below are my configs 1. Compiled app for 32 bit. 2. GCC version is 4.9 Created hugepages as below, echo 1024 | sudo tee /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages sudo sysctl -w vm.nr_hugepages=3D1024 mkdir -p /mnt/huge_2mb sudo mount -t hugetlbfs nodev /mnt/huge_2mb -o pagesize=3D2MB Linux(debug)# cat /proc/meminfo | grep Huge HugePages_Total: 1024 HugePages_Free: 1024 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Thanks and Regards Shravan S