mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: linas@austin.ibm.com
Cc: linux-kernel@vger.kernel.org, linuxppc64-dev@lists.linuxppc.org
Subject: Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware
Date: Tue, 30 Sep 2003 13:16:19 -0400	[thread overview]
Message-ID: <20030930171619.GA22314@gtf.org> (raw)
In-Reply-To: <20030930120944.A31772@forte.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




  reply	other threads:[~2003-09-30 17:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 17:09 linas
2003-09-30 17:16 ` Jeff Garzik [this message]
2003-09-30 18:12   ` linas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030930171619.GA22314@gtf.org \
    --to=jgarzik@pobox.com \
    --cc=linas@austin.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc64-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®