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


Groups > linux.kernel > #1619237 > unrolled thread

Re: KASLR causes intermittent boot failures on some systems

Started byDan Williams <dan.j.williams@gmail.com>
First post2017-04-08 09:10 +0200
Last post2017-04-08 10:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

#1619237 — Re: KASLR causes intermittent boot failures on some systems

FromDan Williams <dan.j.williams@gmail.com>
Date2017-04-08 09:10 +0200
SubjectRe: KASLR causes intermittent boot failures on some systems
Message-ID<ttSFr-2bx-3@gated-at.bofh.it>
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/

[toc] | [next] | [standalone]


#1619242

FromBaoquan He <bhe@redhat.com>
Date2017-04-08 10:00 +0200
Message-ID<ttTrP-2qV-1@gated-at.bofh.it>
In reply to#1619237
Hi Dan,

Thanks!

On 04/08/17 at 12:02am, Dan Williams wrote:
> > 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/

I have installed kmod-devel, still the configure error occured. But it
worked for me with the epel repo you provided to install ndctl.

Seems it can't be reproduced on my beaker machine with 18G memory. I did
steps as Jeff said, and reboot more than 5 times, no crash seen.

Below is the abstracted part of boot log.



[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.11.0-rc5+ root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap console=ttyS0,115200n81 LANG=en_US.UTF-8 memmap=15G!4G crashkernel=384M
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bf337fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bf338000-0x00000000bf3b8fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bf3b9000-0x00000000bf3b9fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000bf3ba000-0x00000000bf3ccfff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bf3cd000-0x00000000bf3cdfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bf3ce000-0x00000000bf3defff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bf3df000-0x00000000bf3e1fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bf3e2000-0x00000000bf446fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bf447000-0x00000000bf451fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000bf452000-0x00000000bf45cfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bf45d000-0x00000000bf47afff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000bf47b000-0x00000000bf67dfff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000bf67e000-0x00000000bf7fffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x00000004bfffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] e820: user-defined physical RAM map:
[    0.000000] user: [mem 0x0000000000000000-0x000000000009d7ff] usable
[    0.000000] user: [mem 0x000000000009d800-0x000000000009ffff] reserved
[    0.000000] user: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] user: [mem 0x0000000000100000-0x00000000bf337fff] usable
[    0.000000] user: [mem 0x00000000bf338000-0x00000000bf3b8fff] ACPI NVS
[    0.000000] user: [mem 0x00000000bf3b9000-0x00000000bf3b9fff] ACPI data
[    0.000000] user: [mem 0x00000000bf3ba000-0x00000000bf3ccfff] reserved
[    0.000000] user: [mem 0x00000000bf3cd000-0x00000000bf3cdfff] ACPI NVS
[    0.000000] user: [mem 0x00000000bf3ce000-0x00000000bf3defff] reserved
[    0.000000] user: [mem 0x00000000bf3df000-0x00000000bf3e1fff] ACPI NVS
[    0.000000] user: [mem 0x00000000bf3e2000-0x00000000bf446fff] reserved
[    0.000000] user: [mem 0x00000000bf447000-0x00000000bf451fff] ACPI data
[    0.000000] user: [mem 0x00000000bf452000-0x00000000bf45cfff] ACPI NVS
[    0.000000] user: [mem 0x00000000bf45d000-0x00000000bf47afff] reserved
[    0.000000] user: [mem 0x00000000bf47b000-0x00000000bf67dfff] ACPI NVS
[    0.000000] user: [mem 0x00000000bf67e000-0x00000000bf7fffff] usable
[    0.000000] user: [mem 0x00000000c0000000-0x00000000cfffffff] reserved
[    0.000000] user: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] user: [mem 0x00000000ff000000-0x00000000ffffffff] reserved
[    0.000000] user: [mem 0x0000000100000000-0x00000004bfffffff] persistent (type 12)
[    0.000000] SMBIOS 2.4 present.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web