Hello, kernel test robot noticed "BUG:kernel_failed_in_early-boot_stage,last_printk:early_console_in_setup_code" on: commit: 3b6001baeb03bc674915a04073b6416940d515c4 ("x86: decompressor: Only call the trampoline when changing paging levels") git://git.kernel.org/cgit/linux/kernel/git/ardb/linux.git efi-x86-cleanup-la57 in testcase: boot compiler: gcc-11 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) +-------------------------------------------------------------------------------+------------+------------+ | | 4988063307 | 3b6001baeb | +-------------------------------------------------------------------------------+------------+------------+ | boot_successes | 25 | 0 | | boot_failures | 0 | 23 | | BUG:kernel_failed_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 23 | +-------------------------------------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-lkp/202305091359.8977fc4e-oliver.sang@intel.com early console in setup code convert early boot stage from reboot-without-warning to failed BUG: kernel failed in early-boot stage, last printk: early console in setup code Linux version 6.3.0-12734-g3b6001baeb03 #1 Command line: ip=::::vm-meta-73::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/300/vm-snb/debian-11.1-x86_64-20220510.cgz/x86_64-randconfig-a006-20230501/gcc-11/3b6001baeb03bc674915a04073b6416940d515c4/3 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-a006-20230501/gcc-11/3b6001baeb03bc674915a04073b6416940d515c4/vmlinuz-6.3.0-12734-g3b6001baeb03 branch=ardb/efi-x86-cleanup-la57 job=/lkp/jobs/scheduled/vm-meta-73/boot-300-debian-11.1-x86_64-20220510.cgz-3b6001baeb03bc674915a04073b6416940d515c4-20230505-17351-1rkiq4h-3.yaml user=lkp ARCH=x86_64 kconfig=x86_64-randconfig-a006-20230501 commit=3b6001baeb03bc674915a04073b6416940d515c4 initcall_debug nmi_watchdog=0 vmalloc=256M initramfs_async=0 page_owner=on max_uptime=600 LKP_SERVER=internal-lkp-server selinux=0 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 watchdog_thresh=240 Kboot worker: lkp-worker12 Elapsed time: 60 To reproduce: # build kernel cd linux cp config-6.3.0-12734-g3b6001baeb03 .config make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage modules make HOSTCC=gcc-11 CC=gcc-11 ARCH=x86_64 INSTALL_MOD_PATH= modules_install cd find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k -m modules.cgz job-script # job-script is attached in this email # if come across any failure that blocks the test, # please remove ~/.lkp and /lkp dir to run from a clean state. -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests