public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Need help with another aic94xx sequencer problem
@ 2006-08-22 20:28 James Bottomley
  2006-08-22 20:44 ` Tarte, Robert
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: James Bottomley @ 2006-08-22 20:28 UTC (permalink / raw)
  To: Tarte, Robert, Hammer, Jack; +Cc: linux-scsi

While abusing my sas topology (to try to get it to give me errors) I
came across this one with STP tasks:

When the aic94xx loses a task in sas_execute_tasks(), the timeout fires
and wakes the waiter (this leaves the task set pending and aborted).  In
response, sas_execute_task() tries to call lldd_abort_task()
(asd_abort_task()) on it.  Here we panic failing the BUG_ON(!list_empty)
check in aic94xx_hwi.h:asd_ascb_free().

What happens is that the abort comes back with TF_TMF_NO_CTX + 0xFF00
from the sequencer, which asd_abort_task() treats as success and then
panics because the original task is still active.

Either the abort function or the sequencer code is clearly wrong, but
not having access to the sequencer to look, I can't tell.  What should 
this return mean from the sequencer?  My suspicion is that it means the
STP task abort isn't actually formulated properly.

James



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-08-28  3:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-22 20:28 Need help with another aic94xx sequencer problem James Bottomley
2006-08-22 20:44 ` Tarte, Robert
2006-08-22 20:53 ` Mike Anderson
2006-08-22 22:44   ` James Bottomley
2006-08-22 23:58     ` Mike Anderson
2006-08-24  9:08       ` Luben Tuikov
2006-08-24  8:58 ` Luben Tuikov
2006-08-24 14:22   ` James Bottomley
2006-08-28  3:26     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox