Re: usb disk recognized but fails

Sarah Sharp
2014-01-20T19:45:45Z

On Mon, Jan 20, 2014 at 08:00:23PM +0100, Milan Svoboda wrote:
> Non-working:
>
> 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
>
> I'm sorry, I don't remember exactly which version worked, I have had the disk connected to TV for
> a long time and only recently I wanted to copy some movies on it. I guess it worked something like
> 6 or 9 months ago.

If you're up for compiling a custom kernel, can you try 3.12.7 with
these two patches applied?

http://marc.info/?l=linux-usb&m=138921117504911&w=2
http://marc.info/?l=linux-usb&m=138921117604912&w=2

I'm concerned the I/O errors are caused by commit 459d3c146117 "usb:
xhci: Link TRB must not occur within a USB payload burst".

Can you also send me the output of `sudo lspci -vvv -n`? I need the
output for the xHCI host only.

Sarah Sharp

> ______________________________________________________________
> > Od: Sarah Sharp <sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
> > Komu: Milan Svoboda <milan.svoboda-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
> > Datum: 20.01.2014 19:23
> > Předmět: Re: usb disk recognized but fails
> >
> > CC: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, "USB Storage List" <usb-storage@lists.one-eyed-alien.net>, linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >Cc-ing the USB storage list, in case this device needs some quirk.
> >
> >On Wed, Jan 15, 2014 at 03:47:39PM +0100, Milan Svoboda wrote:
> >> The SATA adapter has a power input, but it is not used, it is connected to the
> >> PC with Y-type USB cable.
> >>
> >> The disk works with my "smart" TV, it works with Windows on the same machine,
> >> it also had worked some time ago with Linux, but now it shows the following:
> >
> >Do you know which kernel version it worked with? What version are you
> >currently running? Please run `uname -a`.
> >
> >> [ 2192.027213] usb 1-3: new high-speed USB device number 5 using xhci_hcd
> >> [ 2192.042323] ums-cypress 1-3:1.0: USB Mass Storage device detected
> >> [ 2192.042500] scsi9 : usb-storage 1-3:1.0
> >> [ 2193.044219] scsi 9:0:0:0: Direct-Access WDC WD64 00BPVT-00HXZT0 PQ: 0 ANSI: 0
> >> [ 2193.045083] sd 9:0:0:0: [sdb] 1250263728 512-byte logical blocks: (640 GB/596 GiB)
> >> [ 2193.045240] sd 9:0:0:0: [sdb] Write Protect is off
> >> [ 2193.045245] sd 9:0:0:0: [sdb] Mode Sense: 03 00 00 00
> >> [ 2193.045384] sd 9:0:0:0: [sdb] No Caching mode page found
> >> [ 2193.045388] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> >> [ 2193.046259] sd 9:0:0:0: [sdb] No Caching mode page found
> >> [ 2193.046264] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> >> [ 2193.054389] sdb: sdb1
> >> [ 2193.055092] sd 9:0:0:0: [sdb] No Caching mode page found
> >> [ 2193.055095] sd 9:0:0:0: [sdb] Assuming drive cache: write through
> >> [ 2193.055098] sd 9:0:0:0: [sdb] Attached SCSI disk
> >> [ 2200.821345] usb 1-3: reset high-speed USB device number 5 using xhci_hcd
> >> [ 2200.835063] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800bc71e480
> >> [ 2200.835068] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800bc71e4c0
> >> [ 2267.897715] sd 9:0:0:0: [sdb] Unhandled sense code
> >> [ 2267.897719] sd 9:0:0:0: [sdb]
> >> [ 2267.897721] Result: hostbyte=0x07 driverbyte=0x08
> >> [ 2267.897722] sd 9:0:0:0: [sdb]
> >> [ 2267.897724] Sense Key : 0x4 [current]
> >> [ 2267.897735] sd 9:0:0:0: [sdb]
> >> [ 2267.897736] ASC=0x0 ASCQ=0x0
> >> [ 2267.897738] sd 9:0:0:0: [sdb] CDB:
> >> [ 2267.897740] cdb[0]=0x28: 28 00 4a 85 6e af 00 00 08 00
> >> [ 2267.897746] end_request: I/O error, dev sdb, sector 1250258607
> >> [ 2267.897750] Buffer I/O error on device sdb1, logical block 625129272
> >> [ 2267.897752] Buffer I/O error on device sdb1, logical block 625129273
> >> [ 2267.897753] Buffer I/O error on device sdb1, logical block 625129274
> >> [ 2267.897754] Buffer I/O error on device sdb1, logical block 625129275
> >> [ 2270.884154] usb 1-3: USB disconnect, device number 5
> >>
> >> Bus 001 Device 010: ID 14cd:6116 Super Top M6116 SATA Bridge
> >> Device Descriptor:
> >> bLength 18
> >> bDescriptorType 1
> >> bcdUSB 2.00
> >> bDeviceClass 0 (Defined at Interface level)
> >> bDeviceSubClass 0
> >> bDeviceProtocol 0
> >> bMaxPacketSize0 64
> >> idVendor 0x14cd Super Top
> >> idProduct 0x6116 M6116 SATA Bridge
> >> bcdDevice 1.50
> >> iManufacturer 1 Super Top
> >> iProduct 3 USB 2.0 SATA BRIDGE
> >> iSerial 2 M6116018VE15
> >> bNumConfigurations 1
> >> Configuration Descriptor:
> >> bLength 9
> >> bDescriptorType 2
> >> wTotalLength 32
> >> bNumInterfaces 1
> >> bConfigurationValue 1
> >> iConfiguration 0
> >> bmAttributes 0xc0
> >> Self Powered
> >> MaxPower 2mA
> >> Interface Descriptor:
> >> bLength 9
> >> bDescriptorType 4
> >> bInterfaceNumber 0
> >> bAlternateSetting 0
> >> bNumEndpoints 2
> >> bInterfaceClass 8 Mass Storage
> >> bInterfaceSubClass 6 SCSI
> >> bInterfaceProtocol 80 Bulk-Only
> >> iInterface 0
> >> Endpoint Descriptor:
> >> bLength 7
> >> bDescriptorType 5
> >> bEndpointAddress 0x81 EP 1 IN
> >> bmAttributes 2
> >> Transfer Type Bulk
> >> Synch Type None
> >> Usage Type Data
> >> wMaxPacketSize 0x0200 1x 512 bytes
> >> bInterval 0
> >> Endpoint Descriptor:
> >> bLength 7
> >> bDescriptorType 5
> >> bEndpointAddress 0x02 EP 2 OUT
> >> bmAttributes 2
> >> Transfer Type Bulk
> >> Synch Type None
> >> Usage Type Data
> >> wMaxPacketSize 0x0200 1x 512 bytes
> >> bInterval 0
> >> Device Qualifier (for other device speed):
> >> bLength 10
> >> bDescriptorType 6
> >> bcdUSB 2.00
> >> bDeviceClass 0 (Defined at Interface level)
> >> bDeviceSubClass 0
> >> bDeviceProtocol 0
> >> bMaxPacketSize0 64
> >> bNumConfigurations 1
> >> Device Status: 0x0001
> >> Self Powered
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> >> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >