Thanks are due to Ian Dall for the following patch. It replaces hard-coded 30-second timeouts in qla1280.c, enabling tape operations that take longer than 30 seconds to work again. :-) This patch applies cleanly to 2.6.17.11 with an offset of 1 line. Signed-off-by: R. Scott Bailey <scott.bailey@xxxxxxx> --- qla1280.c 2006-03-20 16:23:29.000000000 +1030 +++ qla1280.c 2006-03-23 23:37:28.000000000 +1030 @@ -2886,7 +2886,7 @@ memset(((char *)pkt + 8), 0, (REQUEST_ENTRY_SIZE - 8)); /* Set ISP command timeout. */ - pkt->timeout = cpu_to_le16(30); + pkt->timeout = cpu_to_le16(cmd->timeout_per_command/HZ); /* Set device target ID and LUN */ pkt->lun = SCSI_LUN_32(cmd); @@ -3185,7 +3185,7 @@ memset(((char *)pkt + 8), 0, (REQUEST_ENTRY_SIZE - 8)); /* Set ISP command timeout. */ - pkt->timeout = cpu_to_le16(30); + pkt->timeout = cpu_to_le16(cmd->timeout_per_command/HZ); /* Set device target ID and LUN */ pkt->lun = SCSI_LUN_32(cmd); - To unsubscribe from this list: 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