Messages in this thread | | | From | "Eric Youngdale" <> | Date | Mon, 18 Mar 1996 19:19:29 -0500 | Subject | Re: SCSI Kernel Problem - BAD |
| |
I have something I would like people to try if they have been experiencing data corruption problems with SCSI. The patch is pretty simple, it just disables resets being sent because of timeout - someone else tried something like this and found that it helped.
Note that there may be error conditions which will no longer be recoverable with this set, but I am not sure how often this comes up. Right now I would like to know if this improves system reliability.
-Eric
*** drivers/scsi/scsi.c.~1~ Wed Feb 21 12:02:01 1996 --- drivers/scsi/scsi.c Mon Mar 18 19:18:44 1996 *************** *** 805,814 **** --- 805,819 ---- if (!scsi_abort (SCpnt, DID_TIME_OUT, pid)) return; case IN_ABORT: + #if 0 printk("SCSI host %d abort (pid %ld) timed out - resetting\n", SCpnt->host->host_no, SCpnt->pid); if (!scsi_reset (SCpnt, FALSE)) return; + #else + printk("SCSI reset not performed...\n"); + return; + #endif case IN_RESET: case (IN_ABORT | IN_RESET): /* This might be controversial, but if there is a bus hang,
-- "The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep."
| |