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 29C9342998; Thu, 20 Apr 2023 17:23:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A730B40697; Thu, 20 Apr 2023 17:23:12 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id D57A540687 for ; Thu, 20 Apr 2023 17:23:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682004191; x=1713540191; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=GF3qGIFVZYQnpgyzU+3veJbtR68IY70QnsgA/+ukXZ0=; b=VWdbU/S502uwTdU9zP7DT7kr/H+0GA7fgfPLjTyN/izkw5DH9oYBV3Wa 9BIQKSCZIQ1rW3Wmm2540B3yMG8aTNxxZ4gZ97j3PAlUhiltdiqhswBNF tU8o78QNdAUA90mMbH+FHWdIzzLmpl4ozXqwI3MJZHKXqenvQofMZ6Ta3 ZYEwElHmP2R9Z7wHP6QSOQcXKUbNkSbCGcEuuivKjXAJcGodMul+CfF49 uB9uXWSkqs8zJ3QkiHP+e5MRI6ajxJUe5UaMtDC4TDa2XaU5XoElk2zoU gX0V9f2jY4imzVVmNqiPkEQbYV4DVt4LqTDXaCD42NO3VH5ENAtlotHPA A==; X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="326092462" X-IronPort-AV: E=Sophos;i="5.99,213,1677571200"; d="scan'208";a="326092462" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Apr 2023 08:23:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10686"; a="669380490" X-IronPort-AV: E=Sophos;i="5.99,213,1677571200"; d="scan'208";a="669380490" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga006.jf.intel.com with ESMTP; 20 Apr 2023 08:23:01 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 20 Apr 2023 08:23:01 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 20 Apr 2023 08:23:01 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 20 Apr 2023 08:23:01 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.177) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 20 Apr 2023 08:23:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V+C0htFpCUKLKoxSJPrfS3xhtZwp/NaKN0fffqiZJnkue65rsmoXV3zccXDZsR4W08ZOWu41zIQ4/bxShf6ZOWUGtWprooXSpFj9Wm2ssxj1zNquurCFtyrtcQiGLW9YvYrYML3MXVXi07IlOlR5OtbghcQ/t/18+c39k1cwUMHZtZDzHGKwLodDzJYKQpnaNkLlIQ3J9Etng0+ScF3/rJgC8vkBLxbSFa4M623ZVS4wnDynVDT0TSiJ0ez0nrVSWv1pwM7tJrY9BIsHlTTJGSjF/MJfX9nP0QE+N19IEuqe+1b7HUU/LCVCed4UmXnxw6Xx5lhUKYp/cO6/Zg5PHQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=3FZMZm0Udtc3a36CHfp8xcdQ/nHvE0WbtZFFj5VOuCY=; b=eyE2BB1tgZU+p+eUiI4Zd81FhuHGZp22ABvnVoIA47Dl2sshtKcKDPjrFTMgiO/roIn3wjBXYU6hQeYZPcBGj+rmliSX2poZT1XkHveEgl2iflRmwOpqkwQtNdf7Wh3BL6LqzPdj4lJ84XdyPkx8gynAWvREPq2HyIEjZXSBBndCE1lhGhJdXXG8XOmWud7Ek0+gNvP6603tACLQl/cXLUhxqJaK2GQGpa4YsX67qthtFimTVt/NQ5BZTvuuMybtcv9b23KOj9t5v4rP7yRrUVLOrzQhXr4CpbV/bS0/jMV+S16fITmPEVk4TsgnjXmrtioa5tnwhui9cHGiKW7PaA== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by DS7PR11MB7806.namprd11.prod.outlook.com (2603:10b6:8:db::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.22; Thu, 20 Apr 2023 15:22:59 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::b8f3:958:d2c5:2232%6]) with mapi id 15.20.6319.022; Thu, 20 Apr 2023 15:22:59 +0000 Date: Thu, 20 Apr 2023 16:22:53 +0100 From: Bruce Richardson To: Mingjin Ye CC: , , , "Wenjun Wu" Subject: Re: [PATCH] doc: add PMD known issue Message-ID: References: <20230420061429.140113-1-mingjinx.ye@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230420061429.140113-1-mingjinx.ye@intel.com> X-ClientProxiedBy: LO4P123CA0054.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::23) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|DS7PR11MB7806:EE_ X-MS-Office365-Filtering-Correlation-Id: e4aa7299-5ca9-426e-0a50-08db41b31f84 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LJD6p7UE/jRLqms1Frq3Fs8SXjh1YiIVJ71GIx5t9KFmQOzkMwae5TWrwFBvVhtdIE312J8sXZlTLG6e6wAUagJOGSfnl/xsflCrHu7hRxZ2ZoF9lbCdM7eWUpJT/+hiubxd5lFU890e08ifwacARBLP7ZX0PCfJlTV4IvXMSTbxXQnvHtfUnNdxcm6BSU/XFc0UmQ+5rgabXEpyvEHRUVAVfxdA7sp4eU69tWc2zL14MKBLeE8CcmfLr2M660/qbFkZN8R7eD7zFGwsi438JlqRat82wIdGF74lMPYR94oADHHJYUr++XyiULpBnodFiNLdT2H3GxFzDOTxMmUQYXxTztIgpUlI8kb4eNl1PxI8HNJ4RbpzoVImPxa60LUjpbTZVOdgCqrqhkev6gPzXHWFLXJVRHVYMhE7MSN4oqZMaRfXD6E6yORgF77hiVcw7dudokfaonF+Yr30tYl+3IjOER3ghDM5nFfO0Tiikxca0rG2/VMpfGj2u5ISJnsUMvR5Q/lKYRX+aLchoNoxMAu0uP+wqmUm+TGzDfeYQkXdqgs1x8ZIRSIGBFQrH/bE X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(346002)(376002)(136003)(396003)(366004)(39860400002)(451199021)(86362001)(107886003)(6506007)(26005)(6512007)(6486002)(478600001)(6666004)(4326008)(66946007)(66556008)(66476007)(6636002)(82960400001)(41300700001)(316002)(8936002)(8676002)(6862004)(38100700002)(186003)(44832011)(2906002)(5660300002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?n2ZHpcokr74XGsIgtF9EAG7YnQEqlZc36zLWHGSak8JzhnL9n2zXIum323m9?= =?us-ascii?Q?k2W7WKj4ITcXgPr5ic6PL8sQsryBxOohvFAZ/leHJfrqD1nph/jc8r8sdd3P?= =?us-ascii?Q?f0k/XadL4VV1b2O11kVYgsh9wtUXj3DXfQ9fMOdlp/lvbQ/8WQ7z0Dyk7S+h?= =?us-ascii?Q?XiNjgv6VqzBnwkVq6ogx4E4SObIEDX9KKrHKmmN6sEqiiOCXgV884BP0Cxic?= =?us-ascii?Q?5LWOwl5/u4f2EpwyTyVytYBjUO+Rp5PHbFBlvsarJ1UbY80ehkMK2fKS2QBz?= =?us-ascii?Q?ZTTTVMYFMPzK7hrkwBuDawU6gWiVTDeb9WPG30vmOpSZWCil3IaG8lCyK9qW?= =?us-ascii?Q?qFwAdxM+CIvpA+JgUAu6dyiOeW6tczBFnpN/XOOELdP0D/vI0b6AYxTDs/Nv?= =?us-ascii?Q?LV0IVh7fYKwbr2icI//uCfroT7325tbeQSHpOtLM6yGUJWFHzkG/pu9lELUw?= =?us-ascii?Q?qmEkKDK6It+p8UwgkCOFpbYbXsm3SYJYJ75HLE+CCIoxzhN4sOsbgP/330mo?= =?us-ascii?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BXQel6/WiSUScWZn3pf?= =?us-ascii?Q?n/IMDY6R+35L6ALSrVxMO9pbOqk1Ymk0fuWtPdJfrgdGuLm094LEJEwanpn5?= =?us-ascii?Q?SV/7QnlsD6USIK8Q9Nkd6Q3yLdLg4GMcAI85EGGpYlwm0ui/3rGtIIT7hhsA?= =?us-ascii?Q?Fek2OyLnUIs/SW0laeSWsGQTSEW4aaOcgdrzEyZtk8pJI6dSpfeSth4N049j?= =?us-ascii?Q?ZA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: e4aa7299-5ca9-426e-0a50-08db41b31f84 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Apr 2023 15:22:59.0482 (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: Nxs5KidepZpPMXp8d8KxXMS57QIqmup2y+wBN+/JZkWRQRrvaDQMhpPpbsOYG/KbZ4S70RoAlro9/OnRTJsC5vQk8HqYa5viensctI9gs4U= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB7806 X-OriginatorOrg: intel.com 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 On Thu, Apr 20, 2023 at 06:14:29AM +0000, Mingjin Ye wrote: > Add a known issue: ASLR feature causes core dump. > > Signed-off-by: Mingjin Ye > --- > doc/guides/nics/ixgbe.rst | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst > index b1d77ab7ab..c346e377e2 100644 > --- a/doc/guides/nics/ixgbe.rst > +++ b/doc/guides/nics/ixgbe.rst > @@ -461,3 +461,18 @@ show bypass config > Show the bypass configuration for a bypass enabled NIC using the lowest port on the NIC:: > > testpmd> show bypass config (port_id) > + > +ASLR feature causes core dump > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Core dump may occur when we start secondary processes on the vf port. > +Mainstream Linux distributions have the ASLR feature enabled by default, > +and the text segment of the process's memory space is randomized. > +The secondary process calls the function address shared by the primary > +process, resulting in a core dump. > + > + .. Note:: > + > + Support for ASLR features varies by distribution. Redhat and > + Centos series distributions work fine. Ubuntu distributions > + will core dump, other Linux distributions are unknown. > -- I disagree about this description of the bug. ASLR is not the problem; instead driver is just not multi-process aware and uses the same pointers in both primary and secondary processes. You will hit this issue even without ASLR if primary and secondary processes use different static binaries. Therefore, IMHO, title should be that the VF driver is not multi-process safe, rather than pinning the blame on ASLR. /Bruce