FYI, we noticed the following commit (built with gcc-7): commit: 68c37ccedcde10514898f4ba3b28c0de85c590d1 ("mm: nobootmem: remove bootmem allocation APIs") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 2G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-----------------------------------------------------------------------------+------------+------------+ | | 6881a1e729 | 68c37ccedc | +-----------------------------------------------------------------------------+------------+------------+ | boot_successes | 4 | 0 | | boot_failures | 0 | 4 | | BUG:kernel_hang_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 4 | +-----------------------------------------------------------------------------+------------+------------+ early console in setup code BUG: kernel hang in early-boot stage, last printk: early console in setup code Linux version 4.19.0-rc8-12429-g68c37cc #2 Command line: ip=::::vm-vp-2G-10::dhcp root=/dev/ram0 user=lkp job=/lkp/jobs/scheduled/vm-vp-2G-10/boot-1-debian-x86_64-2018-04-03.cgz-68c37ccedcde10514898f4ba3b28c0de85c590d1-20181029-86192-158289k-3.yaml ARCH=x86_64 kconfig=x86_64-randconfig-a0-10272028 branch=linux-devel/devel-catchup-201810280034 commit=68c37ccedcde10514898f4ba3b28c0de85c590d1 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-a0-10272028/gcc-7/68c37ccedcde10514898f4ba3b28c0de85c590d1/vmlinuz-4.19.0-rc8-12429-g68c37cc max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-2G/debian-x86_64-2018-04-03.cgz/x86_64-randconfig-a0-10272028/gcc-7/68c37ccedcde10514898f4ba3b28c0de85c590d1/3 LKP_SERVER=inn debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 net.ifnames=0 printk.devkmsg=on panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 drbd.minor_count=8 systemd.log_level=err ignore_loglevel console=tty0 earlyprintk=ttyS0,115200 console=ttyS0,115200 vga=normal rw rcuperf.shutdown=0 Elapsed time: 670 To reproduce: git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k job-script # job-script is attached in this email Thanks, lkp