Re: JMicron 20337 (152d:2338) and 3TB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 30 Aug 2012, Alon Bar-Lev wrote:

> On Thu, Aug 30, 2012 at 9:49 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Thu, 30 Aug 2012, Alon Bar-Lev wrote:
> >
> >> On Thu, Aug 30, 2012 at 5:29 PM, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
> >> >
> >> > On Thu, 30 Aug 2012, Alon Bar-Lev wrote:
> >> >
> >> > > Hello,
> >> > >
> >> > > Is there anything new in this regard?
> >> > > I have the same issue with 3T drive.
> >> >
> >> > What are you referring to?  What issue?
> >> >
> >> > Alan Stern
> >> >
> >>
> >> Thanks for replying!
> >>
> >> This[1] thread.
> >>
> >> I am experiencing the same issue, and could not understand if this is
> >> software or hardware issue.
> >>
> >> Regards,
> >> Alon Bar-Lev.
> >>
> >> [1] http://comments.gmane.org/gmane.linux.usb.general/62798
> >
> > In the end it turns out to be caused by problems in both software and
> > hardware.  The software problem is fixed in the 3.5 kernel.
> >
> > Alan Stern
> >
> 
> Thank you !
> 
> I am using 3.5.2, is there any workaround for the hardware issue?

There is no workaround in the current kernel.  The patch below should 
allow you to access all 3 TB, but the patch isn't suitable for general 
use.

Alan Stern



Index: usb-3.6/drivers/scsi/sd.c
===================================================================
--- usb-3.6.orig/drivers/scsi/sd.c
+++ usb-3.6/drivers/scsi/sd.c
@@ -1900,13 +1900,11 @@ static int sd_try_rc16_first(struct scsi
 {
 	if (sdp->host->max_cmd_len < 16)
 		return 0;
-	if (sdp->try_rc_10_first)
-		return 0;
 	if (sdp->scsi_level > SCSI_SPC_2)
 		return 1;
 	if (scsi_device_protection(sdp))
 		return 1;
-	return 0;
+	return 1;
 }
 
 /*

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux