You are not logged in.

#1 2012-06-23 16:25:49

Katherine1
Member
Registered: 2011-05-02
Posts: 41

USB Hard Drive disconnecting under load

I have a usb hard drive that I use for backups. It is a 1TB hard drive formatted as ext4 with a USB3 enclosure. My laptop uses USB2. The drive initially mounts fine, but after I start my rsync operation to backup my home partition, the hard drive will disconnect and reconnect, or just disconnect and be unavailable to remount until the hard drive has been shut off and started back up. This is what prints out in the messages.log when this occurs. Any clue what is going on?

Jun 23 11:02:09 localhost udisksd[1391]: Mounted /dev/sdc1 at /run/media/-----/11b04014-d628-4d94-9a3f-8e8b7cdd6550 on behalf of uid 1000
Jun 23 11:14:03 localhost sc D:cb0=x8 80 0c 80 00 80
Jun 23 11:14:03 localhost udisksd[1391]: Cleaning up mount point /run/media/-----/11b04014-d628-4d94-9a3f-8e8b7cdd6550 (device 8:33 no longer exist)
Jun 23 11:14:49 localhost 3[ 6.628 n_eus:IOerr e d,sco 2534<3>[ 1013.649983] usb 2-1: device descriptor read/64, error -110
Jun 23 11:15:05 localhost kernel: [ 1029.043669] usb 2-1: new high-speed USB device number 8 using ehci_hcd
Jun 23 11:15:56 localhost ieo ot1<3>[ 1080.621773] usb 5-1: device descriptor read/64, error -110
Jun 23 11:16:38 localhost kernel: [ 1080.854709 s -:nwfl-pe S eienme  sn hihd<6>[ 1121.917716] usb 5-1: new full-speed USB device number 7 using ohci_hcd

Offline

#2 2012-06-24 02:37:34

Katherine1
Member
Registered: 2011-05-02
Posts: 41

Re: USB Hard Drive disconnecting under load

Does anyone have any clue what could be causing the intermittant disconnects?

Offline

#3 2012-06-24 03:05:12

DanGray
Member
Registered: 2004-08-15
Posts: 23

Re: USB Hard Drive disconnecting under load

Does the drive have an external power supply or is it being powered from a USB port?

Offline

#4 2012-06-24 17:10:31

pigiron
Member
From: USA
Registered: 2009-07-14
Posts: 150

Re: USB Hard Drive disconnecting under load

device descriptor read/64, error -110

I just got that same error message (but not some of the others you have) after a system update to kernel 3.4.3-1-ARCH. This happens for me when using a (slow) USB drive... but only under a heavy read/write load. I'd never had this problem before using the same applications and hardware.

So I poked around in the kernel source code. That message occurs when the kernel tries to send a Control Message to a USB device, but the operation times out. But... you can change the timeout value.

If you do a "modinfo usbcore", you'll see that one it's parameters is "initial_descriptor_timeout" and it defaults to 5000 milliseconds (5 seconds)... which is forever in the kernel world, but like I said, I've got a slow USB flash drive... and there's a comment in the code that one particular device needs a 10 second timeout.

So I'm going to try a larger value.

You can change it temporarily by entering "echo -n {some-value} > /sys/module/usbcore/parameters/initial_descriptor_timeout" with root authority.

Or permanently, in a file in the /etc/modprobe.d directory and put an "options" line in it... see "man modprobe.d".

Offline

Board footer

Powered by FluxBB