The ipr driver currently translates adapter recovered errors to DID_ERROR. This patch fixes this to translate these errors to success instead. Signed-off-by: Brian King <brking@xxxxxxxxxx> --- linux-2.6-bjking1/drivers/scsi/ipr.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN drivers/scsi/ipr.c~ipr_recovered_errors drivers/scsi/ipr.c --- linux-2.6/drivers/scsi/ipr.c~ipr_recovered_errors 2006-08-02 13:54:21.000000000 -0500 +++ linux-2.6-bjking1/drivers/scsi/ipr.c 2006-08-02 13:54:21.000000000 -0500 @@ -4218,7 +4218,8 @@ static void ipr_erp_start(struct ipr_ioa case IPR_IOASC_NR_INIT_CMD_REQUIRED: break; default: - scsi_cmd->result |= (DID_ERROR << 16); + if (IPR_IOASC_SENSE_KEY(ioasc) > RECOVERED_ERROR) + scsi_cmd->result |= (DID_ERROR << 16); if (!ipr_is_vset_device(res) && !ipr_is_naca_model(res)) res->needs_sync_complete = 1; break; _ - : 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