Re: 2.6.19-rc3-git7: scsi_device_unbusy: inconsistent lock state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mark Lord wrote:
Jens Axboe wrote:
..
diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c
index 4bae64e..da9bddf 100644
--- a/block/cfq-iosched.c
+++ b/block/cfq-iosched.c
..

It's still there.  I also see it with the SLES10 kernel 2.6.16.21-0.8.


[ INFO: inconsistent lock state ]
2.6.19-rc3-git7-ml #3
---------------------------------
inconsistent {in-softirq-W} -> {softirq-on-W} usage.
startproc/4046 [HC0[0]:SC0[0]:HE1:SE1] takes:
(&q->__queue_lock){-+..}, at: [<c0219091>] cfq_set_request+0x351/0x3b0
{in-softirq-W} state was registered at:
 [<c01376b1>] mark_lock+0x81/0x5f0
 [<c0138a90>] __lock_acquire+0x660/0xc10
 [<c013939d>] lock_acquire+0x5d/0x80
 [<c0361c59>] _spin_lock+0x29/0x40
 [<c029fa24>] scsi_device_unbusy+0x64/0x90
 [<c029a5bc>] scsi_finish_command+0x1c/0xa0
 [<c02115c2>] blk_done_softirq+0x62/0x70
 [<c0122a27>] __do_softirq+0x87/0x100
 [<c0122af5>] do_softirq+0x55/0x60
 [<c0122f3c>] ksoftirqd+0x7c/0xd0
 [<c0130f76>] kthread+0xf6/0x100
 [<c0103c6f>] kernel_thread_helper+0x7/0x18
 [<ffffffff>] 0xffffffff
irq event stamp: 3331
hardirqs last  enabled at (3331): [<c016326d>] kmem_cache_alloc+0x6d/0xa0
hardirqs last disabled at (3330): [<c016321f>] kmem_cache_alloc+0x1f/0xa0
softirqs last  enabled at (3012): [<c0122af5>] do_softirq+0x55/0x60
softirqs last disabled at (2971): [<c0122af5>] do_softirq+0x55/0x60

other info that might help us debug this:
no locks held by startproc/4046.

stack backtrace:
[<c0104042>] dump_trace+0x192/0x1c0
[<c0104088>] show_trace_log_lvl+0x18/0x30
[<c010483f>] show_trace+0xf/0x20
[<c01049a5>] dump_stack+0x15/0x20
[<c0137291>] print_usage_bug+0x251/0x270
[<c0137ae7>] mark_lock+0x4b7/0x5f0
[<c0138aae>] __lock_acquire+0x67e/0xc10
[<c013939d>] lock_acquire+0x5d/0x80
[<c0361c59>] _spin_lock+0x29/0x40
[<c0219091>] cfq_set_request+0x351/0x3b0
[<c020c7fc>] elv_set_request+0x1c/0x40
[<c020fcff>] get_request+0x23f/0x270
[<c0210537>] get_request_wait+0x27/0x120
[<c02107ca>] __make_request+0x5a/0x350
[<c020f40f>] generic_make_request+0x16f/0x220
[<c02117e4>] submit_bio+0x64/0x110
[<c018e969>] mpage_bio_submit+0x19/0x20
[<c018fe85>] mpage_readpages+0x105/0x140
[<c014d67f>] __do_page_cache_readahead+0x17f/0x260
[<c014d7d2>] blockable_page_cache_readahead+0x72/0xd0
[<c014da25>] page_cache_readahead+0x135/0x1e0
[<c01474ce>] do_generic_mapping_read+0x55e/0x5a0
[<c01496b1>] generic_file_aio_read+0x101/0x270
[<c01669b5>] do_sync_read+0xd5/0x120
[<c01672d1>] vfs_read+0xa1/0x160
[<c0167851>] sys_read+0x41/0x70
[<c0102f71>] sysenter_past_esp+0x56/0x8d
[<b7efd410>] 0xb7efd410
=======================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux