Re: Linux 2.4.0test1-ac10 (Scsi bus resets)

From: Jeff Hittman (jhittman@slip.net)
Date: Wed Jun 07 2000 - 08:37:11 EST


FWIW I can confirm that the patch posted by Neil Brown works for me
fixing the scsi bus resets that originated in changes in ac5.

Thanks.

                   | A lot of people I know believe in positive
   Jeff Hittman | thinking, and so do I. I believe everything
 jhittman@slip.net | positively stinks. -- Lew Col
                   |

On Wed, 7 Jun 2000, Neil Brown wrote:

> On Tuesday June 6, alan@lxorguk.ukuu.org.uk wrote:
> >
> > This has the new VM tweaks. Note that the AIC7xxx SCSI is still not working.
> >
>
> I can make aic7xxx work with the following patch.
>
> However, I have no idea whether this is *necessary*, or whether
> there is still an underlying problem in the driver, or what (if
> anything) is the *right* thing to do.
> This merely worked (twice at least) for me.
>
> I came to this patch by looking at the old and new code in scsi_scan
> and asking my self "what is different that doesn't obviously need to
> be different".
>
> Enjoy.
>
> NeilBrown
>
> --- drivers/scsi/scsi_scan.c 2000/06/07 04:48:36 1.1
> +++ drivers/scsi/scsi_scan.c 2000/06/07 04:48:42
> @@ -506,7 +506,7 @@
>
> scsi_wait_req (SRpnt, (void *) scsi_cmd,
> (void *) scsi_result,
> - 256, SCSI_TIMEOUT, 3);
> + 256, SCSI_TIMEOUT+4*HZ, 3);
>
> SCSI_LOG_SCAN_BUS(3, printk("scsi: INQUIRY %s with code 0x%x\n",
> SRpnt->sr_result ? "failed" : "successful", SRpnt->sr_result));
>
>
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:28 EST