Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git nohz/fixes-v2 commit 664c05b9ab2dd92aad807bd7f9aa273955949abe Author: Frederic Weisbecker AuthorDate: Sun Aug 17 22:02:55 2014 +0200 Commit: Frederic Weisbecker CommitDate: Wed Sep 10 18:52:45 2014 +0200 nohz: Consolidate nohz full init code The supports for CONFIG_NO_HZ_FULL_ALL=y and the nohz_full= kernel parameter both have their own way to do the same thing: allocate full dynticks cpumasks, fill them and initialize some state variables. Lets consolidate that all in the same place. While at it, convert some regular printk message to warnings when fundamental allocations fail. Cc: Ingo Molnar Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Frederic Weisbecker +-----------------------------------------------------------------+------------+------------+------------+ | | ed1fb75de3 | 664c05b9ab | dd99eb9cdf | +-----------------------------------------------------------------+------------+------------+------------+ | boot_successes | 60 | 0 | 0 | | boot_failures | 0 | 20 | 23 | | WARNING:at_arch/x86/kernel/cpu/common.c:warn_pre_alternatives() | 0 | 20 | 22 | | BUG:kernel_boot_hang | 0 | 20 | 22 | | backtrace:setup_default_timer_irq | 0 | 20 | 22 | | backtrace:hpet_time_init | 0 | 20 | 22 | | backtrace:x86_late_time_init | 0 | 20 | 22 | | WARNING:CPU:PID:at/kbuild/ | 0 | 1 | | | WARNING:CPU:PID:at_arch/x86/k | 0 | 1 | | | WARNING:CPU:PID:at_arch/x86/kernel/cpu/common.c:warn_pre_al | 0 | 0 | 1 | | BUG:kernel_boot_crashed | 0 | 0 | 1 | +-----------------------------------------------------------------+------------+------------+------------+ [ 0.000000] ---------------------------------------------------- [ 0.000000] hpet clockevent registered [ 0.000000] ------------[ cut here ]------------ [ 0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/kernel/cpu/common.c:1430 warn_pre_alternatives+0x1e/0x20() [ 0.000000] You're using static_cpu_has before alternatives have run! [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.17.0-rc3-00007-g664c05b #840 [ 0.000000] 0000000000000009 ffff880012603d80 ffffffff89dfe8c6 ffff880012603dc8 [ 0.000000] ffff880012603db8 ffffffff89a81df3 ffffffff8a414580 0000000000000000 [ 0.000000] 0000000000000000 0000000000000000 0000000000000000 ffff880012603e18 [ 0.000000] Call Trace: [ 0.000000] [] dump_stack+0x4d/0x66 [ 0.000000] [] warn_slowpath_common+0x73/0x90 [ 0.000000] [] warn_slowpath_fmt+0x47/0x50 [ 0.000000] [] ? rcu_check_callbacks+0x30f/0x7c0 [ 0.000000] [] warn_pre_alternatives+0x1e/0x20 [ 0.000000] [] irq_work_tick+0x15/0x50 [ 0.000000] [] update_process_times+0x56/0x70 [ 0.000000] [] tick_periodic+0x2b/0xc0 [ 0.000000] [] ? tick_handle_periodic+0x21/0x60 [ 0.000000] [] tick_handle_periodic+0x21/0x60 [ 0.000000] [] timer_interrupt+0x10/0x20 [ 0.000000] [] handle_irq_event_percpu+0x64/0x110 [ 0.000000] [] handle_irq_event+0x38/0x60 [ 0.000000] [] handle_level_irq+0x74/0x110 [ 0.000000] [] handle_irq+0x58/0x150 [ 0.000000] [] ? vtime_account_idle+0x9/0x50 [ 0.000000] [] ? vtime_common_account_irq_enter+0x3d/0x50 [ 0.000000] [] do_IRQ+0x48/0xe0 [ 0.000000] [] common_interrupt+0x6d/0x6d [ 0.000000] [] ? native_restore_fl+0x6/0x10 [ 0.000000] [] _raw_spin_unlock_irqrestore+0x31/0x40 [ 0.000000] [] __setup_irq+0x255/0x580 [ 0.000000] [] setup_irq+0x3c/0xa0 [ 0.000000] [] ? hpet_enable+0x29a/0x2cb [ 0.000000] [] setup_default_timer_irq+0x1e/0x20 [ 0.000000] [] hpet_time_init+0x17/0x19 [ 0.000000] [] x86_late_time_init+0xa/0x11 [ 0.000000] [] start_kernel+0x383/0x3f8 [ 0.000000] [] ? early_idt_handlers+0x120/0x120 [ 0.000000] [] x86_64_start_reservations+0x2a/0x2c [ 0.000000] [] x86_64_start_kernel+0xd7/0xe4 [ 0.000000] ---[ end trace cb88537fdc8fa200 ]--- [ 0.000000] ------------[ cut here ]------------ git bisect start dd99eb9cdf126e4bf8c300a996898a5aa399db85 2ce7598c9a453e0acd0e07be7be3f5eb39608ebd -- git bisect bad bf34e9247e01e5153869dc6ee4715de77e600745 # 11:12 0- 20 Merge 'net-next/master' into devel-jaketown-x86_64-201409110453 git bisect good 7821d579938ceb38ad19f75006fc5efd2b4f38d1 # 11:18 20+ 1 0day base guard for 'devel-jaketown-x86_64-201409110453' git bisect bad 0b0df9331828354adf81afa7a92e28580e4aadc7 # 11:18 0- 20 Merge 'dynticks/nohz/fixes-v2' into devel-jaketown-x86_64-201409110453 git bisect good ec4143ad1b713602bef0728d3c42ae693548007f # 11:31 20+ 1 irq_work: Introduce arch_irq_work_has_interrupt() git bisect bad 664c05b9ab2dd92aad807bd7f9aa273955949abe # 11:34 0- 20 nohz: Consolidate nohz full init code git bisect good e38e18b0b0842df0edbcf66c0693bef28a4da72f # 11:38 20+ 3 irq_work: Force raised irq work to run on irq work interrupt git bisect good ed1fb75de3369d4d27a1dfa15724bc3d47a97c7b # 11:42 20+ 0 arm64: Tell irq work about self IPI support # first bad commit: [664c05b9ab2dd92aad807bd7f9aa273955949abe] nohz: Consolidate nohz full init code git bisect good ed1fb75de3369d4d27a1dfa15724bc3d47a97c7b # 11:44 60+ 0 arm64: Tell irq work about self IPI support git bisect bad dd99eb9cdf126e4bf8c300a996898a5aa399db85 # 11:44 0- 23 0day head guard for 'devel-jaketown-x86_64-201409110453' git bisect good 7ec62d421bdf29cb31101ae2689f7f3a9906289a # 11:46 60+ 3 Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs git bisect good 761f8e4d3d729b5d654374ac867b00bfd059362f # 11:49 60+ 7 Add linux-next specific files for 20140910 This script may reproduce the error. ---------------------------------------------------------------------------- #!/bin/bash kernel=$1 kvm=( qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel $kernel -m 320 -smp 2 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -serial stdio -display none -monitor null ) append=( hung_task_panic=1 earlyprintk=ttyS0,115200 debug apic=debug sysrq_always_enabled rcupdate.rcu_cpu_stall_timeout=100 panic=-1 softlockup_panic=1 nmi_watchdog=panic oops=panic load_ramdisk=2 prompt_ramdisk=0 console=ttyS0,115200 console=tty0 vga=normal root=/dev/ram0 rw drbd.minor_count=8 ) "${kvm[@]}" --append "${append[*]}" ---------------------------------------------------------------------------- Thanks, Fengguang _______________________________________________ LKP mailing list LKP(a)linux.intel.com