Re: 4.19.23-rt14 stalls at boot in i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



fös., 22. feb. 2019 kl. 14:10 skrifaði Andri Yngvason <andri@xxxxxxxxxxx>:
>
> The kernel stalls very early in the boot process. Nothing's even
> printed to the console with earlyprintk. This can be reproduced using
> qemu:
> $ ARCH=x86 make i386_defconfig
> $ ARCH=x86 make menuconfig # And select preempt rt full
> $ ARCH=x86 make all
> $ qemu-system-i386 -kernel arch/x86/boot/bzImage
>
> I've tried the same with 4.18-rt and an earlier version of 4.19-rt.
> The kernel boots on 4.18-rt, but not any version of 4.19-rt. It also
> boots fine if I use the default scheduling method.
>
Disabling lazy preempt like this "fixes" the problem:
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 28f8cd79aa74..8c56260bdf84 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -180,7 +180,6 @@ config X86
     select HAVE_HARDLOCKUP_DETECTOR_PERF    if PERF_EVENTS &&
HAVE_PERF_EVENTS_NMI
     select HAVE_PERF_REGS
     select HAVE_PERF_USER_STACK_DUMP
-    select HAVE_PREEMPT_LAZY
     select HAVE_RCU_TABLE_FREE        if PARAVIRT
     select HAVE_RCU_TABLE_INVALIDATE    if HAVE_RCU_TABLE_FREE
     select HAVE_REGS_AND_STACK_ACCESS_API




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux