Report 3 in ata_scsi_port_error_handler()

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

 



[    2.051991] ===================================================
[    2.051991] DEPT: Circular dependency has been detected.
[    2.051991] 5.17.0-rc1-00014-gcf3441bb2012 #2 Tainted: G        W        
[    2.051991] ---------------------------------------------------
[    2.051991] summary
[    2.051991] ---------------------------------------------------
[    2.051991] *** DEADLOCK ***
[    2.051991] 
[    2.051991] context A
[    2.051991]     [S] (unknown)(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [W] __mutex_lock_common(&host->eh_mutex:0)
[    2.051991]     [E] event(&(&ap->eh_wait_q)->dmap:0)
[    2.051991] 
[    2.051991] context B
[    2.051991]     [S] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [W] wait(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [E] spin_unlock(&host->lock:0)
[    2.051991] 
[    2.051991] context C
[    2.051991]     [S] __mutex_lock_common(&host->eh_mutex:0)
[    2.051991]     [W] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [E] mutex_unlock(&host->eh_mutex:0)
[    2.051991] 
[    2.051991] [S]: start of the event context
[    2.051991] [W]: the wait blocked
[    2.051991] [E]: the event not reachable
[    2.051991] ---------------------------------------------------
[    2.051991] context A's detail
[    2.051991] ---------------------------------------------------
[    2.051991] context A
[    2.051991]     [S] (unknown)(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [W] __mutex_lock_common(&host->eh_mutex:0)
[    2.051991]     [E] event(&(&ap->eh_wait_q)->dmap:0)
[    2.051991] 
[    2.051991] [S] (unknown)(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] (N/A)
[    2.051991] 
[    2.051991] [W] __mutex_lock_common(&host->eh_mutex:0):
[    2.051991] [<ffffffff81780ad9>] ata_eh_acquire+0x19/0x40
[    2.051991] stacktrace:
[    2.051991]       __mutex_lock+0x52c/0x900
[    2.051991]       ata_eh_acquire+0x19/0x40
[    2.051991]       ata_exec_internal_sg+0x41a/0x690
[    2.051991]       ata_exec_internal+0x4a/0x70
[    2.051991]       ata_dev_read_id+0x2ce/0x540
[    2.051991]       ata_dev_reread_id+0x33/0xc0
[    2.051991]       ata_dev_revalidate+0x41/0x190
[    2.051991]       ata_do_set_mode+0x61c/0xac0
[    2.051991]       ata_set_mode+0xfc/0x110
[    2.051991]       ata_eh_recover+0x1061/0x1360
[    2.051991]       ata_do_eh+0x3f/0xa0
[    2.051991]       ata_scsi_port_error_handler+0x432/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [E] event(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] [<ffffffff810baa53>] __wake_up_common+0x93/0x1a0
[    2.051991] stacktrace:
[    2.051991]       dept_event+0x12b/0x1f0
[    2.051991]       __wake_up_common+0xb0/0x1a0
[    2.051991]       __wake_up_common_lock+0x65/0x90
[    2.051991]       ata_scsi_port_error_handler+0x67a/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] ---------------------------------------------------
[    2.051991] context B's detail
[    2.051991] ---------------------------------------------------
[    2.051991] context B
[    2.051991]     [S] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [W] wait(&(&ap->eh_wait_q)->dmap:0)
[    2.051991]     [E] spin_unlock(&host->lock:0)
[    2.051991] 
[    2.051991] [S] __raw_spin_lock_irqsave(&host->lock:0):
[    2.051991] [<ffffffff8178047c>] ata_port_wait_eh+0x6c/0xc0
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_lock_irqsave+0x82/0xa0
[    2.051991]       ata_port_wait_eh+0x6c/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [W] wait(&(&ap->eh_wait_q)->dmap:0):
[    2.051991] [<ffffffff810bb017>] prepare_to_wait+0x47/0xd0
[    2.051991] stacktrace:
[    2.051991]       ata_port_wait_eh+0x52/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [E] spin_unlock(&host->lock:0):
[    2.051991] [<ffffffff8178046e>] ata_port_wait_eh+0x5e/0xc0
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_unlock_irqrestore+0x35/0x80
[    2.051991]       ata_port_wait_eh+0x5e/0xc0
[    2.051991]       ata_port_probe+0x1f/0x30
[    2.051991]       async_port_probe+0x27/0x50
[    2.051991]       async_run_entry_fn+0x21/0xa0
[    2.051991]       process_one_work+0x317/0x640
[    2.051991]       worker_thread+0x44/0x410
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] ---------------------------------------------------
[    2.051991] context C's detail
[    2.051991] ---------------------------------------------------
[    2.051991] context C
[    2.051991]     [S] __mutex_lock_common(&host->eh_mutex:0)
[    2.051991]     [W] __raw_spin_lock_irqsave(&host->lock:0)
[    2.051991]     [E] mutex_unlock(&host->eh_mutex:0)
[    2.051991] 
[    2.051991] [S] __mutex_lock_common(&host->eh_mutex:0):
[    2.051991] [<ffffffff81780ad9>] ata_eh_acquire+0x19/0x40
[    2.051991] stacktrace:
[    2.051991]       __mutex_lock+0x54d/0x900
[    2.051991]       ata_eh_acquire+0x19/0x40
[    2.051991]       ata_scsi_port_error_handler+0x32/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [W] __raw_spin_lock_irqsave(&host->lock:0):
[    2.051991] [<ffffffff817853df>] ata_scsi_port_error_handler+0x4f/0x740
[    2.051991] stacktrace:
[    2.051991]       _raw_spin_lock_irqsave+0x5f/0xa0
[    2.051991]       ata_scsi_port_error_handler+0x4f/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] 
[    2.051991] [E] mutex_unlock(&host->eh_mutex:0):
[    2.051991] [<ffffffff81773cd7>] ata_msleep+0x77/0x80
[    2.051991] stacktrace:
[    2.051991]       __mutex_unlock_slowpath+0x49/0x2a0
[    2.051991]       ata_msleep+0x77/0x80
[    2.051991]       ata_sff_wait_after_reset+0x27/0x150
[    2.051991]       ata_sff_softreset+0xc8/0x1a0
[    2.051991]       ata_eh_reset+0x3dc/0x1390
[    2.051991]       ata_eh_recover+0x257/0x1360
[    2.051991]       ata_do_eh+0x3f/0xa0
[    2.051991]       ata_scsi_port_error_handler+0x432/0x740
[    2.051991]       ata_scsi_error+0x94/0xc0
[    2.051991]       scsi_error_handler+0x8d/0x3a0
[    2.051991]       kthread+0xe3/0x110
[    2.051991]       ret_from_fork+0x22/0x30
[    2.051991] ---------------------------------------------------
[    2.051991] information that might be helpful
[    2.051991] ---------------------------------------------------
[    2.051991] CPU: 1 PID: 53 Comm: scsi_eh_1 Tainted: G        W         5.17.0-rc1-00014-gcf3441bb2012 #2
[    2.051991] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[    2.051991] Call Trace:
[    2.051991]  <TASK>
[    2.051991]  dump_stack_lvl+0x44/0x57
[    2.051991]  print_circle+0x384/0x510
[    2.051991]  ? print_circle+0x510/0x510
[    2.051991]  cb_check_dl+0x58/0x60
[    2.051991]  bfs+0xdc/0x1b0
[    2.051991]  add_dep+0x94/0x120
[    2.051991]  do_event.isra.22+0x284/0x300
[    2.051991]  ? __wake_up_common+0x93/0x1a0
[    2.051991]  dept_event+0x12b/0x1f0
[    2.051991]  __wake_up_common+0xb0/0x1a0
[    2.051991]  __wake_up_common_lock+0x65/0x90
[    2.051991]  ata_scsi_port_error_handler+0x67a/0x740
[    2.051991]  ? trace_hardirqs_on+0x38/0xe0
[    2.051991]  ? scsi_eh_get_sense+0x150/0x150
[    2.051991]  ata_scsi_error+0x94/0xc0
[    2.051991]  scsi_error_handler+0x8d/0x3a0
[    2.051991]  ? _raw_spin_unlock_irqrestore+0x63/0x80
[    2.051991]  ? scsi_eh_get_sense+0x150/0x150
[    2.051991]  kthread+0xe3/0x110
[    2.051991]  ? kthread_complete_and_exit+0x20/0x20
[    2.051991]  ret_from_fork+0x22/0x30
[    2.051991]  </TASK>




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux