lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Sat, 22 Nov 2014 10:42:31 -0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Pantelis Antoniou <pantelis.antoniou@...sulko.com>
Cc:	Grant Likely <grant.likely@...aro.org>, LKP <lkp@...org>,
	linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [spi/of] WARNING: CPU: 0 PID: 1 at drivers/spi/spi.c:2434 spi_init()

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/glikely/linux devicetree/next-overlay

commit 9b84294398291359d6c8f4ac4f36c7c666c6948a
Author:     Pantelis Antoniou <pantelis.antoniou@...sulko.com>
AuthorDate: Tue Oct 28 22:36:05 2014 +0200
Commit:     Grant Likely <grant.likely@...aro.org>
CommitDate: Fri Nov 21 16:51:58 2014 +0000

    spi/of: Add OF notifier handler
    
    Add OF notifier handler needed for creating/destroying spi devices
    according to dynamic runtime changes in the DT live tree. This code is
    enabled when CONFIG_OF_DYNAMIC is selected.
    
    Signed-off-by: Pantelis Antoniou <pantelis.antoniou@...sulko.com>
    Signed-off-by: Grant Likely <grant.likely@...aro.org>

+-----------------------------------------+------------+------------+------------+
|                                         | 528a376eb2 | 9b84294398 | 7ddde6bcf8 |
+-----------------------------------------+------------+------------+------------+
| boot_successes                          | 60         | 0          | 0          |
| boot_failures                           | 0          | 20         | 12         |
| WARNING:at_drivers/spi/spi.c:spi_init() | 0          | 20         | 12         |
| backtrace:spi_init                      | 0          | 20         | 12         |
| backtrace:warn_slowpath_null            | 0          | 20         | 12         |
| backtrace:kernel_init_freeable          | 0          | 20         | 12         |
+-----------------------------------------+------------+------------+------------+

[    0.157186] regulator-dummy: no parameters
[    0.158309] NET: Registered protocol family 16
[    0.160561] ------------[ cut here ]------------
[    0.161315] WARNING: CPU: 0 PID: 1 at drivers/spi/spi.c:2434 spi_init+0x5c/0x81()
[    0.162667] CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.0-rc5-00044-g9b84294 #6
[    0.167195]  00000000 00000000 51c75ef0 4160e32b 51c75f0c 4103776f 00000982 41abbd9c
[    0.168590]  00000000 41abbd40 51e60ea0 51c75f1c 41037817 00000009 00000000 51c75f28
[    0.170011]  41abbd9c 00000000 51c75f88 41a82c87 00000000 53ff7821 51c75f00 4104e04b
[    0.171428] Call Trace:
[    0.171820]  [<4160e32b>] dump_stack+0x16/0x18
[    0.172513]  [<4103776f>] warn_slowpath_common+0x61/0x78
[    0.173394]  [<41abbd9c>] ? spi_init+0x5c/0x81
[    0.174081]  [<41abbd40>] ? ftrace_define_fields_spi_transfer+0x85/0x85
[    0.175070]  [<41037817>] warn_slowpath_null+0x14/0x18
[    0.175871]  [<41abbd9c>] spi_init+0x5c/0x81
[    0.176584]  [<41a82c87>] do_one_initcall+0x100/0x1aa
[    0.177382]  [<4104e04b>] ? parse_args+0x2c7/0x3e1
[    0.178120]  [<41a82435>] ? do_early_param+0x73/0x73
[    0.178892]  [<41a82e0c>] kernel_init_freeable+0xdb/0x158
[    0.179736]  [<41a82e0c>] ? kernel_init_freeable+0xdb/0x158
[    0.180020]  [<4160ab57>] kernel_init+0xd/0xb8
[    0.180755]  [<41615980>] ret_from_kernel_thread+0x20/0x30
[    0.181634]  [<4160ab4a>] ? rest_init+0xa5/0xa5
[    0.182354] ---[ end trace d94d5f4e01dcfac4 ]---
[    0.210073] cpuidle: using governor menu

git bisect start 7ddde6bcf8a4f0d1ed5e4aa1738ac0a190c46342 0df1f2487d2f0d04703f142813d53615d62a1da4 --
git bisect good 53a4ab96c61a34d62717b1481f6043e0b4338d74  # 17:50     20+      0  of: Change of_device_is_available() to return bool
git bisect good 8c77e1164d2c04e401807d11c854484716c6e84f  # 17:52     20+      0  of/overlay: Add overlay unittests
git bisect good 0eec03c7fbec316b885ee158f0f57a618392cab5  # 17:56     20+      0  fixup of_platform
git bisect good 0b90f7808351f9d0c0a2ba6cd96f4246505b592b  # 17:59     20+      0  i2c: Add OF notifier handler
git bisect good 528a376eb2db8e9b18054ab4dee952b9dfddef57  # 18:03     20+      0  spi/of: Create new device registration method and accessors
git bisect  bad 9b84294398291359d6c8f4ac4f36c7c666c6948a  # 18:06      0-     20  spi/of: Add OF notifier handler
# first bad commit: [9b84294398291359d6c8f4ac4f36c7c666c6948a] spi/of: Add OF notifier handler
git bisect good 528a376eb2db8e9b18054ab4dee952b9dfddef57  # 18:09     60+      0  spi/of: Create new device registration method and accessors
git bisect  bad 7ddde6bcf8a4f0d1ed5e4aa1738ac0a190c46342  # 18:09      0-     12  HACK: Make overlay support user selectable
git bisect good 8a84e01e147f44111988f9d8ccd2eaa30215a0f2  # 18:12     60+      0  Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
git bisect good ed6778aef7428a6c5fc1acf08a3e9126f5eef770  # 18:16     60+      0  Add linux-next specific files for 20141121


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
	-enable-kvm
	-cpu Haswell,+smep,+smap
	-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-kbuild-21:20141122180322:i386-randconfig-ib0-11221632:3.18.0-rc5-00044-g9b84294:6" of type "text/plain" (47968 bytes)

View attachment "config-3.18.0-rc5-00044-g9b84294" of type "text/plain" (70892 bytes)

_______________________________________________
LKP mailing list
LKP@...ux.intel.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ