You are not logged in.

#1 2012-09-27 14:25:14

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

usb 3.0 hard drive doesn't work

i boot my laptop with ubuntu ,the usb3.0 hard drive could be recognized by usb3.0 port without external power, but archlinux cannot.
the write speed is 43.7 MB/s in ubuntu. it seems like that this is only usb2.0 speed.
can archlinux use usb3.0 as usb2.0?

1) the ubuntu dmesg is
[  110.038673] usb 4-1: new SuperSpeed USB device number 2 using xhci_hcd
[  110.056253] scsi5 : usb-storage 4-1:1.0
[  111.992005] scsi 5:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
[  111.992507] scsi 5:0:0:1: Enclosure         WD       SES Device       1016 PQ: 0 ANSI: 6
[  111.994139] sd 5:0:0:0: Attached scsi generic sg2 type 0
[  111.994347] scsi 5:0:0:1: Attached scsi generic sg3 type 13
[  115.358425] sd 5:0:0:0: [sdc] 976707584 512-byte logical blocks: (500 GB/465 GiB)
[  115.358660] sd 5:0:0:0: [sdc] Write Protect is off
[  115.358667] sd 5:0:0:0: [sdc] Mode Sense: 47 00 10 08
[  115.358897] sd 5:0:0:0: [sdc] No Caching mode page present
[  115.358904] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  115.359692] sd 5:0:0:0: [sdc] No Caching mode page present
[  115.359698] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  115.375489]  sdc: sdc1
[  115.376473] sd 5:0:0:0: [sdc] No Caching mode page present
[  115.376481] sd 5:0:0:0: [sdc] Assuming drive cache: write through
[  115.376487] sd 5:0:0:0: [sdc] Attached SCSI disk
[  115.466372] ses 5:0:0:1: Attached Enclosure device

2) use dd to test the write speed of ubuntu.
dd if=/dev/zero of=/media/siyuan/test.file bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 24.5506 s, 43.7 MB/s


----------------------------------

this issue still exists when i upgrade the kernel to 3.5.5-1-ARCH
----------------------------------

hi, everyone
i have a usb 3.0 hard drive and a laptop with usb 3.0 port.
when the hard drive is connected to the usb 3.0 port, the drive could not be found.
the dmesg output is listed below.
additinal info:
1) the usb 3.0 hard drive can be found when connected to usb 2.0 port.
2) the usb 2.0 hard drive can be found when connected to usb 3.0 port.
3) mouse works when connected to the usb 3.0 port.

it seems that it is not the linux driver's problem, because the mouse could work and the hard drive is found due to the dmesg.
is this a bug?
would someone help me?
thank you!

dmesg out put when usb 3.0 hard drive is conneted to usb 3.0 port:

[  646.077385] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[  646.171319] usbcore: registered new interface driver uas
[  646.175313] Initializing USB Mass Storage driver...
[  646.175501] scsi4 : usb-storage 2-2:1.0
[  646.175665] usbcore: registered new interface driver usb-storage
[  646.175667] USB Mass Storage support registered.
[  657.149403] scsi 4:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
[  657.149974] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks: (500 GB/465 GiB)
[  657.150223] sd 4:0:0:0: [sdb] Write Protect is off
[  657.150232] sd 4:0:0:0: [sdb] Mode Sense: 47 00 10 08
[  657.150456] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.150462] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.151436] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.151440] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.159907]  sdb: sdb1
[  657.160852] sd 4:0:0:0: [sdb] No Caching mode page present
[  657.160858] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[  657.160861] sd 4:0:0:0: [sdb] Attached SCSI disk
[  657.268875] usb 2-2: Device not responding to set address.
[  657.471456] usb 2-2: Device not responding to set address.
[  657.674211] usb 2-2: device not accepting address 2, error -71
[  657.780745] usb 2-2: Device not responding to set address.
[  657.983519] usb 2-2: Device not responding to set address.
[  658.186214] usb 2-2: device not accepting address 2, error -71
[  658.292717] usb 2-2: Device not responding to set address.
[  658.495537] usb 2-2: Device not responding to set address.
[  658.698277] usb 2-2: device not accepting address 2, error -71
[  658.804774] usb 2-2: Device not responding to set address.
[  659.007557] usb 2-2: Device not responding to set address.
[  659.210298] usb 2-2: device not accepting address 2, error -71
[  659.210366] usb 2-2: USB disconnect, device number 2
[  659.213797] sd 4:0:0:0: [sdb] Unhandled error code
[  659.213804] sd 4:0:0:0: [sdb] 
[  659.213808] Result: hostbyte=0x01 driverbyte=0x00
[  659.213812] sd 4:0:0:0: [sdb] CDB:
[  659.213814] cdb[0]=0x28: 28 00 00 00 00 00 00 00 08 00
[  659.213826] end_request: I/O error, dev sdb, sector 0
[  659.213830] Buffer I/O error on device sdb, logical block 0
[  659.214647] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b375fe40
[  659.214656] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800b375fe00
[  659.320085] usb 2-2: Device not responding to set address.
[  659.522884] usb 2-2: Device not responding to set address.
[  659.725646] usb 2-2: device not accepting address 3, error -71
[  659.832077] usb 2-2: Device not responding to set address.
[  660.034905] usb 2-2: Device not responding to set address.
[  660.237663] usb 2-2: device not accepting address 4, error -71
[  660.344135] usb 2-2: Device not responding to set address.
[  660.546938] usb 2-2: Device not responding to set address.
[  660.749642] usb 2-2: device not accepting address 5, error -71
[  660.856129] usb 2-2: Device not responding to set address.
[  661.058946] usb 2-2: Device not responding to set address.
[  661.261701] usb 2-2: device not accepting address 6, error -71
[  661.261722] hub 2-0:1.0: unable to enumerate USB device on port 2

Last edited by wangsiyuan (2012-10-09 15:30:05)

Offline

#2 2012-09-27 17:48:31

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: usb 3.0 hard drive doesn't work

Hey. If it's a PC, could you try in the rear USB ports?

Offline

#3 2012-09-28 01:09:45

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

hi,
it is a laptop with two usb 3.0 port and one usb 2.0 port.
both of the usb 3.0 are the same.
thank you.

archie0 wrote:

Hey. If it's a PC, could you try in the rear USB ports?

Offline

#4 2012-09-28 06:27:29

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: usb 3.0 hard drive doesn't work

is it a 2,5" drive with no external power supply?

run: tail -f /var/log/messages.log
and plug in your device, any other errors in log files?

Offline

#5 2012-09-28 07:53:50

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

hi, thank you for replay

yes, it is a 2.5" drive without power supply.
this is a "western digital" usb hard drive: WDBACY5000AWT
here is a Product Specifications
http://www.wdc.com/wdproducts/library/A … 705131.pdf

i don't take my laptop with me. i would try it later.
thank you!

broken pipe wrote:

is it a 2,5" drive with no external power supply?

run: tail -f /var/log/messages.log
and plug in your device, any other errors in log files?

Offline

#6 2012-09-28 08:49:54

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: usb 3.0 hard drive doesn't work

could be possible that the usb3 port does not supply enough power to spin up the drive (min. 1A).
my usb3 2,5" only works with an external supply or when i plug it in my thinkpad's power usb port.

laptop too new? big_smile which one do you have?

you could also try another live distro and plug in the usb hd.
in my case, the usb3 speed is somehow limited under arch. i get an average transmission rate from about 30 MB/s but under Win7/Ubuntu it's about ~ 150MB/s

Last edited by broken pipe (2012-09-28 08:58:39)

Offline

#7 2012-09-28 09:28:57

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

my laptop is thinkpad x230.
details of this laptop is:
i7-3520M(3.6GHz), 4GB RAM, 500GB 7200rpm HD, 12.5in 1366x768 LCD, Intel HD Graphics, Intel 802.11agn wireless, 1Gb Ethernet, UltraNav, Secure Chip, Fingerprint reader, Camera, 6c Li-Ion,
1) this laptop has a usb2.0 port(i think it is usb2.0 because it is yellow, not the usb 3.0's blue), the hard drive can work when connected this usb 2.0 port.
2) Ubuntu could use usb 3.0 without external power supply?

thank you!

broken pipe wrote:

could be possible that the usb3 port does not supply enough power to spin up the drive (min. 1A).
my usb3 2,5" only works with an external supply or when i plug it in my thinkpad's power usb port.

laptop too new? big_smile which one do you have?

you could also try another live distro and plug in the usb hd.
in my case, the usb3 speed is somehow limited under arch. i get an average transmission rate from about 30 MB/s but under Win7/Ubuntu it's about ~ 150MB/s

Offline

#8 2012-09-28 11:14:51

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: usb 3.0 hard drive doesn't work

yes the yellow one is the power usb (USB 2 which provides more power than an average usb port > 1 Ampere), i got a thinkpad edge 530 and the USB 3 port has too little power to spin up the drive sad

I think that ubuntu can't mount it either, but worth one try wink

Last edited by broken pipe (2012-09-28 11:15:56)

Offline

#9 2012-09-28 14:08:13

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

tail -f /var/log/messages.log is similar to the dmesg.
1) I have a usb 2.0 hard drive which could use the usb 3.0 port.
2) I remeber x230 with windows XP could use my usb 3.0 hard drive with the usb 3.0 port
3) so, it is a problem of archlinux rather than hardware?

thank you!

output of tail -f /var/log/messages.log:
Sep 28 22:00:15 siyuan kernel: [ 1631.021315] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
Sep 28 22:00:15 siyuan kernel: [ 1631.115610] usbcore: registered new interface driver uas
Sep 28 22:00:16 siyuan kernel: [ 1631.125728] Initializing USB Mass Storage driver...
Sep 28 22:00:16 siyuan kernel: [ 1631.125929] scsi4 : usb-storage 4-2:1.0
Sep 28 22:00:16 siyuan kernel: [ 1631.126079] usbcore: registered new interface driver usb-storage
Sep 28 22:00:16 siyuan kernel: [ 1631.126081] USB Mass Storage support registered.
Sep 28 22:00:27 siyuan kernel: [ 1642.100134] scsi 4:0:0:0: Direct-Access     WD       My Passport 0730 1016 PQ: 0 ANSI: 6
Sep 28 22:00:27 siyuan kernel: [ 1642.100581] sd 4:0:0:0: [sdb] 976707584 512-byte logical blocks: (500 GB/465 GiB)
Sep 28 22:00:27 siyuan kernel: [ 1642.100852] sd 4:0:0:0: [sdb] Write Protect is off
Sep 28 22:00:27 siyuan kernel: [ 1642.111571]  sdb: sdb1
Sep 28 22:00:27 siyuan kernel: [ 1642.112643] sd 4:0:0:0: [sdb] Attached SCSI disk
Sep 28 22:00:27 siyuan kernel: [ 1642.219396] usb 4-2: Device not responding to set address.
Sep 28 22:00:27 siyuan kernel: [ 1642.422078] usb 4-2: Device not responding to set address.
Sep 28 22:00:27 siyuan kernel: [ 1642.731298] usb 4-2: Device not responding to set address.
Sep 28 22:00:27 siyuan kernel: [ 1642.934099] usb 4-2: Device not responding to set address.
Sep 28 22:00:28 siyuan kernel: [ 1643.243323] usb 4-2: Device not responding to set address.
Sep 28 22:00:28 siyuan kernel: [ 1643.446148] usb 4-2: Device not responding to set address.
Sep 28 22:00:28 siyuan kernel: [ 1643.755321] usb 4-2: Device not responding to set address.
Sep 28 22:00:28 siyuan kernel: [ 1643.958170] usb 4-2: Device not responding to set address.
Sep 28 22:00:29 siyuan kernel: [ 1644.160978] usb 4-2: USB disconnect, device number 2
Sep 28 22:00:29 siyuan kernel: [ 1644.162815] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c41dae40
Sep 28 22:00:29 siyuan kernel: [ 1644.162820] xhci_hcd 0000:00:14.0: xHCI xhci_drop_endpoint called with disabled ep ffff8800c41dae00
Sep 28 22:00:29 siyuan kernel: [ 1644.267359] usb 4-2: Device not responding to set address.
Sep 28 22:00:29 siyuan kernel: [ 1644.470263] usb 4-2: Device not responding to set address.
Sep 28 22:00:29 siyuan kernel: [ 1644.779375] usb 4-2: Device not responding to set address.
Sep 28 22:00:29 siyuan kernel: [ 1644.982208] usb 4-2: Device not responding to set address.
Sep 28 22:00:30 siyuan kernel: [ 1645.291402] usb 4-2: Device not responding to set address.
Sep 28 22:00:30 siyuan kernel: [ 1645.494307] usb 4-2: Device not responding to set address.
Sep 28 22:00:30 siyuan kernel: [ 1645.803400] usb 4-2: Device not responding to set address.
Sep 28 22:00:30 siyuan kernel: [ 1646.006252] usb 4-2: Device not responding to set address.


broken pipe wrote:

is it a 2,5" drive with no external power supply?

run: tail -f /var/log/messages.log
and plug in your device, any other errors in log files?

Offline

#10 2012-09-28 14:55:22

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: usb 3.0 hard drive doesn't work

It's more like a kernel problem. I can only use my external HDD if I plug it in my rear usb ports. (Under Linux)

Offline

#11 2012-09-28 14:57:21

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: usb 3.0 hard drive doesn't work

broken pipe wrote:

yes the yellow one is the power usb (USB 2 which provides more power than an average usb port > 1 Ampere), i got a thinkpad edge 530 and the USB 3 port has too little power to spin up the drive sad

I think that ubuntu can't mount it either, but worth one try wink

(Sorry for the OT) My E430 spins up just fine w/ the 3.0 ports.  How new is your machine, 2nd or 3rd gen Intel?

Offline

#12 2012-09-28 21:58:38

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: usb 3.0 hard drive doesn't work

WonderWuffi wrote:

How new is your machine, 2nd or 3rd gen Intel?

Answer already provided by OP  https://encrypted.google.com/search?&q=i7-3520M
It is known as Ivy Bridge.

broken pipe wrote:

i get an average transmission rate from about 30 MB/s

Looks like the kernel is using usb 2 .
USB 2.0 = 480 Mbit/s
USB 3.0 = 5 Gbit/s

Last edited by teateawhy (2012-09-28 21:59:06)

Offline

#13 2012-09-28 22:21:54

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: usb 3.0 hard drive doesn't work

teateawhy wrote:
WonderWuffi wrote:

How new is your machine, 2nd or 3rd gen Intel?

Answer already provided by OP  https://encrypted.google.com/search?&q=i7-3520M
It is known as Ivy Bridge.

You didn't read my post close enough.  I was apologizing for the OT because I was asking this of broken pipe. 

Also, 3rd gen intel core would be synonymous with Ivy Bridge, as Ivy Bridge is simply a code name for the 3rd gen.

Offline

#14 2012-09-29 01:37:48

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

archie0 wrote:

It's more like a kernel problem. I can only use my external HDD if I plug it in my rear usb ports. (Under Linux)

my computer is laptop which doesn't have the "rear"
what's the differences of rear and front usb ports in desktop?

Last edited by wangsiyuan (2012-09-29 01:38:09)

Offline

#15 2012-09-29 01:39:53

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

hi, does 3rd gen intel have problem with usb 3.0 ? my cpu is 3rd gen.

WonderWoofy wrote:
teateawhy wrote:
WonderWuffi wrote:

How new is your machine, 2nd or 3rd gen Intel?

Answer already provided by OP  https://encrypted.google.com/search?&q=i7-3520M
It is known as Ivy Bridge.

You didn't read my post close enough.  I was apologizing for the OT because I was asking this of broken pipe. 

Also, 3rd gen intel core would be synonymous with Ivy Bridge, as Ivy Bridge is simply a code name for the 3rd gen.

Offline

#16 2012-09-29 01:39:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: usb 3.0 hard drive doesn't work

I assume it is because the reap ports are typically the ones native to the motherboard, whereas the front ports are connected to a usb pin connector.  So the back ones tend to be more reliable.

Offline

#17 2012-09-30 13:31:48

broken pipe
Member
Registered: 2010-12-10
Posts: 238

Re: usb 3.0 hard drive doesn't work

teateawhy wrote:
broken pipe wrote:

i get an average transmission rate from about 30 MB/s

Looks like the kernel is using usb 2 .
USB 2.0 = 480 Mbit/s
USB 3.0 = 5 Gbit/s


yes but only the arch kernel! i get full usb3 speed under ubuntu!

mine is also a 3rd generation i5 (Ivy Bridge). i think it's a problem with the xhci_module, not the cpu.

Offline

#18 2012-10-09 15:30:32

wangsiyuan
Member
Registered: 2011-07-29
Posts: 66

Re: usb 3.0 hard drive doesn't work

i boot my laptop with ubuntu ,the usb3.0 hard drive could be recognized by usb3.0 port without external power, but archlinux cannot.
the write speed is 43.7 MB/s in ubuntu. it seems like that this is only usb2.0 speed.
can archlinux use usb3.0 as usb2.0?

Offline

#19 2012-11-03 16:10:41

Snostorm
Member
Registered: 2009-04-12
Posts: 18

Re: usb 3.0 hard drive doesn't work

I was having a similar issue where my usb 3 HD was not working and this solved my issue with it being usable,   I need to check the  speed but I have no clue as to why this would have worked.

I am not sure if this will resolve your issue, but it's worth a try :
Connect your Device
Pull the usb cable just a little bit out from the computer side.. ( just a tiny bit) and wait for a couple of minutes..
if it starts working then you may push the usb - cable back in properly.
I faced similar issue..
If it doesn't work then sorry.. sad

from :

http://askubuntu.com/questions/209478/e … in-windows

Although,
                 seems the spped is still usb2 speed,
dd if=/dev/zero of=/media/76b56d96-509a-41dd-bc22-fd9601e04713/test.txt  bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 30.2459 s, 35.5 MB/s

I will have to try my desktop as well.  But would still love to know why the plug trick works?

Last edited by Snostorm (2012-11-03 16:21:12)

Offline

#20 2012-11-03 18:02:20

ChALkeR
Member
Registered: 2010-10-27
Posts: 63

Re: usb 3.0 hard drive doesn't work

My usb 3.0 harddrive (STBE500200) flawlessly works with my notebook (UX31A) at full speed (108 MB/s read) (when being plugged in with usb 3.0 cord that's shipped with the harddrive).
Plugging it in with usb 2.0 cord crops the speed at 41.4 MB/s (read).

I'm using [testing], so that is linux 3.6.5.
You could try it, it may help.

If it won't, you could try using usb 2.0 cord to force the drive to operate using usb 2.0.

Last edited by ChALkeR (2012-11-03 18:03:52)

Offline

Board footer

Powered by FluxBB