cancel
Showing results for 
Search instead for 
Did you mean: 
lifeisfutile666
Level 1
6 2 0 1
Message 1 of 2
991
Flag Post

USB 3.0 ports seem to not be working correctly

HP Recommended
HP Workstation Z420
Linux

[Repost from wrong board]

Background: I have an external USB 3.0 Toshiba hard disk (500 gb) from which I need to copy data. If I connect it using the USB 3.0 cable to the USB 3.0 ports (blue ones) on the front/rear of the PC, then problems appear.

I'll try to describe them step by step:

 

1. I connect the external hard disk to the USB 3.0 ports.

2. Everything seems to be working fine as long as I don't copy/move things on the external hdd. I can explore the hard disk and nothing happens.

3. If I try to do any file operation on the external hard disk, the file manager will tell me that an I/O error has ocurred and then the hard disk will shut itself down (it disconnects automatically). It doesn't occur immediatly, though. I can copy like 100-500mb and then this happens. 

4. I re-connect the external hdd to the same port, but it won't be recognized again. It can be recognized again if I connect it on the rear ports but then it will disconnect itself and won't be recognized in any of the rear ports.

5. Connecting the external hdd to another USB 2.0 port doesn't give me any problem.

6. USB 2.0 devices work flawlessly on any of the USB 3.0 ports. It's just the hard drive that won't be recognized on these ports anymore unless I reboot the PC.

 

The same problem occurs on Windows 10 (although Windows seems to be able to 're-discover' the drive again, but it would disconnect again if I do any operation inside the external hdd).  

Dmesg relevant output:

[ +0.011668] sd 9:0:0:0: [sde] Attached SCSI disk // I attach the hard drive.
[ +19.635800] usb 3-4: reset SuperSpeed USB device number 3 using xhci_hcd // This appears as soon as I copy files.
[ +1.150059] usb 3-4: Device not responding to setup address. // USB HDD is now dead at this point.
[ +0.206631] usb 3-4: Device not responding to setup address.
[ +0.206535] usb 3-4: device not accepting address 3, error -71
[ +0.196807] usb 3-4: Device not responding to setup address.
[ +0.206642] usb 3-4: Device not responding to setup address.
[ +0.206568] usb 3-4: device not accepting address 3, error -71
[ +0.200168] usb 3-4: Device not responding to setup address.
[ +0.206678] usb 3-4: Device not responding to setup address.
[ +0.233175] usb 3-4: device not accepting address 3, error -71
[ +0.200176] usb 3-4: Device not responding to setup address.
[ +0.206664] usb 3-4: Device not responding to setup address.
[ +0.229893] usb 3-4: device not accepting address 3, error -71
[ +0.053367] usb 3-4: USB disconnect, device number 3
[ +0.013258] sd 9:0:0:0: [sde] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ +0.000004] sd 9:0:0:0: [sde] tag#0 CDB: opcode=0x28 28 00 08 72 9f e8 00 01 00 00
[ +0.000002] blk_update_request: I/O error, dev sde, sector 141729768
[ +0.000027] sd 9:0:0:0: [sde] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x01 driverbyte=0x00
[ +0.000001] sd 9:0:0:0: [sde] tag#0 CDB: opcode=0x28 28 00 08 72 a0 e8 00 01 00 00
[ +0.000001] blk_update_request: I/O error, dev sde, sector 141730024
[ +0.193379] usb 3-4: Device not responding to setup address.
[ +0.206675] usb 3-4: Device not responding to setup address.
[ +0.209917] usb 3-4: device not accepting address 4, error -71
[ +0.140123] usb 3-4: Device not responding to setup address.
[ +0.209969] usb 3-4: Device not responding to setup address.
[ +0.206582] usb 3-4: device not accepting address 5, error -71
[ +0.140219] usb 3-4: Device not responding to setup address.
[ +0.206591] usb 3-4: Device not responding to setup address.
[Jul14 04:44] usb 3-4: device not accepting address 6, error -71
[ +0.200041] usb 3-4: Device not responding to setup address.
[ +0.206773] usb 3-4: Device not responding to setup address.
[ +0.206462] usb 3-4: device not accepting address 7, error -71
[ +0.026686] usb usb3-port4: unable to enumerate USB device
[ +0.000050] xhci_hcd 0000:08:00.0: Stop endpoint command completion for disabled slot 1

I have 2 HP laptops with USB 3.0 as well and the external hard drive just works okay in both laptops, so the hard drive is definitely not faulty. I just updated the BIOS firmware to the latest version, yet the problem is still there. I modified the PC so it has 4 more HDD drives, I don't know if this might affect the power supply in such way so that even the USB ports get affected.

What can I do? Is my PC hardware faulty? 

OS Info:

Linux/Manjaro 17.0.2, UEFI disabled, AHCI mode only, VT/X enabled.

EDIT: After trial and error testing, I found out that there's a solution (temporal fix) for Linux; I was able to copy 300+gb from the rear USB 3.0 port without any problems. However, I don't have any idea if it's possible with Windows, or if there's a way do definitely disable UAS (USB Attached SCSI)  so that I don't face this kind of problems.

1 REPLY 1
lifeisfutile666
Author
Level 1
6 2 0 1
Message 2 of 2
Flag Post
HP Recommended

Alright, I just found out this on HP's webpage:

https://support.hp.com/us-en/drivers/selfservice/swdetails/hp-z420-workstation/5225033/swItemId/wk-1...

 

However, it seems to be outdated and while I was able to extract the binary and run it, it doesn't seem to be working (and I don't think it's gonna work in OpenSUSE either, since the Linux kernel has changed way too much since 2013). 

Also, the 'solution' mentioned above works ocasionally and only with the rear ports, the front ports won't recognize the USB 3.0 device unless I reload the driver in Linux (sudo rmmod xhci_pci && sudo rmmod xhci_hcd)

Can anyone help me, please? 

Was this reply helpful? Yes No
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation