Hi everybody,
I recently bought 2 large USB disk for doing backups. New disks are approx. 400 GB in large, usb 2.0. My backup program (Bacula 1.36.3) sucessfully writes to one of that disks and everything goes well. I bought usb disks for quick solution for doing backups as my streamer eaten another tape :? , and I would be happy to replace it with usb disks for convienience, reliability and - price.

The problem occurs when I need to copy a bigger file from one disk to another: no matter if it is normal SCSI disk in the computer or second USB drive. While copying bacula archive (a single file, which is 8GB in large now and will grow up to 50GB) afer some time (300-900MB) copying process slows down until it stops, slowly restart and continue copying. Because of that slow average speed of copying to and from usb 2.0 is about 2-3 MB/s only. While this process goes I can see in logs:

[kernel] usb 1-2: reset high speed USB device using ehci_hcd and address 5

This line repeats continously until I finish copying. After starting copying again, I still can see the message, but now since the very beginning. Unregistering the device and restarting the backup machine solves a problem until next copy.

I've checked md5 sums of copies and they are correct (uf!), I can also restore backups. I assume the problem lies somewhere in kernel, because it happens also on another computer.

I have to say that I really need a solution, because I feel unsafe to perform backups to a device which is not managed correctly by my kernel. Maybe I miss something in the kernel configuration or I need another solution? The filesystem I use is ext3.

Output from lsusb is:
Bus 001 Device 003: ID 0bc2:0502 Seagate RSS LLC

My kernel:
Linux backup 2.6.14-gentoo-r6 #1 SMP PREEMPT Tue Jan 3 11:26:09 CET 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux

Part of corresponding logs:
Feb 3 10:33:47 [kernel] usb 1-2: new high speed USB device using ehci_hcd and address 5
Feb 3 10:33:47 [kernel] scsi4 : SCSI emulation for USB Mass Storage devices
Feb 3 10:33:47 [kernel] usb-storage: device found at 5
Feb 3 10:33:47 [kernel] usb-storage: waiting for device to settle before scanning
Feb 3 10:33:53 [kernel] Vendor: ST340083 Model: 2A Rev: 3.03
Feb 3 10:33:53 [kernel] Type: Direct-Access ANSI SCSI revision: 00
Feb 3 10:33:53 [kernel] SCSI device sdd: 781422768 512-byte hdwr sectors (400088 MB)
Feb 3 10:33:53 [kernel] sdd: assuming drive cache: write through
Feb 3 10:33:53 [kernel] SCSI device sdd: 781422768 512-byte hdwr sectors (400088 MB)
Feb 3 10:33:53 [kernel] sdd: assuming drive cache: write through
Feb 3 10:33:53 [kernel] Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0 Feb 3 10:33:53 [kernel] Attached scsi generic sg4 at scsi4, channel 0, id 0, lun 0, type 0
Feb 3 10:33:53 [kernel] usb-storage: device scan complete
Feb 3 10:37:30 [kernel] kjournald starting. Commit interval 5 seconds
Feb 3 10:37:30 [kernel] EXT3-fs: mounted filesystem with ordered data mode.
Feb 3 10:39:31 [kernel] usb 1-1: reset high speed USB device using ehci_hcd and address 3
- Last output repeated 272 times -
Feb 3 13:01:10 [kernel] usb 1-2: reset high speed USB device using ehci_hcd and address 5 Feb 3 13:01:11 [kernel] usb 1-1: reset high speed USB device using ehci_hcd and address 3
- Last output repeated 74 times -
Feb 3 13:43:31 [kernel] usb 1-2: reset high speed USB device using ehci_hcd and address 5 Feb 3 13:44:02 [kernel] usb 1-1: reset high speed USB device using ehci_hcd and address 3
- Last output repeated 121 times -
Feb 3 14:55:47 [kernel] usb 1-2: reset high speed USB device using ehci_hcd and address 5 Feb 3 14:56:20 [kernel] usb 1-1: reset high speed USB device using ehci_hcd and address 3
- Last output repeated 50 times -
Feb 3 15:24:39 [kernel] kjournald starting. Commit interval 5 seconds
Feb 3 15:24:39 [kernel] EXT3 FS on sdc2, internal journal
Feb 3 15:24:39 [kernel] EXT3-fs: mounted filesystem with ordered data mode.
Feb 3 15:25:19 [kernel] usb 1-1: reset high speed USB device using ehci_hcd and address 3
- Last output repeated 66 times -
Feb 3 16:16:00 [kernel] usb 1-2: USB disconnect, address 5


I would really appreciate any suggestions.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to