Once again here's the patch. Andrew, can you pull my previous one in favor of this one I'm one of the rare breeds of programmers that over document, at least I didn't comment "x equals a plus b" for "x = a + b" but I'm sure Christoph would say that I was pretty close ;-) Description: Found in the -rt patch set. The scsi_error thread likely will be in the TASK_INTERRUPTIBLE state upon exit. This patch fixes this bug. Ingo, I take it that you don't care about the comment for RT. -- Steve Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx> Index: linux-2.6.14-rc4/drivers/scsi/scsi_error.c =================================================================== --- linux-2.6.14-rc4.orig/drivers/scsi/scsi_error.c 2005-10-19 03:37:55.000000000 -0400 +++ linux-2.6.14-rc4/drivers/scsi/scsi_error.c 2005-10-19 08:10:23.000000000 -0400 @@ -1645,6 +1645,8 @@ set_current_state(TASK_INTERRUPTIBLE); } + __set_current_state(TASK_RUNNING); + SCSI_LOG_ERROR_RECOVERY(1, printk("Error handler scsi_eh_%d" " exiting\n",shost->host_no)); - : 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