Hello, kernel test robot noticed "BUG:kernel_hang_in_boot_stage" on: commit: 61595012f28036a58293df5a2ab75f80ca15c327 ("HID: simplify code in fetch_item()") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master [test failed on linux-next/master d61a00525464bfc5fe92c6ad713350988e492b88] in testcase: boot config: x86_64-randconfig-076-20241010 compiler: clang-18 test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G (please refer to attached dmesg/kmsg for entire log/backtrace) 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 <oliver.sang@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-lkp/202410161448.b4308a5e-oliver.sang@xxxxxxxxx ( there is not many clue in below dmesg, we tried to rebuild kernel and rerun tests more, the issue seems quite persistent and clean on parent f23aa4c0761a70bf 61595012f28036a58293df5a2ab ---------------- --------------------------- fail:runs %reproduction fail:runs | | | :100 100% 100:100 dmesg.BUG:kernel_hang_in_boot_stage another thing is the config is a randconfig which is uploaded to [1] we also tried some config based on rhel-8.3, cannot reprodue the issue if you want us to test some debug patch, please let us know. thanks! ) [ 1.070840][ T0] WARNING: WARNING: Bad or missing .orc_unwind table. Disabling unwinder. [ 1.070904][ T0] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 1.072519][ T0] pcpu-alloc: [0] 0 [ 1.072946][ T0] Kernel command line: ip=::::vm-meta-14::dhcp root=/dev/ram0 RESULT_ROOT=/result/boot/1/vm-snb/debian-11.1-i386-20220923.cgz/x86_64-randconfig-076-20241010/clang-18/61595012f28036a58293df5a2ab75f80ca15c327/21 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-076-20241010/clang-18/61595012f28036a58293df5a2ab75f80ca15c327/vmlinuz-6.12.0-rc1-00043-g61595012f280 branch=linux-next/master job=/lkp/jobs/scheduled/vm-meta-14/boot-1-debian-11.1-i386-20220923.cgz-x86_64-randconfig-076-20241010-61595012f280-20241015-29410-tdv4ix-7.yaml user=lkp ARCH=x86_64 kconfig=x86_64-randconfig-076-20241010 commit=61595012f28036a58293df5a2ab75f80ca15c327 intremap=posted_msi vmalloc=256M initramfs_async=0 page_owner=on carrier_timeout=60 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 c [ 1.073666][ T0] sysrq: sysrq always enabled. [ 1.084590][ T0] ignoring the deprecated load_ramdisk= option [ 1.085894][ T0] Unknown kernel command line parameters "RESULT_ROOT=/result/boot/1/vm-snb/debian-11.1-i386-20220923.cgz/x86_64-randconfig-076-20241010/clang-18/61595012f28036a58293df5a2ab75f80ca15c327/21 BOOT_IMAGE=/pkg/linux/x86_64-randconfig-076-20241010/clang-18/61595012f28036a58293df5a2ab75f80ca15c327/vmlinuz-6.12.0-rc1-00043-g61595012f280 branch=linux-next/master job=/lkp/jobs/scheduled/vm-meta-14/boot-1-debian-11.1-i386-20220923.cgz-x86_64-randconfig-076-20241010-61595012f280-20241015-29410-tdv4ix-7.yaml user=lkp ARCH=x86_64 kconfig=x86_64-randconfig-076-20241010 commit=61595012f28036a58293df5a2ab75f80ca15c327 intremap=posted_msi vmalloc=256M max_uptime=600 LKP_SERVER=internal-lkp-server selinux=0 nmi_watchdog=panic prompt_ramdisk=0 vga=normal audit=0 riscv_isa_fallback=1", will be passed to user space. [ 1.099482][ T0] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear) [ 1.103259][ T0] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear) [ 1.104885][ T0] Built 1 zonelists, mobility grouping on. Total pages: 4194174 [ 1.105755][ T0] mem auto-init: stack:off, heap alloc:off, heap free:off [ 1.106517][ T0] stackdepot: allocating hash table via alloc_large_system_hash [ 1.107317][ T0] stackdepot hash table entries: 1048576 (order: 12, 16777216 bytes, linear) [ 1.113570][ T0] software IO TLB: area num 1. [ 1.600025][ T0] ********************************************************** [ 1.600889][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 1.601694][ T0] ** ** [ 1.602498][ T0] ** This system shows unhashed kernel memory addresses ** [ 1.603340][ T0] ** via the console, logs, and other interfaces. This ** [ 1.604126][ T0] ** might reduce the security of your system. ** [ 1.604914][ T0] ** ** [ 1.605719][ T0] ** If you see this message and you are not debugging ** [ 1.606530][ T0] ** the kernel, report this immediately to your system ** [ 1.607345][ T0] ** administrator! ** [ 1.608108][ T0] ** ** [ 1.608907][ T0] ** NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE ** [ 1.609706][ T0] ********************************************************** [ 1.610791][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 1.849553][ T0] allocated 335544320 bytes of page_ext [ 1.850224][ T0] Node 0, zone DMA: page owner found early allocated 0 pages [ 1.852459][ T0] Node 0, zone DMA32: page owner found early allocated 0 pages [ 1.890799][ T0] Node 0, zone Normal: page owner found early allocated 81999 pages [ 1.892852][ T0] Running RCU self tests [ 1.893343][ T0] Running RCU synchronous self tests [ 1.893890][ T0] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 1.894913][ T0] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 1.896021][ T0] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 1.913613][ T0] NR_IRQS: 4352, nr_irqs: 48, preallocated irqs: 16 [ 1.924892][ T0] Console: colour VGA+ 80x25 [ 1.925467][ T0] printk: legacy console [tty0] enabled [ 1.982723][ T0] printk: legacy console [ttyS0] enabled [ 1.984270][ T0] printk: legacy bootconsole [earlyser0] disabled [ 1.985971][ T0] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 1.987360][ T0] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 1.988175][ T0] ... MAX_LOCK_DEPTH: 48 [ 1.988984][ T0] ... MAX_LOCKDEP_KEYS: 8192 [ 1.989821][ T0] ... CLASSHASH_SIZE: 4096 [ 1.990660][ T0] ... MAX_LOCKDEP_ENTRIES: 32768 [ 1.991493][ T0] ... MAX_LOCKDEP_CHAINS: 65536 [ 1.992230][ T0] ... CHAINHASH_SIZE: 32768 [ 1.993051][ T0] memory used by lock dependency info: 6429 kB [ 1.994003][ T0] memory used for stack traces: 4224 kB [ 1.994896][ T0] per task-struct memory footprint: 1920 bytes [ 1.995859][ T0] ACPI: Core revision 20240827 [ 1.997090][ T0] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns [ 1.998834][ T0] APIC: Switch to symmetric I/O mode setup [ 1.999787][ T0] Masked ExtINT on CPU#0 [ 2.001107][ T0] ENABLING IO-APIC IRQs [ 2.001849][ T0] Init IO_APIC IRQs [ 2.003753][ T0] apic 0 pin 0 not connected [ 2.004545][ T0] IOAPIC[0]: Preconfigured routing entry (0-1 -> IRQ 1 Level:0 ActiveLow:0) [ 2.006012][ T0] IOAPIC[0]: Preconfigured routing entry (0-2 -> IRQ 0 Level:0 ActiveLow:0) [ 2.007414][ T0] IOAPIC[0]: Preconfigured routing entry (0-3 -> IRQ 3 Level:0 ActiveLow:0) [ 2.008799][ T0] IOAPIC[0]: Preconfigured routing entry (0-4 -> IRQ 4 Level:0 ActiveLow:0) [ 2.010856][ T0] IOAPIC[0]: Preconfigured routing entry (0-5 -> IRQ 5 Level:1 ActiveLow:0) [ 2.012949][ T0] IOAPIC[0]: Preconfigured routing entry (0-6 -> IRQ 6 Level:0 ActiveLow:0) [ 2.014360][ T0] IOAPIC[0]: Preconfigured routing entry (0-7 -> IRQ 7 Level:0 ActiveLow:0) [ 2.016219][ T0] IOAPIC[0]: Preconfigured routing entry (0-8 -> IRQ 8 Level:0 ActiveLow:0) [ 2.024089][ T0] IOAPIC[0]: Preconfigured routing entry (0-9 -> IRQ 9 Level:1 ActiveLow:0) [ 2.025682][ T0] IOAPIC[0]: Preconfigured routing entry (0-10 -> IRQ 10 Level:1 ActiveLow:0) [ 2.027123][ T0] IOAPIC[0]: Preconfigured routing entry (0-11 -> IRQ 11 Level:1 ActiveLow:0) [ 2.028562][ T0] IOAPIC[0]: Preconfigured routing entry (0-12 -> IRQ 12 Level:0 ActiveLow:0) [ 2.030086][ T0] IOAPIC[0]: Preconfigured routing entry (0-13 -> IRQ 13 Level:0 ActiveLow:0) [ 2.031527][ T0] IOAPIC[0]: Preconfigured routing entry (0-14 -> IRQ 14 Level:0 ActiveLow:0) [ 2.033058][ T0] IOAPIC[0]: Preconfigured routing entry (0-15 -> IRQ 15 Level:0 ActiveLow:0) [ 2.034485][ T0] apic 0 pin 16 not connected [ 2.035257][ T0] apic 0 pin 17 not connected [ 2.036161][ T0] apic 0 pin 18 not connected [ 2.036941][ T0] apic 0 pin 19 not connected [ 2.037713][ T0] apic 0 pin 20 not connected [ 2.038468][ T0] apic 0 pin 21 not connected [ 2.039818][ T0] apic 0 pin 22 not connected [ 2.040584][ T0] apic 0 pin 23 not connected [ 2.041500][ T0] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 2.042657][ T0] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2c9475bb8da, max_idle_ns: 440795307408 ns [ 2.044382][ T0] Calibrating delay loop (skipped) preset value.. 6187.19 BogoMIPS (lpj=10309106) [ 2.047908][ T0] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0 [ 2.048878][ T0] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0 [ 2.049949][ T0] CPU: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1) [ 2.051470][ T0] Spectre V1 : Mitigation: usercopy/swapgs barriers and __user pointer sanitization [ 2.052944][ T0] Speculative Store Bypass: Vulnerable [ 2.053820][ T0] MDS: Vulnerable [ 2.054599][ T0] MMIO Stale Data: Unknown: No mitigations [ 2.055549][ T0] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 2.056923][ T0] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 2.058027][ T0] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 2.059125][ T0] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 2.060213][ T0] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. BUG: kernel hang in boot stage [1] The kernel config and materials to reproduce are available at: https://download.01.org/0day-ci/archive/20241016/202410161448.b4308a5e-oliver.sang@xxxxxxxxx -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki