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

2012-09-02 Thread Alon Bar-Lev
On Fri, Aug 31, 2012 at 12:08 AM, Alan Stern wrote: > > On Thu, 30 Aug 2012, Alon Bar-Lev wrote: > > > I was trying to figure out if there can be automatic workaround based > > on USB vendor:product... If these exposed at this point then a patch > > can be written to effect only this device. > > >

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

2012-09-02 Thread Alan Stern
On Sun, 2 Sep 2012, Alon Bar-Lev wrote: > I modified the patch to the following to make sure my main disk is unaffected: > This is what I get now, I guess detection is good now, but something > in the IO is wrong, when plugged to computer's sata it works > correctly. > > --- > Sep 2 11:42:55 lo

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

2012-09-02 Thread Alon Bar-Lev
On Sun, Sep 2, 2012 at 4:59 PM, Alan Stern wrote: > On Sun, 2 Sep 2012, Alon Bar-Lev wrote: > >> I modified the patch to the following to make sure my main disk is >> unaffected: > >> This is what I get now, I guess detection is good now, but something >> in the IO is wrong, when plugged to compu

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

2012-09-02 Thread Alan Stern
On Sun, 2 Sep 2012, Alon Bar-Lev wrote: > Attached usbmon, I hope I've done this OK. The errors start here: > 880112a12d80 3034504955 S Bo:2:009:2 -115 31 = 55534243 0a00 0010 > 8a28 0008 00 > 880112a12d80 3034505013 C Bo:2:009:2 0 31 > > 880132

Re: some questions about xhci bandwidth

2012-09-02 Thread Andiry Xu
On Wed, Aug 29, 2012 at 6:53 AM, loody wrote: > hi all: > I saw there are 2 trbs about bandwidth as below: > > #define TRB_GET_BW 21 > #define TRB_BANDWIDTH_EVENT 35 > > Would any one tell me where I can see driver use these 2 trbs for > bandwidth checking, > since I cannot grep the i

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

2012-09-02 Thread Alon Bar-Lev
On Sun, Sep 2, 2012 at 8:57 PM, Alon Bar-Lev wrote: > On Sun, Sep 2, 2012 at 6:47 PM, Alan Stern wrote: >> >> On Sun, 2 Sep 2012, Alon Bar-Lev wrote: >> >> > Attached usbmon, I hope I've done this OK. >> >> The errors start here: >> >> > 880112a12d80 3034504955 S Bo:2:009:2 -115 31 = 55534243

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

2012-09-02 Thread Alan Stern
On Sun, 2 Sep 2012, Alon Bar-Lev wrote: > > This shows the computer asking the drive to read 8 blocks starting at > > block 0. The drive (actually the JMicron USB interface, not the drive > > itself) returns an error code indicating that it thinks the command > > was not sent properly -- even tho

Re: [RFC] How to handle delays in isochronous transfers?

2012-09-02 Thread Peter Chen
> > How should the lower USB layers handle delays in transferring > isochronous data? I'm asking you because the most common usages of > isochronous transfers are for audio and video. > > Here's an example to illustrate what I mean. Typically an audio or > video driver will keep a queue of around

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

2012-09-02 Thread Alan Stern
On Sun, 2 Sep 2012, Matthew Hall wrote: > > I can't see any reasonable way of fixing this problem. Even if Linux > > did settle for the READ CAPACITY(10) value, it would then think that > > the drive was only 2 TB. > > > > What about a quirk which gets the blocksize from the smaller commands

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

2012-09-02 Thread Matthew Hall
On Sun, Sep 02, 2012 at 10:43:25PM -0400, Alan Stern wrote: > On Sun, 2 Sep 2012, Matthew Hall wrote: > > > > I can't see any reasonable way of fixing this problem. Even if Linux > > > did settle for the READ CAPACITY(10) value, it would then think that > > > the drive was only 2 TB. > > > >

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

2012-09-02 Thread Alon Bar-Lev
On Sun, Sep 2, 2012 at 11:57 PM, Alan Stern wrote: > On Sun, 2 Sep 2012, Alon Bar-Lev wrote: > >> > This shows the computer asking the drive to read 8 blocks starting at >> > block 0. The drive (actually the JMicron USB interface, not the drive >> > itself) returns an error code indicating that i

Re: some questions about xhci bandwidth

2012-09-02 Thread loody
hi Andiry: 2012/9/3 Andiry Xu : > On Wed, Aug 29, 2012 at 6:53 AM, loody wrote: >> hi all: >> I saw there are 2 trbs about bandwidth as below: >> >> #define TRB_GET_BW 21 >> #define TRB_BANDWIDTH_EVENT 35 >> >> Would any one tell me where I can see driver use these 2 trbs for >> band

Re: [PATCH 1/2] ARM: Kirkwood: ehci-orion: Add device tree binding

2012-09-02 Thread Sebastian Hesselbarth
On 09/01/2012 11:26 AM, Andrew Lunn wrote: Based on previous work by Michael Walle and Jason Cooper. Made their work actually work, which required added interrupt from DT and auxdata, along with setting the dma_mask, which DT does not currently do. Andrew, you can add a Tested-by: Sebastian