On Fri, 2005-08-05 at 09:25 -0400, SCSI Mailing List wrote: > Tremendously good work! Thanks. There's unfortunately still an outstanding problem I can't fix. It seems that after a certain number of repetitions of a failing command, the entire card locks up and the sequencer always returns SAM_STAT_BUSY to any new commands. This is a bit of a problem for the scsi mid-layer because it blindly always retries SAM_STAT_BUSY and SAM_STAT_QUEUE_FULL. The only way to recover from this is to issue a bus reset. This condition, I think, is what causes some of the hang reports about this driver. However, I think I see the code in the sequencer which is causing it (target_cmdphase) but I don't have enough information about the sequencer to fix this. James - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html