Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619237

Re: KASLR causes intermittent boot failures on some systems

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dan Williams <dan.j.williams@gmail.com>
Newsgroups linux.kernel
Subject Re: KASLR causes intermittent boot failures on some systems
Date Sat, 08 Apr 2017 09:10:01 +0200
Message-ID <ttSFr-2bx-3@gated-at.bofh.it> (permalink)
References <ttDn3-8qV-13@gated-at.bofh.it> <ttPRf-nb-1@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=7jCFJsBv6J9CtjyyfBp5eYR2mjT1CV+quQC2Zo0FMvQ=; b=O0ck0/M8FMTKdroRM0bELQxt0JeiziiUZ9/FiVGo4uTLuawnxHKo5PmgecpHaoTz6O mM0ivWJzIdBmDNab+fblWLo4k5kAI6Yrjr6zkjxSSgGo3HTE4tFs6syuTC5sijAuvayh hgPAKiwzUmoNtC38gnENcc3ID03X8PMW5ERh/1x2weq3mibaBRfenBUjjY8AvsyrMtTt xNspF8pWCnTo8lZ4Bw3u4cgiHtNbw30Q841hQ0nK8F10riibKbwWvCAkS3kFyNtoZ2T6 /HBlwjvssPQmd6Z8Rqq56bvqSsWzGj3LI1BGikRyUVKIsaozVPDdgUh9VKvKIUEorWpy nxDA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=7jCFJsBv6J9CtjyyfBp5eYR2mjT1CV+quQC2Zo0FMvQ=; b=NAmONdJTRQwlDEAEtYSAq3wFetFQd23bsQX8c+URFi1Gj0UUPJ2RJUULlobuQy+uWd QBAVwv6tGBFTsxhnc5CQfgV5Be1WBdAvw3K/idpsQoBjOxQrT1YWMzO6VNru1qXyou44 dDcPKOQoxiYb/S/zMUfCn42DM6sagTT6/zTFZtIMUOMEk4bzxQLquFCtC+YQFb8NXVcz 9adMCl2yBYNHiAVmcTKes5Lwg/ybRMbQy3BfcCa13zcg4Lf9xmjJA95m41bDrMiCCrvv Ay9DAFgb9Y2z14wQIAJq0FAyyGKYgT2pPxibYKptcuHR2tTsAOPSRQ/+3Nwi6hlzFYYR 3A0A==
X-Gm-Message-State AN3rC/5VWGyTnaTYHec1gdCa9S6V+wvMQite39bbAqwSpYn+sCGbMi0g82SmjoQm2l9tDl8YMfxvxbc4wlsb2Q==
X-Received by 10.223.171.84 with SMTP id r20mr6988628wrc.166.1491634926621; Sat, 08 Apr 2017 00:02:06 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 29
Organization linux.* mail to news gateway
X-Original-Cc Jeff Moyer <jmoyer@redhat.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, "linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>, thgarnie@google.com, Ingo Molnar <mingo@kernel.org>
X-Original-Date Sat, 8 Apr 2017 00:02:06 -0700
X-Original-Message-ID <CAA9_cmcB2Ctxya6yNj6535WashWArsEr2kf1b3bq82=Dsy5fmA@mail.gmail.com>
X-Original-References <x49shlk700k.fsf@segfault.boston.devel.redhat.com> <20170408040837.GD4111@x1>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1619237

Show key headers only | View raw


On Fri, Apr 7, 2017 at 9:08 PM, Baoquan He <bhe@redhat.com> 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/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: KASLR causes intermittent boot failures on some systems Dan Williams <dan.j.williams@gmail.com> - 2017-04-08 09:10 +0200
  Re: KASLR causes intermittent boot failures on some systems Baoquan He <bhe@redhat.com> - 2017-04-08 10:00 +0200

csiph-web