lkml.org 
[lkml]   [2009]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: USB serial regression 2.6.31.1 -> 2.6.31.2
On Sun, 11 Oct 2009, Benjamin Herrenschmidt wrote:

>
> > Further REQUEST SENSE commands therefore requested 96 bytes of data
> > instead of the standard 18 bytes. With LUN 0 this worked okay. But
> > with LUN 1 it didn't; the device reported a failure of the REQUEST
> > SENSE. This is what caused usb-storage to issue the device reset.
> >
> > After the reset usb-storage continued to ask for 96 bytes of sense
> > data, and LUN 1 continued to fail the commands. Hence the repeated
> > resets.
>
> Maybe a better approach would be to go back to 18 bytes when it fails,
> what do you think ?

We certainly could do that. But should we turn off the SANE_SENSE flag
at the same time?

Alan Stern



\
 
 \ /
  Last update: 2009-10-11 00:57    [W:0.084 / U:10.056 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site