Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/jpoimboe/linux encode-2-2016-06-28-2
commit 58a997a7099cf09984251e5e63e329273e90f951
Author: Josh Poimboeuf <jpoimboe(a)redhat.com>
AuthorDate: Mon Jun 27 12:33:40 2016 -0500
Commit: Josh Poimboeuf <jpoimboe(a)redhat.com>
CommitDate: Tue Jun 28 00:16:38 2016 -0500
x86/dumpstack: simplify stack bounds checking
Always pass the stack end pointer to the 'ops->walk_stack()' callback,
which removes the need for the valid_stack_ptr() helper.
Signed-off-by: Josh Poimboeuf <jpoimboe(a)redhat.com>
+-----------------------------------------------+------------+------------+------------+
| | 3db0c18ce4 | 58a997a709 | 8492c2210b |
+-----------------------------------------------+------------+------------+------------+
| boot_successes | 67 | 0 | 0 |
| boot_failures | 0 | 26 | 21 |
| BUG:kernel_early-boot_hang_Booting_the_kernel | 0 | 26 | 21 |
+-----------------------------------------------+------------+------------+------------+
Booting the kernel.
Elapsed time: 310
BUG: kernel early-boot hang Booting the kernel.
Linux version 4.7.0-rc5-00398-g58a997a #2
Command line: hung_task_panic=1 earlyprintk=ttyS0,115200 systemd.log_level=err 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
link=/kbuild-tests/run-queue/kvm/i386-randconfig-h0-06282312/linux-devel:devel-spot-201606282203:58a997a7099cf09984251e5e63e329273e90f951:bisect-linux-2/.vmlinuz-58a997a7099cf09984251e5e63e329273e90f951-20160629071400-19-ivb41
branch=linux-devel/devel-spot-201606282203
BOOT_IMAGE=/pkg/linux/i386-randconfig-h0-06282312/gcc-6/58a997a7099cf09984251e5e63e329273e90f951/vmlinuz-4.7.0-rc5-00398-g58a997a
drbd.minor_count=8
qemu-system-x86_64 -enable-kvm -cpu kvm64 -kernel
/pkg/linux/i386-randconfig-h0-06282312/gcc-6/58a997a7099cf09984251e5e63e329273e90f951/vmlinuz-4.7.0-rc5-00398-g58a997a
-append 'hung_task_panic=1 earlyprintk=ttyS0,115200 systemd.log_level=err 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
link=/kbuild-tests/run-queue/kvm/i386-randconfig-h0-06282312/linux-devel:devel-spot-201606282203:58a997a7099cf09984251e5e63e329273e90f951:bisect-linux-2/.vmlinuz-58a997a7099cf09984251e5e63e329273e90f951-20160629071400-19-ivb41
branch=linux-devel/devel-spot-201606282203
BOOT_IMAGE=/pkg/linux/i386-randconfig-h0-06282312/gcc-6/58a997a7099cf09984251e5e63e329273e90f951/vmlinuz-4.7.0-rc5-00398-g58a997a
drbd.minor_count=8' -initrd /osimage/quantal/quantal-core-i386.cgz -m 300 -smp 2
-device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog
i6300esb -rtc base=localtime -drive
file=/fs/sda5/disk0-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk1-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk2-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk3-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk4-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk5-quantal-ivb41-115,media=disk,if=virtio -drive
file=/fs/sda5/disk6-quantal-ivb41-115,media=disk,if=virtio -pidfile
/dev/shm/kboot/pid-quantal-ivb41-115 -serial file:/dev/shm/kboot/serial-quantal-ivb41-115
-daemonize -display none -monitor null
git bisect start 8492c2210b3a310e40fe492a2742863b4afab7fd
4c2e07c6a29e0129e975727b9f57eede813eea85 --
git bisect bad 0400a4c504d528df9a0bc849758a477562706201 # 03:32 0- 15 Merge
'shawnguo/for-next' into devel-spot-201606282203
git bisect good 5df0ee1ab7869dfb9b237d3cb06e678acbcd5e74 # 03:57 22+ 2 Merge
'linux-review/Imre-Deak/drm-i915-Avoid-early-timeout-due-to-wait_for_atomic/20160628-184111'
into devel-spot-201606282203
git bisect good b205b1389801af9e85a06b8f2f44926d2ed0c965 # 04:07 22+ 0 Merge
'linux-review/Tan-Jui-Nee/x86-platform-p2sb-New-Primary-to-Sideband-bridge-support-driver-for-Intel-SOC-s/20160628-160704'
into devel-spot-201606282203
git bisect good 3600bcf06ad756cb952fd22aab4fb107aedc1876 # 04:41 22+ 0 Merge
'arc/for-next' into devel-spot-201606282203
git bisect bad b661a192c6ecdba888c1a02f00ad2e2902f2106d # 04:55 0- 1 Merge
'linux-review/James-Ban/regulator-da9211-add-descriptions-for-da9212-da9214/20160628-130806'
into devel-spot-201606282203
git bisect bad 816937cf767e4df15476e0e0f3ffe4db8b74a30a # 05:07 0- 22 Merge
'jpoimboe/encode-2-2016-06-28' into devel-spot-201606282203
git bisect good 06b1a204a21928e5e60f209907a9fad985369281 # 05:23 22+ 0 Merge
'linux-review/Namhyung-Kim/ftrace-Reduce-size-of-function-graph-entries/20160628-133516'
into devel-spot-201606282203
git bisect good bec1e33b7fd7a356bf87dbe7b40568481005a033 # 05:40 20+ 0 Merge
branch 'locking/arch-atomic'
git bisect good f5c0e72b0a72c98303b1a84390f024736bade6f9 # 05:55 22+ 0 Merge
branch 'x86/fpu'
git bisect good b17a9fa8d436ab40f03caea900b4a7cdb2e911f1 # 06:26 22+ 0 Merge
branch 'WIP.futex'
git bisect good b1153787403a4f4acf9ac7fd18af148869a23e70 # 06:33 22+ 0 timer:
Remove slack leftovers
git bisect good 49dbbca012a045c8be99067949d1d8cee08697e0 # 06:50 21+ 0 timer:
Optimization for same expiry time in mod_timer()
git bisect good d4ff9d34091e96a39d7a32045eedb3c9f4e41e59 # 07:05 22+ 0
x86/dumpstack: don't assume ftrace graph return address is reliable
git bisect bad 58a997a7099cf09984251e5e63e329273e90f951 # 07:19 0- 1
x86/dumpstack: simplify stack bounds checking
git bisect good 3db0c18ce48107252d8c83ca0e726b9257a52b3f # 07:53 21+ 0
x86/dumpstack: propagate errors from print_ftrace_graph_addr()
# first bad commit: [58a997a7099cf09984251e5e63e329273e90f951] x86/dumpstack: simplify
stack bounds checking
git bisect good 3db0c18ce48107252d8c83ca0e726b9257a52b3f # 07:57 61+ 0
x86/dumpstack: propagate errors from print_ftrace_graph_addr()
# extra tests on HEAD of linux-devel/devel-spot-201606282203
git bisect bad 8492c2210b3a310e40fe492a2742863b4afab7fd # 07:57 0- 21 0day
head guard for 'devel-spot-201606282203'
# extra tests on tree/branch jpoimboe/encode-2-2016-06-28-2
git bisect bad 03e2aef3cfbeff41e8a25a86e87fa4c9ce2df299 # 08:20 0- 56 fixme
# extra tests on tree/branch linus/master
git bisect good 02184c60eba8491ea574cd17b8ba766c86d468f2 # 09:05 63+ 2 Merge
tag 'for-v4.7-rc' of
git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation