Forum
Extremely slow USB to USB transfer - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Configuration (/forum-17.html)
+--- Thread: Extremely slow USB to USB transfer (/thread-1515.html)

Pages: 1 2 3


Extremely slow USB to USB transfer - Jingles - 10th Dec, 2013 07:35 PM

Did you get what you needed from the output file? Or do you need me to run some more things?

Any ideas what the problem is?


RE: Extremely slow USB to USB transfer - mk01 - 13th Dec, 2013 10:55 AM

http://paul.sullivan.za.org/raspberrypi-reset-high-speed-USB-device-number/


RE: Extremely slow USB to USB transfer - Jingles - 15th Jan, 2014 06:33 AM

Hi @mk01,

Sorry for the really late reply. I read through that site very quickly at work when you sent it but it didn't make much sense to me, and then Christmas got in the way! I have just read through it again and understand it better now but I don't think this is the same problem. I am not using a SATA/USB converter, my HDDs are portable USB drives. Do you have any other ideas? Or would it be worth trying flashing the SD card again?

Pete


RE: Extremely slow USB to USB transfer - mk01 - 16th Jan, 2014 06:06 AM

@Jingles,

flashing again will not solve this problem.

you can try to install never kernel, or even 3.12.x (from staging or devel repository - edit sources to contain as additional lines)
Code:
...
deb http://xbian.brantje.com devel main
deb http://xbian.brantje.com staging main



RE: Extremely slow USB to USB transfer - Jingles - 17th Jan, 2014 04:58 AM

Thanks for that. I presume it is just a case of adding those sources and then running apt-get update and upgrade?

Or is there a specific command I need to run to install the newer kernel? and sorry did you mean "newer kernel" or is "never" a name for a particular revision. and by 3.12.x i presume you are referring to the kernel again?

I'm guessing not as I have run update and upgrade with those sources added and am now getting better speeds with hdparm -tT. They are slightly slower than the fastest disk was before, but they are both significantly faster than when they were being slow:
Code:
/dev/sda:
Timing cached reads:   206 MB in  2.02 seconds = 102.19 MB/sec
Timing buffered disk reads:  42 MB in  3.07 seconds =  13.68 MB/sec

/dev/sda:
Timing cached reads:   150 MB in  2.03 seconds =  74.00 MB/sec
Timing buffered disk reads:  50 MB in  3.12 seconds =  16.05 MB/sec

/dev/sdb:
Timing cached reads:   152 MB in  2.02 seconds =  75.30 MB/sec
Timing buffered disk reads:  44 MB in  3.06 seconds =  14.38 MB/sec

/dev/sdb:
Timing cached reads:   198 MB in  2.00 seconds =  98.91 MB/sec
Timing buffered disk reads:  52 MB in  3.04 seconds =  17.10 MB/sec



RE: Extremely slow USB to USB transfer - mk01 - 17th Jan, 2014 05:45 AM

of course "newer"

so the whole 3.10.x was bad ??? and 3.12.y (preliminary) ok?

15 is quite much. I have 20 on class10 SD. and RPI can anyhow not sustain such bandwidth.


Extremely slow USB to USB transfer - Jingles - 17th Jan, 2014 05:48 AM

I just put those sources in did "apt-get update" then "apt-get upgrade" so no idea what I went from and to but yes it seems to be working ok at the moment.

Copying some films from one HDD to the other right now and that's seems to be going ok. Will try a film in xbmc tomorrow night to see if that works ok.

So fingers crossed!


RE: Extremely slow USB to USB transfer - mk01 - 17th Jan, 2014 05:54 AM

you did exactly as was needed.

btw: as devel is really daily devel, keep me please in a loop of any error/problem you may encounter.


RE: Extremely slow USB to USB transfer - Jingles - 18th Jan, 2014 08:41 AM

Well I successfully copied all my films from one HDD to another with no issues. Managed to watch a film from the HDD that was being slow and causing all the problems. so yeah it looks like the new kernel has fixed the issue.

However… just tried to run xbian-config and it wouldn't work:
Code:
xbian@sierra ~ $ sudo xbian-config
/usr/local/sbin/xbian-config: line 200: /run/lock/xbian-config.gui: No such file or directory
/usr/local/sbin/xbian-config: line 70: _: command not found
/usr/local/sbin/xbian-config: line 70: wrapTxtFn: command not found
/usr/local/sbin/xbian-config: line 71: centerTxtFn: command not found
/usr/local/sbin/xbian-config: line 72: valignTxtFn: command not found
/usr/local/sbin/xbian-config: line 73: showConfirmDlg: command not found
/usr/local/sbin/xbian-config: line 70: _: command not found
/usr/local/sbin/xbian-config: line 70: wrapTxtFn: command not found
/usr/local/sbin/xbian-config: line 71: centerTxtFn: command not found
/usr/local/sbin/xbian-config: line 72: valignTxtFn: command not found
/usr/local/sbin/xbian-config: line 73: showConfirmDlg: command not found



RE: Extremely slow USB to USB transfer - mk01 - 19th Jan, 2014 01:39 AM

you are now on the devel, right ?

did you upgrade _all_ packages there, or only kernel related?


RE: Extremely slow USB to USB transfer - Jingles - 19th Jan, 2014 01:55 AM

I just upgraded everything that was available. I have attached the output with what updated.

I have both the devel and staging, that's ok right? And I didn't remove any of the other existing sources?


RE: Extremely slow USB to USB transfer - mk01 - 19th Jan, 2014 02:00 AM

@Jingles

you didn't actually. check this:

Code:
The following packages have been kept back:
  btrfs-tools xbian-package-cec xbian-package-config-shell
  xbian-package-initramfs-tools xbian-package-kernel xbian-update

apt-get will never (auto) update packages with changed dependencies (from security reasons). so you have to explicitly run
Code:
apt-get install   btrfs-tools xbian-package-cec xbian-package-config-shell xbian-package-initramfs-tools xbian-package-kernel xbian-update

or use xbian-config (CLI or XBMC).


RE: Extremely slow USB to USB transfer - Jingles - 19th Jan, 2014 03:13 AM

Whoops! OK I have just run this now:
Code:
sudo apt-get install btrfs-tools xbian-package-cec xbian-package-config-shell xbian-package-initramfs-tools xbian-package-kernel xbian-update

When I ran it it hit the following error:
Code:
Setting up autofs (5.0.7-3) ...
[FAIL] Starting automount...failed (failed to load autofs4 module).
invoke-rc.d: initscript autofs, action "start" failed.
dpkg: error processing autofs (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
autofs
E: Sub-process /usr/bin/dpkg returned an error code (1)

I have attached the full output again.

I have read through that this time but it is all well beyond me! Huh


RE: Extremely slow USB to USB transfer - mk01 - 19th Jan, 2014 03:36 AM

send me:
Code:
sudo -i
grep autofs /proc/filesystems
uname -a
modprobe autofs4 ; echo $?



RE: Extremely slow USB to USB transfer - Jingles - 19th Jan, 2014 03:40 AM

Code:
xbian@sierra ~ $ sudo -i
[sudo] password for xbian:
Sorry, try again.
[sudo] password for xbian:
root@sierra:~# grep autofs /proc/filesystems
root@sierra:~# uname -a
Linux sierra 3.10.23+ #74 Thu Dec 12 08:36:24 CET 2013 armv6l GNU/Linux
root@sierra:~# modprobe autofs4 ; echo $?
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.10.23+/modules.dep.bin'
1