Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
orinocoOffline
Post subject: USB 3.0 - Warnings in /var/log/messages  PostPosted: 27.07.2011, 20:31



Joined: 2011-01-28
Posts: 30

Status: Offline
Hello,

today I attached my new external drive with USB 3.0 interface to my computer. Right after writing some data to the partition (ntfs) the following warnings appeared in /var/log/messages
      Code:
Jul 27 21:57:09 jake kernel: [10827.589667] xhci_hcd 0000:02:00.0: WARN: Stalled endpoint
Jul 27 21:57:09 jake kernel: [10827.822198] xhci_hcd 0000:02:00.0: WARN: Stalled endpoint
Jul 27 21:57:09 jake kernel: [10827.822836] sd 10:0:0:0: [sdc]  Sense Key : Recovered Error [current] [descriptor]
Jul 27 21:57:09 jake kernel: [10827.822852] Descriptor sense data with sense descriptors (in hex):
Jul 27 21:57:09 jake kernel: [10827.822857]         72 01 04 1d 00 00 00 0e 09 0c 00 00 00 00 3d 00
Jul 27 21:57:09 jake kernel: [10827.822877]         00 4f 00 c2 00 50
Jul 27 21:57:09 jake kernel: [10827.822888] sd 10:0:0:0: [sdc]  ASC=0x4 ASCQ=0x1d


This entry repeats from time to time.

The onboard USB controller is

      Code:
02:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)


I'm quite unsure if this is a real issue. Any ideas?
 
 View user's profile Send private message  
Reply with quote Back to top
slhOffline
Post subject: RE: USB 3.0 - Warnings in /var/log/messages  PostPosted: 27.07.2011, 22:47



Joined: 2010-08-25
Posts: 736

Status: Offline
Messages like that usually point to less than stellar device firmware; given that USB 3.0 is still very new/ rare the bug can easily be on either side of the story (either in the kernel, or in the device - my gut feeling would point to the device, though). It would be interesting if you could reproduce it with other USB 2.0 (or better different USB 3.0-) devices.
 
 View user's profile Send private message  
Reply with quote Back to top
orinocoOffline
Post subject:   PostPosted: 27.07.2011, 23:12



Joined: 2011-01-28
Posts: 30

Status: Offline
I've never used the USB 3.0 ports before. At the moment I copy some big files to the external drive and the transfer speed is rather slow (about 24MB/s with mc and ntfs). To be honest I expected more. This evening I will do more tests (even with 2.0 devices).

P.S.
The command lsusb shows this for the external drive:
      Code:
Bus 002 Device 002: ID 174c:5106 ASMedia Technology Inc.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayzeOffline
Post subject:   PostPosted: 27.07.2011, 23:53



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
The cheap USB 2/3 enclosures usually have rather less than stellar firmware and no way to update them. I have such an enclosure that I use for reading only as writing to the device ends up corrupting the filesystem on the drive. A good idea to look for the better made enclosures where it's easy to update the firmware
 
 View user's profile Send private message  
Reply with quote Back to top
orinocoOffline
Post subject:   PostPosted: 06.08.2011, 12:58



Joined: 2011-01-28
Posts: 30

Status: Offline
Sorry for the late posting. I was on a business trip.

Today I changed the usb cable. There is no speed improvement, but less warnings.

Not to forget to mention: With the thing from Redmond there is no (visible) problem.
 
 View user's profile Send private message  
Reply with quote Back to top
orinocoOffline
Post subject:   PostPosted: 07.08.2011, 15:25



Joined: 2011-01-28
Posts: 30

Status: Offline
Hello,

today I had the time to do more tests. While searching the web I found a firmware-update for the NEC/Renesas usb-chip on my motherboard. The release-text of the firmwareupdate talks about
      Quote:
Added the workaround of "xHCI Driver yellow bang problem".

I guess this is primary a Redmond problem, but I did the upgrade. No risk, no fun.

I also tested with other ehci devices (stick, external drive etc.) on the xhci port.

The two sticks and the external drive where connected through a usb 2.0 hub with the second usb 3.0 port. The second external usb 3.0 drive was conneted to the first usb 3.0 port.

Right after plugging in the usb 2.0 devices I see the following warning in /var/log/messages
      Code:
Aug  7 17:12:41 jake kernel: [ 7361.050763] usb 1-2.2: new high speed USB device number 7 using xhci_hcd
Aug  7 17:12:41 jake kernel: [ 7361.063727] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake kernel: [ 7361.064094] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake kernel: [ 7361.064474] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake kernel: [ 7361.064851] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake kernel: [ 7361.064981] usb 1-2.2: New USB device found, idVendor=0781, idProduct=5151
Aug  7 17:12:41 jake kernel: [ 7361.064989] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug  7 17:12:41 jake kernel: [ 7361.064995] usb 1-2.2: Product: Cruzer Micro
Aug  7 17:12:41 jake kernel: [ 7361.065000] usb 1-2.2: Manufacturer: SanDisk Corporation
Aug  7 17:12:41 jake kernel: [ 7361.065029] usb 1-2.2: SerialNumber: 200443183211B3B15FB0
Aug  7 17:12:41 jake kernel: [ 7361.065974] scsi15 : usb-storage 1-2.2:1.0
Aug  7 17:12:41 jake mtp-probe: checking bus 1, device 7: "/sys/devices/pci0000:00/0000:00:05.0/0000:02:00.0/usb1/1-2/1-2.2"
Aug  7 17:12:41 jake kernel: [ 7361.292617] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake kernel: [ 7361.292975] xhci_hcd 0000:02:00.0: WARN: short transfer on control ep
Aug  7 17:12:41 jake mtp-probe: bus: 1, device: 7 was not an MTP device
Aug  7 17:12:42 jake kernel: [ 7362.066937] scsi 15:0:0:0: Direct-Access     SanDisk  Cruzer Micro     0.1  PQ: 0 ANSI: 2
Aug  7 17:12:42 jake kernel: [ 7362.174584] sd 15:0:0:0: Attached scsi generic sg7 type 0
Aug  7 17:12:42 jake kernel: [ 7362.174969] sd 15:0:0:0: [sdf] 2001888 512-byte logical blocks: (1.02 GB/977 MiB)
Aug  7 17:12:42 jake kernel: [ 7362.175389] sd 15:0:0:0: [sdf] Write Protect is off
Aug  7 17:12:42 jake kernel: [ 7362.178119]  sdf: sdf1
Aug  7 17:12:42 jake kernel: [ 7362.179308] sd 15:0:0:0: [sdf] Attached SCSI removable disk


This is an example for the San Disk stick. The other usb 2.0 devices looks always the same.

I can't see any data corruption while copying data from/to the usb 3.0 external drive.

Still clueless...
 
 View user's profile Send private message  
Reply with quote Back to top
orinocoOffline
Post subject:   PostPosted: 07.08.2011, 15:27



Joined: 2011-01-28
Posts: 30

Status: Offline
      DeepDayze wrote:
A good idea to look for the better made enclosures where it's easy to update the firmware

Any advice? Should be an enclosure for a 2,5" drive.
 
 View user's profile Send private message  
Reply with quote Back to top
DeepDayzeOffline
Post subject:   PostPosted: 07.08.2011, 21:48



Joined: 2010-09-11
Posts: 616
Location: USA
Status: Offline
      orinoco wrote:
      DeepDayze wrote:
A good idea to look for the better made enclosures where it's easy to update the firmware

Any advice? Should be an enclosure for a 2,5" drive.


If this is a laptop drive you can get by with a 2.5" drive enclosure
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio