Messages in this thread Patch in this message | | | Date | Fri, 27 Jan 2006 18:21:36 -0800 | From | Greg KH <> | Subject | [patch 11/12] Fix i2o_scsi oops on abort |
| |
2.6.15.2 -stable review patch. If anyone has any objections, please let us know.
------------------
From: Markus Lidel <Markus.Lidel@shadowconnect.com>
>From http://bugzilla.kernel.org/show_bug.cgi?id=5923
When a scsi command failed, an oops would result.
Back-to-back SMART queries would make the Seagate drives unhappy. The second SMART query would timeout, and the command would be aborted.
From: Markus Lidel <Markus.Lidel@shadowconnect.com> Cc: Kenny Simpson <theonetruekenny@yahoo.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/message/i2o/i2o_scsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.15.1.orig/drivers/message/i2o/i2o_scsi.c +++ linux-2.6.15.1/drivers/message/i2o/i2o_scsi.c @@ -729,7 +729,7 @@ static int i2o_scsi_abort(struct scsi_cm &msg->u.head[1]); writel(i2o_cntxt_list_get_ptr(c, SCpnt), &msg->body[0]); - if (i2o_msg_post_wait(c, m, I2O_TIMEOUT_SCSI_SCB_ABORT)) + if (!i2o_msg_post_wait(c, msg, I2O_TIMEOUT_SCSI_SCB_ABORT)) status = SUCCESS; return status; -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |