Hi,
better late than never - Yes - this fixes the no sense problem for
me. Patch still applied to 2.6.3 without offset and fixes the problem. 

Mainline please !

Flo

On Fri, Jan 16, 2004 at 03:53:18PM -0500, Alan Stern wrote:
> 
> Florian and Alexander, does this patch fix your problem?  Mike, how does 
> it look to you?
> 
> Alan Stern
> 
> 
> ===== sd.c 1.59 vs edited =====
> --- 1.59/drivers/scsi/sd.c    Fri Oct 24 14:53:37 2003
> +++ edited/drivers/scsi/sd.c  Fri Jan 16 15:49:48 2004
> @@ -730,6 +730,14 @@
>                        * hard error.
>                        */
>                       print_sense("sd", SCpnt);
> +                     /* FALLS THROUGH */
> +
> +             case NO_SENSE:
> +                     /*
> +                      * The low-level driver got the sense data but
> +                      * everything was all right.  Don't treat this
> +                      * an an error.
> +                      */
>                       SCpnt->result = 0;
>                       SCpnt->sense_buffer[0] = 0x0;
>                       good_sectors = this_count;

-- 
Florian Lohoff                  [EMAIL PROTECTED]             +49-171-2280134
                        Heisenberg may have been here.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to