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]
Message-ID: <20141128100737.GA8289@wfg-t540p.sh.intel.com>
Date:	Fri, 28 Nov 2014 02:07:37 -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:2419 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

commit ce79d54ae447d65117303ca9f61ffe9dcbc2465d
Author:     Pantelis Antoniou <pantelis.antoniou@...sulko.com>
AuthorDate: Tue Oct 28 22:36:05 2014 +0200
Commit:     Grant Likely <grant.likely@...aro.org>
CommitDate: Tue Nov 25 15:36:24 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>
    Reviewed-by: Mark Brown <broonie@...nel.org>
    Cc: <linux-spi@...r.kernel.org>

+------------------------------------------+------------+------------+------------+
|                                          | aff5e3f89a | ce79d54ae4 | 394b0904b6 |
+------------------------------------------+------------+------------+------------+
| boot_successes                           | 60         | 0          | 0          |
| boot_failures                            | 0          | 20         | 14         |
| WARNING:at_drivers/spi/spi.c:#spi_init() | 0          | 20         | 14         |
| backtrace:spi_init                       | 0          | 20         | 14         |
| backtrace:warn_slowpath_null             | 0          | 20         | 14         |
| backtrace:kernel_init_freeable           | 0          | 20         | 14         |
| page_allocation_failure:order:#,mode     | 0          | 1          |            |
| backtrace:vmalloc                        | 0          | 1          |            |
| backtrace:SyS_init_module                | 0          | 1          |            |
+------------------------------------------+------------+------------+------------+

[    0.083682] regulator-dummy: no parameters
[    0.084524] NET: Registered protocol family 16
[    0.085741] ------------[ cut here ]------------
[    0.086403] WARNING: CPU: 0 PID: 1 at drivers/spi/spi.c:2419 spi_init+0xa9/0xd0()
[    0.087647] Modules linked in:
[    0.088216] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.0-rc6-00033-gce79d54 #113
[    0.089562] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[    0.090014]  00000001 00000000 00000001 d342bef0 c176d4b3 00000000 00000000 c1c165ed
[    0.091632]  d342bf0c c1057020 00000973 c1fcb187 00000000 d34029d0 c1cae680 d342bf1c
[    0.093223]  c105709b 00000009 00000000 d342bf28 c1fcb187 00000000 d342bf8c c10004e5
[    0.094826] Call Trace:
[    0.095277]  [<c176d4b3>] dump_stack+0x78/0xa8
[    0.095931]  [<c1057020>] warn_slowpath_common+0x7e/0x95
[    0.096663]  [<c1fcb187>] ? spi_init+0xa9/0xd0
[    0.097307]  [<c105709b>] warn_slowpath_null+0xf/0x13
[    0.098019]  [<c1fcb187>] spi_init+0xa9/0xd0
[    0.098656]  [<c10004e5>] do_one_initcall+0x132/0x218
[    0.099365]  [<c1fcb0de>] ? ftrace_define_fields_spi_master+0x35/0x35
[    0.100008]  [<c1f7b500>] ? initcall_blacklist+0x2a/0x96
[    0.100744]  [<c1076520>] ? parse_args+0x334/0x3f6
[    0.101435]  [<c1f7bf61>] kernel_init_freeable+0x19a/0x25c
[    0.102185]  [<c1769ba4>] kernel_init+0x9/0x13c
[    0.102837]  [<c1777401>] ret_from_kernel_thread+0x21/0x30
[    0.103587]  [<c1769b9b>] ? rest_init+0xa5/0xa5
[    0.104245] ---[ end trace e27f70e68b83202c ]---
[    0.105000] EISA bus registered

git bisect start 394b0904b6b812bf7c3cb75bc81e910e58b0d44a 5d01410fe4d92081f349b013a2e7a95429e4f2c9 --
git bisect  bad b119a9cf315b27f39a7af0869c508e30cc2bc438  # 06:15      0-     12  Merge 'cdall-kvm-arm/vcpu_init_fixes' into devel-lkp-ib03-smoke-201411280554
git bisect  bad 7959073eeb45f3c359f9af7e906d495258ddc579  # 06:20      0-     20  Merge 'glikely/devicetree/next' into devel-lkp-ib03-smoke-201411280554
git bisect good a33e66ee6a821d4b9a0ed82f72439ec807ac8051  # 06:27     20+      0  0day base guard for 'devel-lkp-ib03-smoke-201411280554'
git bisect good 2d0747c4b68be8eb8ccfa2c538f2f5dd2ea89094  # 06:33     20+      0  of: Properly set the OF_POPULATED_BUS flag on root node
git bisect good 801d728c10db4b28e01590b46bf1f0df930760cc  # 06:38     20+      0  of/reconfig: Add OF_DYNAMIC notifier for platform_bus_type
git bisect good aff5e3f89a0b07e7edf9243f913378cc27e4110d  # 06:42     20+      0  spi/of: Create new device registration method and accessors
git bisect  bad 65d473b8007b4ef9f2a5e52f39c52d2141dfd421  # 06:47      0-     20  of: remove select of non-existant OF_DEVICE config symbol
git bisect  bad ce79d54ae447d65117303ca9f61ffe9dcbc2465d  # 06:53      0-     20  spi/of: Add OF notifier handler
# first bad commit: [ce79d54ae447d65117303ca9f61ffe9dcbc2465d] spi/of: Add OF notifier handler
git bisect good aff5e3f89a0b07e7edf9243f913378cc27e4110d  # 06:55     60+      0  spi/of: Create new device registration method and accessors
# extra tests on HEAD of linux-devel/devel-lkp-ib03-smoke-201411280554
git bisect  bad 394b0904b6b812bf7c3cb75bc81e910e58b0d44a  # 06:55      0-     14  0day head guard for 'devel-lkp-ib03-smoke-201411280554'
# extra tests on tree/branch glikely/devicetree/next
git bisect  bad a81a6c654bbe129af529d11b4763367af90d1152  # 07:01      0-      4  ARM: dt: fix up PL011 device tree bindings
# extra tests on tree/branch linus/master
git bisect good 3314bf6ba2ac8f1a2dd0d55a980835a258f1a45d  # 08:10     60+      0  Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
# extra tests on tree/branch next/master
git bisect  bad 3bcf494d225fd193d02e8cb2e2c3fe3cc476ff3f  # 08:11      0-     12  Add linux-next specific files for 20141127


This script may reproduce the error.

----------------------------------------------------------------------------
#!/bin/bash

kernel=$1
initrd=yocto-minimal-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 1
	-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-yocto-vp-31:20141128065312:i386-randconfig-ib0-11280546:3.18.0-rc6-00033-gce79d54:113" of type "text/plain" (53857 bytes)

View attachment "config-3.18.0-rc6-00033-gce79d54" of type "text/plain" (98331 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ