Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0B9E721A04817 for ; Mon, 10 Apr 2017 08:49:50 -0700 (PDT) From: Jeff Moyer Subject: Re: KASLR causes intermittent boot failures on some systems References: Date: Mon, 10 Apr 2017 11:49:47 -0400 In-Reply-To: (Kees Cook's message of "Fri, 7 Apr 2017 14:25:35 -0700") Message-ID: MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Kees Cook Cc: Baoquan He , linux-nvdimm@lists.01.org, LKML , Ingo Molnar , Thomas Garnier List-ID: Kees Cook writes: > On Fri, Apr 7, 2017 at 7:41 AM, Jeff Moyer wrote: >> Hi, >> >> commit 021182e52fe01 ("x86/mm: Enable KASLR for physical mapping memory >> regions") causes some of my systems with persistent memory (whether real >> or emulated) to fail to boot with a couple of different crash >> signatures. The first signature is a NMI watchdog lockup of all but 1 >> cpu, which causes much difficulty in extracting useful information from >> the console. The second variant is an invalid paging request, listed >> below. > > Just to rule out some of the stuff in the boot path, does booting with > "nokaslr" solve this? (i.e. I want to figure out if this is from some > of the rearrangements done that are exposed under that commit, or if > it is genuinely the randomization that is killing the systems...) Adding "nokaslr" to the boot line does indeed make the problem go away. Cheers, Jeff _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm