Re: xhci woes continued

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Samstag, 12. September 2015 14:46:42 Alan Stern wrote:
> On Sat, 12 Sep 2015, Hans-Peter Jansen wrote:
> > On Freitag, 11. September 2015 10:23:45 Alan Stern wrote:
> > > On Fri, 11 Sep 2015, Hans-Peter Jansen wrote:
> > > > I still have trouble with storage devices on xhci ports, that
> > > > disappear as
> > > > soon as I change to an ehci port.
> > > > 
> > > > My current kernel version is 4.1.6.
> > > > Device is a Transcend TS-RDF8K USB3.0 sdcard reader, tested directly
> > > > on
> > > > rear panel I/O USB3.0 port of a z97 series MB (ASUS Z97-A) with the
> > > > original cable, and a SanDisk Ultra 64GB SDXC media.
> > > 
> > > Can you post a usbmon trace showing what happens when the card reader
> > > is plugged in?  Instructions are in the kernel source file
> > > Documentation/usb/usbmon.txt.
> > 
> > With pleasure, Alan.
> > 
> > Here we go, plugged the reader for about 20 secs, result attached.
> 
> The usbmon trace clearly shows the problem: The card reader's firmware
> doesn't handle transfers larger than 64 KB properly.  (That's a bit of
> a guess on my part; what the trace really shows is that transfers of
> length 120 KB and 72 KB failed whereas lengths 28 KB and below worked.)
> 
> Anyway, you can supply a quirks parameter for the usb-storage module to
> force all transfers to be short:
> 
> 	modprobe usb-storage quirks=8564:4000:m
> 
> (That's the vendor and product IDs of your card reader, together with a
> flag to limit the Max number of sectors per transfer.)  Does that fix
> the problem?

Yes, sort of, thanks, Alan. Unfortunately, write operations render my (fairly 
capable) desktop nearly unusable, stalls for a couple of seconds, switching 
desktops take 10-20 secs, while write performance is abysmal for USB 3.0 SDXC 
class 1 devices. 

But that got me going. I've updated the firmware on this device to TS26, and 
now, it behaves better: it performs ok and the desktop is still usable. Cool.

May I introduce another faulty device: Fantec AluPro U3 external 2,5" case  
(Asmedia AS2105 controller) with a HGST HTS721010 7K1000 harddisk. I wasn't 
able to locate any firmware for this device.

Issue here is, the drive is continusly connecting and disconnecting:

2015-09-13T11:55:30.641698+02:00 xrated kernel: [171947.841309] usb 7-1: USB disconnect, device number 91
2015-09-13T11:55:30.853671+02:00 xrated kernel: [171948.053246] usb 7-1: new SuperSpeed USB device number 92 using xhci_hcd
2015-09-13T11:55:30.864676+02:00 xrated kernel: [171948.065133] usb 7-1: New USB device found, idVendor=174c, idProduct=5106
2015-09-13T11:55:30.864681+02:00 xrated kernel: [171948.065134] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
2015-09-13T11:55:30.864682+02:00 xrated kernel: [171948.065136] usb 7-1: Product: AS2105
2015-09-13T11:55:30.864682+02:00 xrated kernel: [171948.065136] usb 7-1: Manufacturer: ASMedia
2015-09-13T11:55:30.864683+02:00 xrated kernel: [171948.065137] usb 7-1: SerialNumber:       JR10046P2HAJ8N
2015-09-13T11:55:30.865663+02:00 xrated kernel: [171948.065961] usb-storage 7-1:1.0: USB Mass Storage device detected
2015-09-13T11:55:30.865666+02:00 xrated kernel: [171948.066046] scsi host196: usb-storage 7-1:1.0
2015-09-13T11:55:30.867001+02:00 xrated mtp-probe: checking bus 7, device 92: "/sys/devices/pci0000:00/0000:00:14.0/usb7/7-1"
2015-09-13T11:55:30.867182+02:00 xrated mtp-probe: bus: 7, device: 92 was not an MTP device
2015-09-13T11:55:32.111692+02:00 xrated kernel: [171949.310429] usb 7-1: USB disconnect, device number 92
2015-09-13T11:55:32.323698+02:00 xrated kernel: [171949.522367] usb 7-1: new SuperSpeed USB device number 93 using xhci_hcd
2015-09-13T11:55:32.334669+02:00 xrated kernel: [171949.534190] usb 7-1: New USB device found, idVendor=174c, idProduct=5106
2015-09-13T11:55:32.334672+02:00 xrated kernel: [171949.534192] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
2015-09-13T11:55:32.334673+02:00 xrated kernel: [171949.534193] usb 7-1: Product: AS2105
2015-09-13T11:55:32.334674+02:00 xrated kernel: [171949.534194] usb 7-1: Manufacturer: ASMedia
2015-09-13T11:55:32.334674+02:00 xrated kernel: [171949.534195] usb 7-1: SerialNumber:       JR10046P2HAJ8N
2015-09-13T11:55:32.335663+02:00 xrated kernel: [171949.534983] usb-storage 7-1:1.0: USB Mass Storage device detected
2015-09-13T11:55:32.335665+02:00 xrated kernel: [171949.535057] scsi host197: usb-storage 7-1:1.0
2015-09-13T11:55:32.336710+02:00 xrated mtp-probe: checking bus 7, device 93: "/sys/devices/pci0000:00/0000:00:14.0/usb7/7-1"
2015-09-13T11:55:32.336853+02:00 xrated mtp-probe: bus: 7, device: 93 was not an MTP device
2015-09-13T11:55:33.339668+02:00 xrated kernel: [171950.538223] scsi 197:0:0:0: Direct-Access     HGST HTS 721010A9E630     JB0O PQ: 0 ANSI: 5
2015-09-13T11:55:33.339675+02:00 xrated kernel: [171950.538410] sd 197:0:0:0: Attached scsi generic sg5 type 0
2015-09-13T11:55:33.339676+02:00 xrated kernel: [171950.538551] sd 197:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
2015-09-13T11:55:33.340667+02:00 xrated kernel: [171950.538757] sd 197:0:0:0: [sdd] Write Protect is off
2015-09-13T11:55:33.340672+02:00 xrated kernel: [171950.538759] sd 197:0:0:0: [sdd] Mode Sense: 23 00 00 00
2015-09-13T11:55:33.340672+02:00 xrated kernel: [171950.538969] sd 197:0:0:0: [sdd] No Caching mode page found
2015-09-13T11:55:33.340672+02:00 xrated kernel: [171950.538971] sd 197:0:0:0: [sdd] Assuming drive cache: write through
2015-09-13T11:55:33.605675+02:00 xrated kernel: [171950.803782]  sdd: sdd1
2015-09-13T11:55:33.606666+02:00 xrated kernel: [171950.804641] sd 197:0:0:0: [sdd] Attached SCSI disk
2015-09-13T11:55:37.080669+02:00 xrated kernel: [171954.276583] usb 7-1: USB disconnect, device number 93
2015-09-13T11:55:37.319707+02:00 xrated kernel: [171954.515466] usb 7-1: new SuperSpeed USB device number 94 using xhci_hcd
2015-09-13T11:55:37.330677+02:00 xrated kernel: [171954.527193] usb 7-1: New USB device found, idVendor=174c, idProduct=5106
2015-09-13T11:55:37.330683+02:00 xrated kernel: [171954.527195] usb 7-1: New USB device strings: Mfr=2, Product=3, SerialNumber=1
2015-09-13T11:55:37.330684+02:00 xrated kernel: [171954.527196] usb 7-1: Product: AS2105
2015-09-13T11:55:37.330685+02:00 xrated kernel: [171954.527197] usb 7-1: Manufacturer: ASMedia
2015-09-13T11:55:37.330685+02:00 xrated kernel: [171954.527197] usb 7-1: SerialNumber:       JR10046P2HAJ8N
2015-09-13T11:55:37.331682+02:00 xrated kernel: [171954.528056] usb-storage 7-1:1.0: USB Mass Storage device detected
2015-09-13T11:55:37.331687+02:00 xrated kernel: [171954.528120] scsi host198: usb-storage 7-1:1.0
2015-09-13T11:55:37.332796+02:00 xrated mtp-probe: checking bus 7, device 94: "/sys/devices/pci0000:00/0000:00:14.0/usb7/7-1"
2015-09-13T11:55:37.333051+02:00 xrated mtp-probe: bus: 7, device: 94 was not an MTP device
2015-09-13T11:55:38.334682+02:00 xrated kernel: [171955.530079] scsi 198:0:0:0: Direct-Access     HGST HTS 721010A9E630     JB0O PQ: 0 ANSI: 5
2015-09-13T11:55:38.334691+02:00 xrated kernel: [171955.530262] sd 198:0:0:0: Attached scsi generic sg5 type 0
2015-09-13T11:55:38.334692+02:00 xrated kernel: [171955.530384] sd 198:0:0:0: [sdd] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
2015-09-13T11:55:38.334692+02:00 xrated kernel: [171955.530590] sd 198:0:0:0: [sdd] Write Protect is off
2015-09-13T11:55:38.334733+02:00 xrated kernel: [171955.530593] sd 198:0:0:0: [sdd] Mode Sense: 23 00 00 00
2015-09-13T11:55:38.334734+02:00 xrated kernel: [171955.530793] sd 198:0:0:0: [sdd] No Caching mode page found
2015-09-13T11:55:38.334735+02:00 xrated kernel: [171955.530794] sd 198:0:0:0: [sdd] Assuming drive cache: write through
2015-09-13T11:55:38.605672+02:00 xrated kernel: [171955.801214]  sdd: sdd1
2015-09-13T11:55:38.606666+02:00 xrated kernel: [171955.802023] sd 198:0:0:0: [sdd] Attached SCSI disk
2015-09-13T11:55:42.425671+02:00 xrated kernel: [171959.618490] usb 7-1: USB disconnect, device number 94
2015-09-13T11:55:42.667688+02:00 xrated kernel: [171959.860384] usb 7-1: new SuperSpeed USB device number 95 using xhci_hcd

usbmon log attached.

Thanks,
Pete
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux