Re: aic94xx IO errors with "escb_tasklet_complete: phy0: REQ_TASK_ABORT"

Andy Warner
2006-10-04T20:32:04Z

Darrick J. Wong wrote:
> Andy Warner wrote:
>
> > So you are seeing legitimate REQ_TASK_ABORT values, but need to look
> > at the remaining data to see what the chip is trying to tell you.
> > For REQ_TASK_ABORT, status_block[1..2] is the transaction context,
> > and status_block[3] is the reason (TC_NO_ERROR etc from aic94xx_sas.h)
>
> Funny, I've been trying to write at least a REQ_TASK_ABORT handler all
> week. I'm having a bit of trouble using the transaction context...
> mostly because the value I'm getting doesn't correspond to any ascb.
> Assuming, of course, that ascb->scb->header.index/ascb->tc_index are
> indeed transaction contexts.

Check you're actually getting REQ_TASK_ABORT, and not
REQ_DEVICE_RESET or SIGNAL_NCQ_ERROR, where the same
field is a connection handle, and not a transaction
context.
--
andyw@pobox.com

Andy Warner Voice: (612) 801-8549 Fax: (208) 575-5634