Re: [2.4 PATCH:] Lengthen SCSI timeouts to deal with broken hardware

From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 09/30/03

  • Next message: Dave Jones: "Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch"
    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/


  • Next message: Dave Jones: "Re: [PATCH] Mutilated form of Andi Kleen's AMD prefetch errata patch"

    Relevant Pages

    • Re: [linux-usb-devel] Re: [BK PATCH] USB update for 2.6.3
      ... > to be talked to through a driver and is thus not even platform-dependent ... See what I'm saying? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: the umount() saga for regular linux desktop users
      ... Don't know about vfat, which is how I mount a floppy, but I just put ... Copyright 2004 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: AGP bogosities
      ... is a difference between whats output to the screen during bootup (set ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Problem with 2.6.11-bk[3456]
      ... graphics card is an AGP ATI Radeon 9200SE using the kernel AGP/DRM ... drivers and the Xorg radeon driver. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: Post-halloween doc updates.
      ... Added a note mentioning that. ... the filesystem changes section ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)