Re: KASLR causes intermittent boot failures on some systems

From: Baoquan He
Date: Sat Apr 08 2017 - 03:53:19 EST


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.