From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751901AbdDHHCP (ORCPT ); Sat, 8 Apr 2017 03:02:15 -0400 Received: from mail-wr0-f180.google.com ([209.85.128.180]:33831 "EHLO mail-wr0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbdDHHCI (ORCPT ); Sat, 8 Apr 2017 03:02:08 -0400 MIME-Version: 1.0 In-Reply-To: <20170408040837.GD4111@x1> References: <20170408040837.GD4111@x1> From: Dan Williams Date: Sat, 8 Apr 2017 00:02:06 -0700 Message-ID: Subject: Re: KASLR causes intermittent boot failures on some systems To: Baoquan He Cc: Jeff Moyer , Linux Kernel Mailing List , "linux-nvdimm@lists.01.org" , thgarnie@google.com, Ingo Molnar Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 7, 2017 at 9:08 PM, Baoquan He wrote: > On 04/07/17 at 10:41am, 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. >> >> On some systems, I haven't hit this problem at all. Other systems >> experience a failed boot maybe 20-30% of the time. To reproduce it, >> configure some emulated pmem on your system. You can find directions >> for that here: https://nvdimm.wiki.kernel.org/ > > I got below problem when configure ndctl, didn't find a package named > libkmod: > > ~~~~~~~~~ > configure: error: Package requirements (libkmod) were not met: > > No package 'libkmod' found kmod-devel provides that dependency. Otherwise ndctl is included in Fedora or you can find EPEL 7 packages here: https://copr.fedorainfracloud.org/coprs/djbw/ndctl/