Re: [usb-storage] Re: usb disk recognized but fails

Alan Stern
2014-01-23T16:54:40Z

On Thu, 23 Jan 2014, Milan Svoboda wrote:

> Whoaa!!
>
> I recompiled the master again, but now with a little bit modified configuration, mainly I disabled the CONFIG_USB_STORAGE_CYPRESS_ATACB and
> it works like a charm! Disk is properly and immediately detected and works!

I don't see how that could have made any difference. The Cypress-ATACB
driver works just like the default driver, except for two commands
(ATA(12) and ATA(16)) neither of which appeared in the usbmon trace.

Your new config enables CONFIG_USB_STORAGE_DEBUG. More likely that is
the reason for the improvement. Try taking out that one setting (don't
change anything else) and see what happens.

> I also tried to boot to standard kernel and disable loading ums_cypress by putting it on the blacklist but it didn't worked out. The
> disk wasn't detected at all (no message about plug-in event nor report about disk size).
>
> I strongly belive that it is Linux kernel problem, not the disk's (apart it might need some quirks). If I remember correctly there hasn't
> been the ums_cypress from the begining, right? So, perhaps the time when it was added corresponds with the time when it
> worked for me last time.

What do you mean by "from the beginning"? The ums-cypress driver was
added in 2008.

Alan Stern