Hello,
kernel test robot noticed "BUG:kernel_failed_in_early-boot_stage,last_printk:early_console_in_setup_code" on:
commit: 9958e6cacdfbfbb6636b0826c546a1d48590fd9b ("x86/boot: Use fixed size of 20k for setup block")
git://git.kernel.org/cgit/linux/kernel/git/ardb/linux.git x86-efi-peheader-cleanup-v2
in testcase: boot
compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+----------------------------------------------------------------------------------+------------+------------+
| | dc2ef6efb8 | 9958e6cacd |
+----------------------------------------------------------------------------------+------------+------------+
| BUG:kernel_failed_in_early-boot_stage,last_printk:early_console_in_setup_code | 0 | 15 |
+----------------------------------------------------------------------------------+------------+------------+
besides on vm, this commit also caused boot failure on our bare metal machines.
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-lkp/[email protected]
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.5.0-rc5-00035-g9958e6cacdfb #1
Command line: ip=::::vm-meta-320::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb/openwrt-i386-generic-20190428.cgz/i386-randconfig-003-20230902/gcc-12/9958e6cacdfbfbb6636b0826c546a1d48590fd9b/8 BOOT_IMAGE=/pkg/linux/i386-randconfig-003-20230902/gcc-12/9958e6cacdfbfbb6636b0826c546a1d48590fd9b/vmlinuz-6.5.0-rc5-00035-g9958e6cacdfb branch=ardb/x86-efi-peheader-cleanup-v2 job=/lkp/jobs/scheduled/vm-meta-320/boot-1-openwrt-i386-generic-20190428.cgz-i386-randconfig-003-20230902-9958e6cacdfb-20230905-81243-10dllv6-3.yaml user=lkp ARCH=i386 kconfig=i386-randconfig-003-20230902 commit=9958e6cacdfbfbb6636b0826c546a1d48590fd9b mem=4G 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 mem=4G rcuperf.shutdown=0 watchdog_thresh=240
Kboot worker: lkp-worker76
Elapsed time: 60
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20230906/[email protected]
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki