2022-07-19 14:34:18

by kernel test robot

[permalink] [raw]
Subject: [lib/bitmap] 11692cc46d: BUG:kernel_reboot-without-warning_in_boot_stage



Greeting,

FYI, we noticed the following commit (built with gcc-11):

commit: 11692cc46d6a33394930b3fbf52431697fa79ec1 ("lib/bitmap: Make count and length parameters unsigned")
https://github.com/norov/linux __bitmap-for-next

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):


+-------------------------------------------------+------------+------------+
| | d9c0a24a77 | 11692cc46d |
+-------------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 16 |
| BUG:kernel_reboot-without-warning_in_boot_stage | 0 | 16 |
+-------------------------------------------------+------------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <[email protected]>


[ 2.110742][ T0] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
[ 2.118619][ T0] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[ 2.121232][ T0] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 2.122840][ T0] Stack Depot early init allocating hash table with memblock_alloc, 8388608 bytes
[ 2.602190][ T0] Memory: 2984360K/16776696K available (40969K kernel code, 13408K rwdata, 8584K rodata, 3240K init, 4676K bss, 3068416K reserved, 0K cma-reserved)
BUG: kernel reboot-without-warning in boot stage

Kboot worker: lkp-worker31
Elapsed time: 60

kvm=(


To reproduce:

# build kernel
cd linux
cp config-5.19.0-rc3-00038-g11692cc46d6a .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=<mod-install-dir> modules_install
cd <mod-install-dir>
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 <bzImage> -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://01.org/lkp



Attachments:
(No filename) (2.46 kB)
config-5.19.0-rc3-00038-g11692cc46d6a (167.04 kB)
job-script (4.65 kB)
dmesg.xz (3.88 kB)
Download all attachments