On Fri, 23 Jan 2004, Gabriel wrote:

> Hi
> 
> I have problem with 2.6series, I cant use my pendrive, but my PhotoCam 
> work fine.
> I attach partial messages.log and my config.gz
> 
> Its crow:
> with 2.6.0 my pendrive has work, but with error messages.
> with 2.6.1-rc1 ... 2.6.2-rc1 work not (cant mount)

I think this is a known problem with the SCSI subsystem.  See if the patch 
below helps.

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;



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to