[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150205053559.GA3460@wfg-t540p.sh.intel.com>
Date: Wed, 4 Feb 2015 21:35:59 -0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Kees Cook <keescook@...omium.org>
Cc: LKP <lkp@...org>, linux-kernel@...r.kernel.org
Subject: [debug] WARNING: CPU: 0 PID: 0 at init/main.c:689 start_kernel()
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git revert-eb316c41f6ff400a782fd3ef86797dee467d1f78-eb316c41f6ff400a782fd3ef86797dee467d1f78
commit eb316c41f6ff400a782fd3ef86797dee467d1f78
Author: Kees Cook <keescook@...omium.org>
AuthorDate: Thu Jan 15 16:47:03 2015 -0800
Commit: Kees Cook <keescook@...omium.org>
CommitDate: Wed Feb 4 14:55:21 2015 -0800
DEBUG: testing weak symbols during relocation
This is to report weak symbol locations after relocation.
Signed-off-by: Kees Cook <keescook@...omium.org>
+----------------------------------------+------------+------------+------------+
| | 5ee0e96260 | eb316c41f6 | 327f3a5185 |
+----------------------------------------+------------+------------+------------+
| boot_successes | 60 | 0 | 0 |
| boot_failures | 0 | 20 | 14 |
| WARNING:at_init/main.c:#start_kernel() | 0 | 20 | 14 |
+----------------------------------------+------------+------------+------------+
[ 0.021515] ftrace: allocating 17223 entries in 34 pages
[ 0.028011] nosuchfn = 05600000
[ 0.028396] ------------[ cut here ]------------
[ 0.028926] WARNING: CPU: 0 PID: 0 at init/main.c:689 start_kernel+0x3a5/0x3b1()
[ 0.029929] Modules linked in:
[ 0.032045] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.19.0-rc7-geb316c4 #1720
[ 0.032877] 00000000 00000000 86afbfa8 86900974 00000000 86afbfc4 8663314c 000002b1
[ 0.033880] 86b4baaf 00000000 00020800 86b19664 86afbfd4 866331d6 00000009 00000000
[ 0.034875] 86afbfe8 86b4baaf 86b84100 00000800 86bbe800 86afbff8 86b4b2af 00000800
[ 0.035869] Call Trace:
[ 0.036011] [<86900974>] dump_stack+0x48/0x60
[ 0.036517] [<8663314c>] warn_slowpath_common+0x89/0xa0
[ 0.037128] [<86b4baaf>] ? start_kernel+0x3a5/0x3b1
[ 0.037689] [<866331d6>] warn_slowpath_null+0x14/0x18
[ 0.038267] [<86b4baaf>] start_kernel+0x3a5/0x3b1
[ 0.038811] [<86b4b2af>] i386_start_kernel+0x79/0x7d
[ 0.039395] ---[ end trace cb88537fdc8fa200 ]---
[ 0.040152] Getting VERSION: 1050014
git bisect start 327f3a5185f145791560fd6b8b1044076e9af87d e36f014edff70fc02b3d3d79cead1d58f289332e --
git bisect bad 5b42eaf6e8539e1f2cc8367c08980ec14f07d917 # 08:36 0- 17 Merge 'kees/nak/proc-r' into devel-roam-rand-201502050809
git bisect bad b2e4672770aaf97cef9e8e09a8b234e0af91f152 # 08:40 0- 20 Merge 'kees/lsm/mnt-restrict' into devel-roam-rand-201502050809
git bisect good d7ebbef0836f6169beb657cbe3a170f175de2223 # 08:42 20+ 0 Merge 'pm/bleeding-edge' into devel-roam-rand-201502050809
git bisect good ed5875157ca23aac62f6c331d6ebd9badc96ce21 # 08:47 20+ 0 Merge 'kees/kaslr/bss' into devel-roam-rand-201502050809
git bisect bad 5af6e8cc367c2f48a0f30c07dd59a4c3f6dbee69 # 08:49 0- 20 Merge 'kees/kaslr/weak' into devel-roam-rand-201502050809
git bisect bad eb316c41f6ff400a782fd3ef86797dee467d1f78 # 08:57 0- 20 DEBUG: testing weak symbols during relocation
# first bad commit: [eb316c41f6ff400a782fd3ef86797dee467d1f78] DEBUG: testing weak symbols during relocation
git bisect good 5ee0e962603ef7d41d8e6581963c8557501dfcad # 09:02 60+ 0 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
# extra tests with DEBUG_INFO
git bisect good eb316c41f6ff400a782fd3ef86797dee467d1f78 # 09:05 60+ 60 DEBUG: testing weak symbols during relocation
# extra tests on HEAD of linux-devel/devel-roam-rand-201502050809
git bisect bad 327f3a5185f145791560fd6b8b1044076e9af87d # 09:05 0- 14 0day head guard for 'devel-roam-rand-201502050809'
# extra tests on tree/branch kees/kaslr/weak
git bisect bad eb316c41f6ff400a782fd3ef86797dee467d1f78 # 09:13 0- 20 DEBUG: testing weak symbols during relocation
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good 5ee0e962603ef7d41d8e6581963c8557501dfcad # 09:15 60+ 0 Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
# extra tests on tree/branch next/master
git bisect good df9f91e1a7435dbab885542039a0f273ca2dc8fd # 09:17 60+ 0 Add linux-next specific files for 20150204
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-i386.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-cpu kvm64
-enable-kvm
-kernel $kernel
-initrd $initrd
-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
View attachment "dmesg-quantal-client7-12:20150205085726:i386-randconfig-r0-0202:3.19.0-rc7-geb316c4:1720" of type "text/plain" (34701 bytes)
View attachment "config-3.19.0-rc7-geb316c4" of type "text/plain" (60424 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists