Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
git://git.collabora.co.uk/git/user/tomeu/linux.git on-demand-probes-v7
commit 8ea9d35082dd906c11679a77fbe35ef40e27a393
Author: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
AuthorDate: Tue Aug 11 10:07:10 2015 +0200
Commit: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
CommitDate: Thu Sep 10 16:54:14 2015 +0200
of/platform: Point to struct device from device node
When adding a platform device, set the device node's device member to
point to it.
This speeds lookups considerably and is safe because we only create one
platform device for any given device node.
Signed-off-by: Tomeu Vizoso <tomeu.vizoso(a)collabora.com>
+--------------------------------------------------------+------------+------------+------------+
| | 1dd2ec2649 | 8ea9d35082 |
ebe876e33f |
+--------------------------------------------------------+------------+------------+------------+
| boot_successes | 63 | 0 | 0
|
| boot_failures | 0 | 22 | 13
|
| WARNING:at_fs/kernfs/dir.c:#kernfs_remove_by_name_ns() | 0 | 22 | 13
|
| WARNING:at_fs/sysfs/dir.c:#sysfs_warn_dup() | 0 | 22 | 12
|
| backtrace:of_unittest | 0 | 22 | 13
|
| backtrace:kernel_init_freeable | 0 | 22 | 13
|
| BUG:unable_to_handle_kernel | 0 | 0 | 1
|
| Oops | 0 | 0 | 1
|
| EIP_is_at__device_release_driver | 0 | 0 | 1
|
| Kernel_panic-not_syncing:Fatal_exception | 0 | 0 | 1
|
+--------------------------------------------------------+------------+------------+------------+
[ 4.283141] ### dt-test ### FAIL of_unittest_platform_populate():812 device didn't
get destroyed 'dev'
[ 4.283905] ### dt-test ### FAIL of_unittest_platform_populate():812 device didn't
get destroyed 'dev'
[ 4.285495] ------------[ cut here ]------------
[ 4.285886] WARNING: CPU: 1 PID: 1 at fs/kernfs/dir.c:1276
kernfs_remove_by_name_ns+0x46/0xb6()
[ 4.286734] kernfs: can not remove 'driver', no directory
[ 4.287180] Modules linked in:
[ 4.287451] CPU: 1 PID: 1 Comm: swapper/0 Not tainted
4.2.0-next-20150910-00004-g8ea9d35 #2
[ 4.288134] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
1.7.5-20140531_083030-gandalf 04/01/2014
[ 4.288960] 00000001 00000000 00000001 8010dc10 8141e2bd 8010dc3c 00000001 81b0bf24
[ 4.289701] 8010dc2c 8106ae34 000004fc 8129dc5d 00000001 00000000 81aecea4 8010dc44
[ 4.290443] 8106ae76 00000009 8010dc3c 81b0bfe2 8010dc58 8010dc6c 8129dc5d 81b0bf24
[ 4.291183] Call Trace:
[ 4.291395] [<8141e2bd>] dump_stack+0x7b/0xf0
[ 4.291763] [<8106ae34>] warn_slowpath_common+0xb7/0xce
[ 4.292214] [<8129dc5d>] ? kernfs_remove_by_name_ns+0x46/0xb6
[ 4.292695] [<8106ae76>] warn_slowpath_fmt+0x2b/0x2f
[ 4.293114] [<8129dc5d>] kernfs_remove_by_name_ns+0x46/0xb6
[ 4.293578] [<812a0733>] sysfs_remove_link+0x36/0x3a
[ 4.293997] [<8155d555>] driver_sysfs_remove+0x45/0x49
[ 4.294429] [<8155e479>] __device_release_driver+0x61/0x184
[ 4.294892] [<8155e5bb>] device_release_driver+0x1f/0x2a
[ 4.295348] [<8155ccef>] bus_remove_device+0x198/0x1af
[ 4.295778] [<81559225>] device_del+0x1d9/0x285
[ 4.296162] [<81559225>] ? device_del+0x1d9/0x285
[ 4.296555] [<8155839a>] ? put_device+0x2f/0x2f
[ 4.296936] [<81561041>] platform_device_del+0x32/0x92
[ 4.297372] [<815610b1>] platform_device_unregister+0x10/0x1a
[ 4.297852] [<816df685>] of_platform_device_destroy+0x90/0xab
[ 4.298339] [<816dfc17>] of_platform_notify+0x120/0x134
[ 4.298786] [<81090dd8>] notifier_call_chain+0x32/0x7b
[ 4.299226] [<8109131a>] __blocking_notifier_call_chain+0x48/0x5d
[ 4.299728] [<81091340>] blocking_notifier_call_chain+0x11/0x13
[ 4.300225] [<816e05ba>] of_reconfig_notify+0x16/0x2b
[ 4.300645] [<816e061b>] of_property_notify+0x4c/0x54
[ 4.301074] [<816e0670>] __of_changeset_entry_notify+0x4d/0xb5
[ 4.301561] [<8177b731>] ? __mutex_unlock_slowpath+0x230/0x250
[ 4.302056] [<816e0fc2>] of_changeset_apply+0x11d/0x181
[ 4.302495] [<816dc647>] ? of_get_next_child+0x34/0x3b
[ 4.302926] [<816e67c0>] ? of_overlay_apply_one+0x137/0x2ab
[ 4.303395] [<816e6f8d>] of_overlay_create+0x3b2/0x43f
[ 4.303823] [<816e6f8d>] ? of_overlay_create+0x3b2/0x43f
[ 4.304273] [<81705c8a>] of_unittest_apply_overlay+0x71/0xf8
[ 4.304791] [<81705e28>] of_unittest_apply_overlay_check+0x7e/0x116
[ 4.305323] [<81eefad6>] of_unittest+0x1203/0x21d5
[ 4.305730] [<810c5520>] ? debug_check_no_locks_freed+0x108/0x120
[ 4.306243] [<811eb1dc>] ? kfree+0x433/0x460
[ 4.306601] [<81000545>] do_one_initcall+0x188/0x293
[ 4.307021] [<81eee8d3>] ? of_unittest_platform_populate+0x6a5/0x6a5
[ 4.307545] [<81000545>] ? do_one_initcall+0x188/0x293
[ 4.307980] [<8108f229>] ? parse_args+0x4c5/0x59b
[ 4.308377] [<81e8d5e3>] ? initcall_blacklist+0xe5/0xe5
[ 4.308821] [<81e8e173>] kernel_init_freeable+0x1c4/0x286
[ 4.309277] [<81e8e173>] ? kernel_init_freeable+0x1c4/0x286
[ 4.309743] [<8176ec9c>] kernel_init+0xe/0x13e
[ 4.310124] [<8177e981>] ret_from_kernel_thread+0x21/0x30
[ 4.310573] [<8176ec8e>] ? rest_init+0xab/0xab
[ 4.310950] ---[ end trace bd7d5a1540808323 ]---
[ 4.311355] ### dt-test ### FAIL of_unittest_apply_overlay_check():1226 overlay
@"/testcase-data/overlay1" failed to create
@"/testcase-data/overlay-node/test-bus/test-unittest1" enabled
git bisect start ebe876e33f433844a589613b9cc90fa53f046961
22dc312d56ba077db27a9798b340e7d161f1df05 --
git bisect bad 2486b1ca93d8761f3641b2a7cdb3ec170ec84aba # 01:40 0- 19
drm/tegra: Probe dpaux devices on demand
git bisect bad e9b51fa1c2d3e2559fde5a01f983b14fafe1aacf # 01:46 0- 3 of: add
function to allow probing a device from a OF node
git bisect good fff867fe2684e3f6f76b21d6591c3fa6e5a82280 # 01:54 22+ 0 driver
core: Add pre_probe callback to bus_type
git bisect good 1dd2ec2649d71e55fc3084f5fe7c96538e9b716a # 02:00 22+ 0 ARM:
amba: Move reading of periphid to pre_probe()
git bisect bad 8ea9d35082dd906c11679a77fbe35ef40e27a393 # 02:05 0- 22
of/platform: Point to struct device from device node
# first bad commit: [8ea9d35082dd906c11679a77fbe35ef40e27a393] of/platform: Point to
struct device from device node
git bisect good 1dd2ec2649d71e55fc3084f5fe7c96538e9b716a # 02:09 63+ 0 ARM:
amba: Move reading of periphid to pre_probe()
# extra tests with DEBUG_INFO
git bisect bad 8ea9d35082dd906c11679a77fbe35ef40e27a393 # 02:13 0- 15
of/platform: Point to struct device from device node
# extra tests on HEAD of tomeu/on-demand-probes-v7
git bisect bad ebe876e33f433844a589613b9cc90fa53f046961 # 02:13 0- 13
of/platform: Defer probes of registered devices
# extra tests on tree/branch tomeu/on-demand-probes-v7
git bisect bad ebe876e33f433844a589613b9cc90fa53f046961 # 02:13 0- 13
of/platform: Defer probes of registered devices
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good b8889c4fc6ba03e289cec6a4d692f6f080a55e53 # 02:20 63+ 0 Merge
tag 'tty-4.3-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
# extra tests on tree/branch linux-next/master
git bisect good 22dc312d56ba077db27a9798b340e7d161f1df05 # 02:24 63+ 0 Add
linux-next specific files for 20150910
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 kvm64
-kernel $kernel
-initrd $initrd
-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