public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sarah Sharp <sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
To: Milan Svoboda <milan.svoboda-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	USB Storage List
	<usb-storage-ijkIwGHArpdIPJnuZ7Njw4oP9KaGy4wf@public.gmane.org>,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: usb disk recognized but fails
Date: Mon, 20 Jan 2014 11:45:45 -0800	[thread overview]
Message-ID: <20140120194545.GE5545@xanatos> (raw)
In-Reply-To: <20140120200023.5F31B6AF-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>

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
> >
--
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

  parent reply	other threads:[~2014-01-20 19:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140115154739.7DC8AFD8@centrum.cz>
2014-01-20 18:23 ` usb disk recognized but fails Sarah Sharp
2014-01-20 19:00   ` Milan Svoboda
     [not found]     ` <20140120200023.5F31B6AF-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
2014-01-20 19:45       ` Sarah Sharp [this message]
2014-01-21 20:56         ` Milan Svoboda
     [not found]           ` <20140121215636.F5422382-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
2014-01-21 22:12             ` [usb-storage] " Alan Stern
2014-01-22 19:19               ` Milan Svoboda
2014-01-22 19:59                 ` Alan Stern
2014-01-22 21:07                   ` Milan Svoboda
     [not found]                     ` <20140122220717.D61BDE5D-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org>
2014-01-22 21:34                       ` Alan Stern
     [not found]                         ` <Pine.LNX.4.44L0.1401221632200.1310-100000-IYeN2dnnYyZXsRXLowluHWD2FQJk+8+b@public.gmane.org>
2014-01-23 12:08                           ` Milan Svoboda
2014-01-23 16:54                             ` Alan Stern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140120194545.GE5545@xanatos \
    --to=sarah.a.sharp-vuqaysv1563yd54fqh9/ca@public.gmane.org \
    --cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=milan.svoboda-aRb0bU7PRFPrBKCeMvbIDA@public.gmane.org \
    --cc=usb-storage-ijkIwGHArpdIPJnuZ7Njw4oP9KaGy4wf@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox