[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140219124241.GI7735@localhost>
Date: Wed, 19 Feb 2014 20:42:41 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Tejun Heo <tj@...nel.org>, linux-kernel@...r.kernel.org
Subject: [workqueue] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:710
__lock_acquire()
Greetings,
I got the below dmesg and the first bad commit is
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
commit 84604340d034a074036e86e85c4055a1c7ea5529
Author: Peter Zijlstra <peterz@...radead.org>
AuthorDate: Tue Feb 11 12:00:36 2014 +0100
Commit: Tejun Heo <tj@...nel.org>
CommitDate: Tue Feb 11 10:25:17 2014 -0500
workqueue: Fix workqueue lockdep name
Tommi noticed a 'funny' lock class name: "%s#5" from a lock acquired
in process_one_work(). It turns out that commit b196be89cdc14 forgot
to change the lockdep_init_map() when it changed the @lock_name
argument from a string to a format.
Fixes: b196be89cdc14 ("workqueue: make alloc_workqueue() take printf
fmt and args for name")
Reported-by: Tommi Rantala <tt.rantala@...il.com>
Signed-off-by: Peter Zijlstra <peterz@...radead.org>
Signed-off-by: Tejun Heo <tj@...nel.org>
Cc: stable@...r.kernel.org
[ 7.150365] Loading Adaptec I2O RAID: Version 2.4 Build 5go
[ 7.151212] Detecting Adaptec I2O RAID controllers...
[ 7.153240] ------------[ cut here ]------------
[ 7.153979] WARNING: CPU: 0 PID: 1 at kernel/locking/lockdep.c:710 __lock_acquire+0x1d5/0x8c6()
[ 7.154489] CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.0-rc2-next-20140212-02309-g4602175 #3
[ 7.154489] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 7.154489] 00000001 00000000 bf445cec b29f23f5 bf445d04 b10a95f9 b10fa388 b4544b80
[ 7.154489] b02b60b0 bf42e000 bf445d14 b10a96a1 00000009 00000000 bf445d48 b10fa388
[ 7.154489] 00000006 bf42e000 00000000 bf445e14 bf445d3c b10f92d0 00000000 bf42e4e0
[ 7.154489] Call Trace:
[ 7.154489] [<b29f23f5>] dump_stack+0x16/0x18
[ 7.154489] [<b10a95f9>] warn_slowpath_common+0x72/0x89
[ 7.154489] [<b10fa388>] ? __lock_acquire+0x1d5/0x8c6
[ 7.154489] [<b10a96a1>] warn_slowpath_null+0x14/0x18
[ 7.154489] [<b10fa388>] __lock_acquire+0x1d5/0x8c6
[ 7.154489] [<b10f92d0>] ? trace_hardirqs_on_caller+0x155/0x16f
[ 7.154489] [<b10fbaf6>] lock_acquire+0x9e/0x157
[ 7.154489] [<b10cb8f3>] ? flush_workqueue+0x6b/0x98b
[ 7.154489] [<b10cb913>] flush_workqueue+0x8b/0x98b
[ 7.154489] [<b10cb8f3>] ? flush_workqueue+0x6b/0x98b
[ 7.154489] [<b10cc286>] drain_workqueue+0x73/0x333
[ 7.154489] [<b10f92f5>] ? trace_hardirqs_on+0xb/0xd
[ 7.154489] [<b10cdaa2>] destroy_workqueue+0x15/0x4c8
[ 7.154489] [<b1a58172>] scsi_host_dev_release+0x73/0x15b
[ 7.154489] [<b198ae57>] device_release+0x6f/0xf0
[ 7.154489] [<b17cffd5>] kobject_cleanup+0xa9/0xd1
[ 7.154489] [<b17cfe7b>] kobject_put+0xb2/0xb7
[ 7.154489] [<b198bbe5>] put_device+0x2a/0x2c
[ 7.154489] [<b1a58d87>] scsi_unregister+0x37/0x39
[ 7.154489] [<b41c85c1>] aha1542_detect+0xc2a/0xc42
[ 7.154489] [<b18f16d8>] ? pnp_find_dev+0xb4/0x185
[ 7.154489] [<b41c7890>] ? aha1542_in+0xaf/0xaf
[ 7.154489] [<b41c78fb>] init_this_scsi_driver+0x6b/0x107
[ 7.154489] [<b41c7890>] ? aha1542_in+0xaf/0xaf
[ 7.154489] [<b415fea3>] do_one_initcall+0x81/0x176
[ 7.154489] [<b415f500>] ? repair_env_string+0x3/0x9d
[ 7.154489] [<b10d1cb3>] ? parse_args+0x2e8/0x3a1
[ 7.154489] [<b416013f>] kernel_init_freeable+0x1a7/0x26d
[ 7.154489] [<b29be100>] kernel_init+0xe/0x13e
[ 7.154489] [<b2a1d63b>] ret_from_kernel_thread+0x1b/0x30
[ 7.154489] [<b29be0f2>] ? rest_init+0x131/0x131
[ 7.154489] ---[ end trace 77d6546bd913b153 ]---
[ 7.181862] NCR53c406a: no available ports found
git bisect start d80813ed6679ea0be2d054f2e2085699d1493978 v3.13 --
git bisect good aa2e7100e38880db7907cb2b7ec6267b2b243771 # 12:53 21+ 61 Merge branch 'akpm' (patches from Andrew Morton)
git bisect good dd178a56e226296988cd5a6f3499f07f259b4631 # 14:30 21+ 61 Merge remote-tracking branch 'char-misc.current/char-misc-linus'
git bisect good b19abf9906eda1d49591a117d2315b02a8a58fa8 # 15:25 21+ 61 Merge remote-tracking branch 'slave-dma/next'
git bisect good 9341660bd894be14c9dd67cbd36588aa25dd377e # 18:23 21+ 61 Merge remote-tracking branch 'devicetree/devicetree/next'
git bisect bad 522e2050f3a977119a1865b18052351c224bf171 # 18:23 0- 39 Merge remote-tracking branch 'leds/for-next'
git bisect good e2cc5d720204e37334aeb329cb7a739d0f235498 # 19:03 31+ 71 Merge remote-tracking branch 'rcu/rcu/next'
git bisect good d66402d9b6333251a1f5f7f7fff3319ba99b6038 # 19:31 31+ 70 Merge remote-tracking branch 'percpu/for-next'
git bisect bad aa6ce92d60439f2d2af8879350e4cae414b7f23b # 19:31 0- 38 Merge remote-tracking branch 'workqueues/for-next'
git bisect bad 84604340d034a074036e86e85c4055a1c7ea5529 # 19:32 0- 39 workqueue: Fix workqueue lockdep name
# first bad commit: [84604340d034a074036e86e85c4055a1c7ea5529] workqueue: Fix workqueue lockdep name
git bisect good 38dbfb59d1175ef458d006556061adeaa8751b72 # 20:35 93+ 243 Linus 3.14-rc1
git bisect bad 460217583c934110865a2f5dce5e1b5c98835a46 # 20:35 0- 29 Add linux-next specific files for 20140212
git bisect good 5af25fcc4384df9e5558f46bb93fca3e0d760a97 # 21:03 93+ 93 Revert "workqueue: Fix workqueue lockdep name"
git bisect bad ca033390a537dacdc2127c66d62e7862ad15ffdb # 22:00 92- 93 Merge tag 'usb-3.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good da8d308fbdb8360078786b3e125238122c4fc611 # 03:19 940+ 940 Add linux-next specific files for 20140214
Thanks,
Fengguang
View attachment "dmesg-yocto-cairo-7:20140212143146:i386-randconfig-c1-02121350:3.14.0-rc2-next-20140212-02309-g4602175:3" of type "text/plain" (47045 bytes)
Download attachment "i386-randconfig-c1-02121350-460217583c934110865a2f5dce5e1b5c98835a46-init_this_scsi_driver+-x-71493.log" of type "application/octet-stream" (44434 bytes)
View attachment "config-3.14.0-rc2-next-20140212-02309-g4602175" of type "text/plain" (112121 bytes)
_______________________________________________
LKP mailing list
LKP@...ux.intel.com
Powered by blists - more mailing lists