On Wed, Feb 20, 2008 at 12:03:21PM -0600, Mike Christie wrote:
> Micha? Miros?aw wrote:
> > I found a deadlock in iSCSI while tearing down connection of an
> > actively used device (as one of dm-multipath paths). Connection is
> > made between Linux 2.6.24.2 (from kernel.org) and Cisco MDS 9216i. Is
> > this BUG already known (and maybe fixed in newer release)? It's
> > perfectly reproducible here.
> This will be fixed in 2.6.25 and the next release of the open-iscsi.org 
> release (here is the current test release for that 
> http://www.open-iscsi.org/bits/open-iscsi-2.0-868-test1.tar.gz).

With above version system no longer deadlocks, but there still is a
problem detected by lockdep. Kernel log attached.

Best Regards,
Michal Miroslaw

Feb 21 11:30:30 sanmgt kernel: sd 3:0:0:0: [sdi] Synchronizing SCSI cache
Feb 21 11:30:30 sanmgt kernel: sd 3:0:0:1: [sdj] Synchronizing SCSI cache
Feb 21 11:30:30 sanmgt kernel: device-mapper: multipath: Failing path 8:144.
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: 
=======================================================
Feb 21 11:30:30 sanmgt kernel: [ INFO: possible circular locking dependency 
detected ]
Feb 21 11:30:30 sanmgt kernel: 2.6.24.2 #6
Feb 21 11:30:30 sanmgt kernel: 
-------------------------------------------------------
Feb 21 11:30:30 sanmgt kernel: iscsid/18988 is trying to acquire lock:
Feb 21 11:30:30 sanmgt kernel:  ((ihost->scan_workq_name)){--..}, at: 
[<c012adc1>] cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: but task is already holding lock:
Feb 21 11:30:30 sanmgt kernel:  (attribute_container_mutex){--..}, at: 
[<c02618b0>] attribute_container_device_trigger+0x17/0x9a
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: which lock already depends on the new lock.
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: the existing dependency chain (in reverse order) 
is:
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: -> #4 (attribute_container_mutex){--..}:
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c01383bd>] check_prev_add+0xc4/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c0172540>] dentry_iput+0x94/0xa3
Feb 21 11:30:30 sanmgt kernel:        [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:        [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:        [<c0176b48>] mntput_no_expire+0x11/0x63
Feb 21 11:30:30 sanmgt kernel:        [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c03925da>] mutex_lock_nested+0x107/0x2a1
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c01373e0>] 
lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c0139265>] mark_held_locks+0x46/0x64
Feb 21 11:30:30 sanmgt kernel:        [<c02616ed>] 
attribute_container_add_device+0x19/0x10c
Feb 21 11:30:30 sanmgt kernel:        [<c0261aab>] 
transport_setup_classdev+0x0/0x1a
Feb 21 11:30:30 sanmgt kernel:        [<c0294ebf>] scsi_alloc_target+0x161/0x295
Feb 21 11:30:30 sanmgt kernel:        [<c02961df>] __scsi_scan_target+0x57/0xe9
Feb 21 11:30:30 sanmgt kernel:        [<c029642f>] 
scsi_scan_host_selected+0x92/0xf9
Feb 21 11:30:30 sanmgt kernel:        [<c029636b>] scsi_scan_channel+0x4f/0x81
Feb 21 11:30:30 sanmgt kernel:        [<c0296464>] 
scsi_scan_host_selected+0xc7/0xf9
Feb 21 11:30:30 sanmgt kernel:        [<c0391e67>] 
__sched_text_start+0x3e7/0x41c
Feb 21 11:30:30 sanmgt kernel:        [<c0393ad2>] 
_spin_unlock_irqrestore+0x38/0x3d
Feb 21 11:30:30 sanmgt kernel:        [<c0296758>] do_scan_async+0x0/0x16
Feb 21 11:30:30 sanmgt kernel:        [<c0296753>] do_scsi_scan_host+0x64/0x69
Feb 21 11:30:30 sanmgt kernel:        [<c0296758>] do_scan_async+0x0/0x16
Feb 21 11:30:30 sanmgt kernel:        [<c0296763>] do_scan_async+0xb/0x16
Feb 21 11:30:30 sanmgt kernel:        [<c012d74f>] kthread+0x34/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c012d71b>] kthread+0x0/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c010332f>] kernel_thread_helper+0x7/0x10
Feb 21 11:30:30 sanmgt kernel:        [<ffffffff>] 0xffffffff
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: -> #3 (&shost->scan_mutex){--..}:
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<c01383bd>] check_prev_add+0xc4/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<c013743f>] save_trace+0x35/0x87
Feb 21 11:30:30 sanmgt kernel:        [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:        [<f8b8be4c>] iscsi_user_scan+0x1f/0x81 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c013a4e8>] __lock_acquire+0x712/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:        [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<c03925da>] mutex_lock_nested+0x107/0x2a1
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<f8b8be4c>] iscsi_user_scan+0x1f/0x81 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c02962d5>] scsi_scan_target+0x64/0xab
Feb 21 11:30:30 sanmgt kernel:        [<f8b8be89>] iscsi_user_scan+0x5c/0x81 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c0296a35>] scsi_scan+0xa5/0xc5
Feb 21 11:30:30 sanmgt kernel:        [<c0296a62>] store_scan+0xd/0x14
Feb 21 11:30:30 sanmgt kernel:        [<c0296a55>] store_scan+0x0/0x14
Feb 21 11:30:30 sanmgt kernel:        [<c025fb27>] 
class_device_attr_store+0x19/0x21
Feb 21 11:30:30 sanmgt kernel:        [<c019b88f>] flush_write_buffer+0x3c/0x50
Feb 21 11:30:30 sanmgt kernel:        [<c019b8da>] sysfs_write_file+0x37/0x56
Feb 21 11:30:30 sanmgt kernel:        [<c0163e1e>] vfs_write+0xae/0x158
Feb 21 11:30:30 sanmgt kernel:        [<c0163f70>] sys_write+0x41/0x67
Feb 21 11:30:30 sanmgt kernel:        [<c01026a6>] syscall_call+0x7/0xb
Feb 21 11:30:30 sanmgt kernel:        [<ffffffff>] 0xffffffff
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: -> #2 (&ihost->mutex){--..}:
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c01383bd>] check_prev_add+0xc4/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c012be74>] 
__kernel_text_address+0x18/0x23
Feb 21 11:30:30 sanmgt kernel:        [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:        [<c010853c>] save_stack_trace+0x1f/0x37
Feb 21 11:30:30 sanmgt kernel:        [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:        [<c0138400>] check_prev_add+0x107/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c03925da>] mutex_lock_nested+0x107/0x2a1
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c290>] 
__iscsi_unbind_session+0x0/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c2ca>] 
__iscsi_unbind_session+0x3a/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c012a5f6>] run_workqueue+0xe3/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c0391e67>] 
__sched_text_start+0x3e7/0x41c
Feb 21 11:30:30 sanmgt kernel:        [<c0393ad2>] 
_spin_unlock_irqrestore+0x38/0x3d
Feb 21 11:30:30 sanmgt kernel:        [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:        [<c012a75d>] worker_thread+0x8d/0x99
Feb 21 11:30:30 sanmgt kernel:        [<c012db9a>] 
autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:        [<c0391e67>] 
__sched_text_start+0x3e7/0x41c
Feb 21 11:30:30 sanmgt kernel:        [<c0393ad2>] 
_spin_unlock_irqrestore+0x38/0x3d
Feb 21 11:30:30 sanmgt kernel:        [<c012db9a>] 
autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:        [<c012a6d0>] worker_thread+0x0/0x99
Feb 21 11:30:30 sanmgt kernel:        [<c012d74f>] kthread+0x34/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c012d71b>] kthread+0x0/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c010332f>] kernel_thread_helper+0x7/0x10
Feb 21 11:30:30 sanmgt kernel:        [<ffffffff>] 0xffffffff
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: -> #1 (&session->unbind_work){--..}:
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c01383bd>] check_prev_add+0xc4/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:        [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:        [<c0139804>] mark_lock+0xb3/0x1e3
Feb 21 11:30:30 sanmgt kernel:        [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c01373e0>] 
lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:        [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<f8b8c290>] 
__iscsi_unbind_session+0x0/0x7f [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c012a5f2>] run_workqueue+0xdf/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c012a5a1>] run_workqueue+0x8e/0x1bd
Feb 21 11:30:30 sanmgt kernel:        [<c0391e67>] 
__sched_text_start+0x3e7/0x41c
Feb 21 11:30:30 sanmgt kernel:        [<c0393ad2>] 
_spin_unlock_irqrestore+0x38/0x3d
Feb 21 11:30:30 sanmgt kernel:        [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:        [<c012a75d>] worker_thread+0x8d/0x99
Feb 21 11:30:30 sanmgt kernel:        [<c012db9a>] 
autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:        [<c0391e67>] 
__sched_text_start+0x3e7/0x41c
Feb 21 11:30:30 sanmgt kernel:        [<c0393ad2>] 
_spin_unlock_irqrestore+0x38/0x3d
Feb 21 11:30:30 sanmgt kernel:        [<c012db9a>] 
autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:        [<c012a6d0>] worker_thread+0x0/0x99
Feb 21 11:30:30 sanmgt kernel:        [<c012d74f>] kthread+0x34/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c012d71b>] kthread+0x0/0x55
Feb 21 11:30:30 sanmgt kernel:        [<c010332f>] kernel_thread_helper+0x7/0x10
Feb 21 11:30:30 sanmgt kernel:        [<ffffffff>] 0xffffffff
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: -> #0 ((ihost->scan_workq_name)){--..}:
Feb 21 11:30:30 sanmgt kernel:        [<c0138320>] check_prev_add+0x27/0x1bb
Feb 21 11:30:30 sanmgt kernel:        [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:        [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:        [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c01373e0>] 
lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:        [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:        [<c012adc1>] 
cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:        [<c012ade7>] 
cleanup_workqueue_thread+0x32/0x62
Feb 21 11:30:30 sanmgt kernel:        [<c012adc1>] 
cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:        [<c012ae71>] destroy_workqueue+0x5a/0x7b
Feb 21 11:30:30 sanmgt kernel:        [<f8b8ca5f>] iscsi_remove_host+0x0/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<f8b8ca91>] iscsi_remove_host+0x32/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c0261b37>] 
transport_remove_classdev+0x17/0x40
Feb 21 11:30:30 sanmgt kernel:        [<c0261b20>] 
transport_remove_classdev+0x0/0x40
Feb 21 11:30:30 sanmgt kernel:        [<c02618f9>] 
attribute_container_device_trigger+0x60/0x9a
Feb 21 11:30:30 sanmgt kernel:        [<c028efd2>] scsi_remove_host+0xb4/0xdb
Feb 21 11:30:30 sanmgt kernel:        [<f8c44abf>] 
iscsi_session_teardown+0x46/0xd4 [libiscsi]
Feb 21 11:30:30 sanmgt kernel:        [<f8b8b56e>] iscsi_if_rx+0x112/0x7e5 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:        [<c0393a92>] _read_unlock+0x14/0x1c
Feb 21 11:30:30 sanmgt kernel:        [<c030f970>] 
netlink_getsockbypid+0x59/0xa0
Feb 21 11:30:30 sanmgt kernel:        [<c030fca6>] netlink_unicast+0x10b/0x162
Feb 21 11:30:30 sanmgt kernel:        [<c01ef687>] copy_from_user+0x38/0x5d
Feb 21 11:30:30 sanmgt kernel:        [<c0310572>] netlink_sendmsg+0x274/0x282
Feb 21 11:30:30 sanmgt kernel:        [<c0139265>] mark_held_locks+0x46/0x64
Feb 21 11:30:30 sanmgt kernel:        [<c02f21fb>] sock_sendmsg+0xc9/0xe4
Feb 21 11:30:30 sanmgt kernel:        [<c02fcaf0>] dev_queue_xmit+0x2cf/0x2d9
Feb 21 11:30:30 sanmgt kernel:        [<c02fc93e>] dev_queue_xmit+0x11d/0x2d9
Feb 21 11:30:30 sanmgt kernel:        [<c031c7c9>] ip_output+0x99/0x9e
Feb 21 11:30:30 sanmgt kernel:        [<c012db9a>] 
autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:        [<c031cb4f>] ip_queue_xmit+0x381/0x3c5
Feb 21 11:30:30 sanmgt kernel:        [<c01ef687>] copy_from_user+0x38/0x5d
Feb 21 11:30:30 sanmgt kernel:        [<c02f388d>] sys_sendmsg+0x14c/0x1a2
Feb 21 11:30:30 sanmgt kernel:        [<c013a4e8>] __lock_acquire+0x712/0x769
Feb 21 11:30:30 sanmgt kernel:        [<c01373e0>] 
lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:        [<c016157e>] kmem_cache_free+0x58/0x5f
Feb 21 11:30:30 sanmgt kernel:        [<c016157e>] kmem_cache_free+0x58/0x5f
Feb 21 11:30:30 sanmgt kernel:        [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:        [<c0172586>] d_kill+0x37/0x41
Feb 21 11:30:30 sanmgt kernel:        [<c01725bc>] dput+0x2c/0x104
Feb 21 11:30:30 sanmgt kernel:        [<c02f3cc7>] sys_socketcall+0x223/0x242
Feb 21 11:30:30 sanmgt kernel:        [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:        [<c0102707>] restore_nocheck+0x12/0x15
Feb 21 11:30:30 sanmgt kernel:        [<c01026a6>] syscall_call+0x7/0xb
Feb 21 11:30:30 sanmgt kernel:        [<ffffffff>] 0xffffffff
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: other info that might help us debug this:
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: 2 locks held by iscsid/18988:
Feb 21 11:30:30 sanmgt kernel:  #0:  (rx_queue_mutex){--..}, at: [<f8b8b473>] 
iscsi_if_rx+0x17/0x7e5 [scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  #1:  (attribute_container_mutex){--..}, at: 
[<c02618b0>] attribute_container_device_trigger+0x17/0x9a
Feb 21 11:30:30 sanmgt kernel:
Feb 21 11:30:30 sanmgt kernel: stack backtrace:
Feb 21 11:30:30 sanmgt kernel: Pid: 18988, comm: iscsid Not tainted 2.6.24.2 #6
Feb 21 11:30:30 sanmgt kernel:  [<c0137c03>] print_circular_bug_tail+0x5f/0x67
Feb 21 11:30:30 sanmgt kernel:  [<c0138320>] check_prev_add+0x27/0x1bb
Feb 21 11:30:30 sanmgt kernel:  [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:  [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:  [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:  [<c01373e0>] lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:  [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:  [<c012adc1>] cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012ade7>] cleanup_workqueue_thread+0x32/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012adc1>] cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012ae71>] destroy_workqueue+0x5a/0x7b
Feb 21 11:30:30 sanmgt kernel:  [<f8b8ca5f>] iscsi_remove_host+0x0/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<f8b8ca91>] iscsi_remove_host+0x32/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<c0261b37>] transport_remove_classdev+0x17/0x40
Feb 21 11:30:30 sanmgt kernel:  [<c0261b20>] transport_remove_classdev+0x0/0x40
Feb 21 11:30:30 sanmgt kernel:  [<c02618f9>] 
attribute_container_device_trigger+0x60/0x9a
Feb 21 11:30:30 sanmgt kernel:  [<c028efd2>] scsi_remove_host+0xb4/0xdb
Feb 21 11:30:30 sanmgt kernel:  [<f8c44abf>] iscsi_session_teardown+0x46/0xd4 
[libiscsi]
Feb 21 11:30:30 sanmgt kernel:  [<f8b8b56e>] iscsi_if_rx+0x112/0x7e5 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<c0393a92>] _read_unlock+0x14/0x1c
Feb 21 11:30:30 sanmgt kernel:  [<c030f970>] netlink_getsockbypid+0x59/0xa0
Feb 21 11:30:30 sanmgt kernel:  [<c030fca6>] netlink_unicast+0x10b/0x162
Feb 21 11:30:30 sanmgt kernel:  [<c01ef687>] copy_from_user+0x38/0x5d
Feb 21 11:30:30 sanmgt kernel:  [<c0310572>] netlink_sendmsg+0x274/0x282
Feb 21 11:30:30 sanmgt kernel:  [<c0139265>] mark_held_locks+0x46/0x64
Feb 21 11:30:30 sanmgt kernel:  [<c02f21fb>] sock_sendmsg+0xc9/0xe4
Feb 21 11:30:30 sanmgt kernel:  [<c02fcaf0>] dev_queue_xmit+0x2cf/0x2d9
Feb 21 11:30:30 sanmgt kernel: stack backtrace:
Feb 21 11:30:30 sanmgt kernel: Pid: 18988, comm: iscsid Not tainted 2.6.24.2 #6
Feb 21 11:30:30 sanmgt kernel:  [<c0137c03>] print_circular_bug_tail+0x5f/0x67
Feb 21 11:30:30 sanmgt kernel:  [<c0138320>] check_prev_add+0x27/0x1bb
Feb 21 11:30:30 sanmgt kernel:  [<c013850a>] check_prevs_add+0x56/0xca
Feb 21 11:30:30 sanmgt kernel:  [<c013881a>] validate_chain+0x29c/0x318
Feb 21 11:30:30 sanmgt kernel:  [<c013a4bd>] __lock_acquire+0x6e7/0x769
Feb 21 11:30:30 sanmgt kernel:  [<c01373e0>] lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:  [<c013ab06>] lock_acquire+0x79/0x93
Feb 21 11:30:30 sanmgt kernel:  [<c012adc1>] cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012ade7>] cleanup_workqueue_thread+0x32/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012adc1>] cleanup_workqueue_thread+0xc/0x62
Feb 21 11:30:30 sanmgt kernel:  [<c012ae71>] destroy_workqueue+0x5a/0x7b
Feb 21 11:30:30 sanmgt kernel:  [<f8b8ca5f>] iscsi_remove_host+0x0/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<f8b8ca91>] iscsi_remove_host+0x32/0x36 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<c0261b37>] transport_remove_classdev+0x17/0x40
Feb 21 11:30:30 sanmgt kernel:  [<c0261b20>] transport_remove_classdev+0x0/0x40
Feb 21 11:30:30 sanmgt kernel:  [<c02618f9>] 
attribute_container_device_trigger+0x60/0x9a
Feb 21 11:30:30 sanmgt kernel:  [<c028efd2>] scsi_remove_host+0xb4/0xdb
Feb 21 11:30:30 sanmgt kernel:  [<f8c44abf>] iscsi_session_teardown+0x46/0xd4 
[libiscsi]
Feb 21 11:30:30 sanmgt kernel:  [<f8b8b56e>] iscsi_if_rx+0x112/0x7e5 
[scsi_transport_iscsi]
Feb 21 11:30:30 sanmgt kernel:  [<c0393a92>] _read_unlock+0x14/0x1c
Feb 21 11:30:30 sanmgt kernel:  [<c030f970>] netlink_getsockbypid+0x59/0xa0
Feb 21 11:30:30 sanmgt kernel:  [<c030fca6>] netlink_unicast+0x10b/0x162
Feb 21 11:30:30 sanmgt kernel:  [<c01ef687>] copy_from_user+0x38/0x5d
Feb 21 11:30:30 sanmgt kernel:  [<c0310572>] netlink_sendmsg+0x274/0x282
Feb 21 11:30:30 sanmgt kernel:  [<c0139265>] mark_held_locks+0x46/0x64
Feb 21 11:30:30 sanmgt kernel:  [<c02f21fb>] sock_sendmsg+0xc9/0xe4
Feb 21 11:30:30 sanmgt kernel:  [<c02fcaf0>] dev_queue_xmit+0x2cf/0x2d9
Feb 21 11:30:30 sanmgt kernel:  [<c02fc93e>] dev_queue_xmit+0x11d/0x2d9
Feb 21 11:30:30 sanmgt kernel:  [<c031c7c9>] ip_output+0x99/0x9e
Feb 21 11:30:30 sanmgt kernel:  [<c012db9a>] autoremove_wake_function+0x0/0x33
Feb 21 11:30:30 sanmgt kernel:  [<c031cb4f>] ip_queue_xmit+0x381/0x3c5
Feb 21 11:30:30 sanmgt kernel:  [<c01ef687>] copy_from_user+0x38/0x5d
Feb 21 11:30:30 sanmgt kernel:  [<c02f388d>] sys_sendmsg+0x14c/0x1a2
Feb 21 11:30:30 sanmgt kernel:  [<c013a4e8>] __lock_acquire+0x712/0x769
Feb 21 11:30:30 sanmgt kernel:  [<c01373e0>] lock_release_holdtime+0x3f/0x4c
Feb 21 11:30:30 sanmgt kernel:  [<c016157e>] kmem_cache_free+0x58/0x5f
Feb 21 11:30:30 sanmgt kernel:  [<c016157e>] kmem_cache_free+0x58/0x5f
Feb 21 11:30:30 sanmgt kernel:  [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:  [<c0172586>] d_kill+0x37/0x41
Feb 21 11:30:30 sanmgt kernel:  [<c01725bc>] dput+0x2c/0x104
Feb 21 11:30:30 sanmgt kernel:  [<c02f3cc7>] sys_socketcall+0x223/0x242
Feb 21 11:30:30 sanmgt kernel:  [<c01393c0>] trace_hardirqs_on+0x127/0x151
Feb 21 11:30:30 sanmgt kernel:  [<c0102707>] restore_nocheck+0x12/0x15
Feb 21 11:30:30 sanmgt kernel:  [<c01026a6>] syscall_call+0x7/0xb
Feb 21 11:30:30 sanmgt kernel:  =======================

sanmgt: ~ # cat /sys/module/scsi_transport_iscsi/version
2.0-868
sanmgt: ~ # iscsiadm -V
iscsiadm version 2.0-868


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to