Greeting, FYI, we noticed BUG:kernel_failed_in_early-boot_stage,last_printk:Decompressing_Linux due to commit (built with gcc-11): commit: 632b455ab719f838d943fea2134be092a25d85bd ("x86: decompressor: Align ELF sections to page size") git://git.kernel.org/cgit/linux/kernel/git/ardb/linux.git efi-x86-nx-v4 in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): +-----------------------------------------------------------------------+------------+------------+ | | 9510f6f04f | 632b455ab7 | +-----------------------------------------------------------------------+------------+------------+ | boot_successes | 32 | 0 | | boot_failures | 0 | 30 | | BUG:kernel_failed_in_early-boot_stage,last_printk:Decompressing_Linux | 0 | 30 | +-----------------------------------------------------------------------+------------+------------+ If you fix the issue, kindly add following tag | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-lkp/202303142001.a41caea2-oliver.sang@intel.com kernel_total_size: 0x0000000002228000 needed_size: 0x0000000002400000 trampoline_32bit: 0x000000000009c000 Decompressing Linux... convert early boot stage from hang to failed BUG: kernel failed in early-boot stage, last printk: Decompressing Linux... Linux version 6.3.0-rc1-00016-g632b455ab719 #1 Command line: ip=::::vm-meta-275::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb/debian-11.1-x86_64-20220510.cgz/x86_64-kexec/gcc-11/632b455ab719f838d943fea2134be092a25d85bd/3 BOOT_IMAGE=/pkg/linux/x86_64-kexec/gcc-11/632b455ab719f838d943fea2134be092a25d85bd/vmlinuz-6.3.0-rc1-00016-g632b455ab719 branch=ardb/efi-x86-nx-v4 job=/lkp/jobs/scheduled/vm-meta-275/boot-1-debian-11.1-x86_64-20220510.cgz-632b455ab719f838d943fea2134be092a25d85bd-20230313-17427-1htiyqv-5.yaml user=lkp ARCH=x86_64 kconfig=x86_64-kexec commit=632b455ab719f838d943fea2134be092a25d85bd 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-worker07 Elapsed time: 840 To reproduce: # build kernel cd linux cp config-6.3.0-rc1-00016-g632b455ab719 .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