You are not logged in.

#1 2014-02-12 22:30:11

Raiden616
Member
Registered: 2012-11-13
Posts: 28

USB3 drive appears to be detected...

Hey all, wondered if I could have some assistance in getting to the bottom of why my USB 3.0 HDD is not working on my archlinux system...

When I plug it in to a USB 3.0 slot, although it gets power, nothing appears to happen. It all works in Windows. If I run "dmesg -w" then when I connect the drive I get the following response:

[ 2762.101985] usb 4-2: new SuperSpeed USB device number 3 using xhci_hcd
[ 2762.118116] usb-storage 4-2:1.0: USB Mass Storage device detected
[ 2762.118441] scsi7 : usb-storage 4-2:1.0

If I disconnect the drive, I receive:

[ 3977.365140] usb 4-2: USB disconnect, device number 3

I would have thought that this would mean that the device is being detected, but not automounted. However, if I run "fdisk -l" as root, then the USB 3.0 drive is NOT listed. As a control I plugged in a USB 2.0 drive into a USB 2.0 slot, and then run "fdisk -l" again; the USB 2.0 drive was successfully listed.

Not sure where to go from here... if anyone has any ideas, their input would be fantastically appreciated. Thanks in advance.

Offline

#2 2014-02-12 23:33:25

progandy
Member
Registered: 2012-05-17
Posts: 5,203

Re: USB3 drive appears to be detected...

I have some combinations you can try to narrow down the problem:
- does the ubs2.0 disc work with a 3.0 port?
- does the 3.0 disc work with a 2.0 port?
- does the 3.0 disc work with a 2.0 cable in a 3.0 port?

Last edited by progandy (2014-02-12 23:43:08)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#3 2014-02-12 23:42:26

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: USB3 drive appears to be detected...

Check if anything related to the drive shows up in the output of lsusb (check before and after connecting the drive).

It would also be good if you could provide more details about the usb3 controller and usb drive you are trying to use, as that might help other people try to replicate your problem or remember about any know problems.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2014-02-13 22:44:20

Raiden616
Member
Registered: 2012-11-13
Posts: 28

Re: USB3 drive appears to be detected...

Thanks so far guys!

@Member here are the answers to your questions:
- USB 2.0 disk works fine in the (same) USB 3.0 port
- No, but a USB 2.0 port does not provide enough power for the drive to spin up in the first place
- Sadly don't have a 2.0 cable with which to test

@R00KIE Yes with the USB 3.0 drive plugged in "lsusb" shows this additional line:

Bus 004 Device 003: ID 05e3:0731 Genesys Logic, Inc. GL3310 SATA 3Gb/s Bridge Controller

Offline

#5 2014-02-13 23:08:42

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: USB3 drive appears to be detected...

Please post the output of dmesg after connecting the disk. Also post the output of 'lspci -nn'.

It would be handy to see the output of dmesg when connecting to a usb2 port. I don't know what kind of disk you have but for disks that require more power than what the usb can provide, they usually have an external power supply or an Y-cable so you can get power from 2 usb ports at the same time.

Like I said in my previous post, you should provide as much info as you can, such as things you've tried to solve it yourself, info about the hardware, if you've tried it in another computer with different usb3 controller, if you tried older kernels (such as the lts kernel) and anything else you think relevant and may help in debugging the problem.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2014-02-14 12:10:26

Raiden616
Member
Registered: 2012-11-13
Posts: 28

Re: USB3 drive appears to be detected...

After connecting to the disk, the only dmesg output is what is in the original post. The USB3.0 drive doesn't have an external power supply and I don't have a Y cable to hand, so I can't test it in a USB2 port.

I did just remember that I have another external hard drive with a USB2/3 compatible cable -  I will test that in the USB 2 and 3 slots and post both the outputs tonight for comparison. I will also post an output of "lspci -nn" tonight - never heard of that command before.

That's literally all the info I can provide. I don't have access to another linux computer with USB3 slots on which to test this drive. Came here because I didn't know what else to try.

Last edited by Raiden616 (2014-02-14 12:10:54)

Offline

#7 2014-02-18 19:15:34

Raiden616
Member
Registered: 2012-11-13
Posts: 28

Re: USB3 drive appears to be detected...

Ok. I have tested it with another USB3.0 hard drive ( a WD MyBook) and it works fine. This is the output given by connecting it.

[82990.338150] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[82990.357449] usb-storage 2-1:1.0: USB Mass Storage device detected
[82990.358103] scsi8 : usb-storage 2-1:1.0
[82991.363021] scsi 8:0:0:0: Direct-Access     WD       My Book 1140     1012 PQ: 0 ANSI: 6
[82991.363256] scsi 8:0:0:1: Enclosure         WD       SES Device       1012 PQ: 0 ANSI: 6
[82991.363703] ses 8:0:0:1: Attached Enclosure device
[82991.363899] sd 8:0:0:0: [sdd] 3906963456 512-byte logical blocks: (2.00 TB/1.81 TiB)
[82991.365125] sd 8:0:0:0: [sdd] Write Protect is off
[82991.365133] sd 8:0:0:0: [sdd] Mode Sense: 47 00 10 08
[82991.366104] sd 8:0:0:0: [sdd] No Caching mode page found
[82991.366112] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[82991.372294] sd 8:0:0:0: [sdd] No Caching mode page found
[82991.372301] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[83003.268772]  sdd: sdd1
[83003.274344] sd 8:0:0:0: [sdd] No Caching mode page found
[83003.274358] sd 8:0:0:0: [sdd] Assuming drive cache: write through
[83003.274367] sd 8:0:0:0: [sdd] Attached SCSI disk

I realise that I forgot to mention that very rarely my USB3.0 drive DOES work if it is plugged into the computer on bootup. However I have not been able to replicate that over the past few days.

I have run lspci -nn both before and after connecting the drive; there is no difference before or after I connect. The output is:

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge [1022:9601]
00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0) [1022:9603]
00:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4) [1022:9608]
00:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5) [1022:9609]
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390]
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:12.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
00:13.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller [1002:4398]
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller [1002:4385] (rev 3c)
00:14.1 IDE interface [0101]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c]
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA) [1002:4383]
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge [1002:4384]
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map [1022:1201]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller [1022:1202]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control [1022:1204]
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK107 [GeForce GT 640] [10de:0fc1] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GK107 HDMI Audio Controller [10de:0e1b] (rev a1)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
03:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
04:07.0 Ethernet controller [0200]: D-Link System Inc DWL-510 / DWL-610 802.11b [Realtek RTL8180L] [1186:3300] (rev 20)
04:08.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev c0)

Offline

#8 2014-02-19 01:52:00

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: USB3 drive appears to be detected...

The output you get with a working disk is the expected output, nothing I can add about that.

Regarding the output of lspci, I see you have a NEC usb3 controller. Given that it seems to work fine with windows it should work with linux but things are never that easy.

The possible causes of problems I can think of now are: you found some corner case not yet covered by the linux driver or the windows driver is working around some quirk of the usb3 controller.

I assume you are running windows on bare metal, in that case you can check which firmware version the usb3 controller is using. You should go to the device manager and check the firmware version reported there (I've tried but I haven't found a way to check the firmware version from linux). Then go here [1] and check if there is a newer firmware for your usb3 controller. It's up to you to decide if you want to give it a try and install it (if there is a more recent version).

I've used firmware updates from there a couple times for a uPD720202 card I have and things went smoothly, of course that the usual disclaimers apply, be sure you want to do it and that you are aware that things can go wrong.

If the firmware update doesn't help solve the problem then I'm afraid I can't help more as I have no idea of what could be the problem.

[1] http://www.station-drivers.com/index.ph … enesas-nec


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

Board footer

Powered by FluxBB