Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware
From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 09/30/03
- Previous message: Petr Vandrovec: "Re: IDE I/O disturbes other PCI busmasters on VIA platforms"
- In reply to: linas_at_austin.ibm.com: "[2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Next in thread: linas_at_austin.ibm.com: "Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Reply: linas_at_austin.ibm.com: "Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Sep 2003 13:16:19 -0400 To: linas@austin.ibm.com
On Tue, Sep 30, 2003 at 12:09:44PM -0500, linas@austin.ibm.com wrote:
>
>
> --- drivers/scsi/scsi_obsolete.c.orig 2003-09-29 17:47:26.000000000 -0500
> +++ drivers/scsi/scsi_obsolete.c 2003-09-29 17:51:40.000000000 -0500
> @@ -118,10 +118,19 @@ static void scsi_dump_status(void);
> #define ABORT_TIMEOUT SCSI_TIMEOUT
> #define RESET_TIMEOUT SCSI_TIMEOUT
> #else
> +#if defined(__powerpc64__)
> +/* Some Achip ARC765-based DVD-ROM's can take 15 seconds or more to reset.
> + * All commands (sense, abort) will not get a response until the reset
> + * completes. Lengthen timeouts to make up for this. */
> +#define SENSE_TIMEOUT (20*HZ)
> +#define RESET_TIMEOUT (2*HZ)
> +#define ABORT_TIMEOUT (25*HZ)
This should be device-dependent, not platform-dependent.
Jeff
-
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/
- Previous message: Petr Vandrovec: "Re: IDE I/O disturbes other PCI busmasters on VIA platforms"
- In reply to: linas_at_austin.ibm.com: "[2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Next in thread: linas_at_austin.ibm.com: "Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Reply: linas_at_austin.ibm.com: "Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|