Subject: Re: Ehci/Umass bug ?
To: Lennart Augustsson <lennart@augustsson.net>
From: IWAMOTO Toshihiro <toshii@w.email.ne.jp>
List: tech-kern
Date: 11/24/2004 10:05:51
At Mon, 22 Nov 2004 19:37:37 +0100,
Lennart Augustsson wrote:
> 
> Some devices are just plain buggy when it comes to the CSW handling.
> You could try disabling that check in umass by setting the appropriate
> quirk for the device.

I had the same problem with ehci+umass on a 2.0_RC4 amd64 box, but not
with ohci on another 1.6something box.  I guess this is a ehci bug.


> Vincent wrote:
> > Hi there,
> > I've tried a couple of USB 2.0 DoC (memory sticks) today. While they 
> > work fine when one reads data, they fail on write.
> > 
> > Here is what I get:
> > 
> > umass0 at uhub2 port 1 configuration 1 interface 0
> > umass0: Pen Drive USB DISK 2.0, rev 2.00/1.00, addr 2
> > umass0: using SCSI over Bulk-Only
> > scsibus0 at umass0: 2 targets, 1 lun per target
> > sd0 at scsibus0 target 0 lun 0: <, USB DISK 2.0, PMAP> disk removable
> > sd0: 246 MB, 984 cyl, 32 head, 16 sec, 512 bytes/sect x 503808 sectors
> > [...]
> > umass0: Invalid CSW: tag 55518 should be 55519