Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Slow filetransfer Ubuntu => Sansa E260
« previous next »
  • Print
Pages: [1]

Author Topic: Slow filetransfer Ubuntu => Sansa E260  (Read 6287 times)

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Slow filetransfer Ubuntu => Sansa E260
« on: July 30, 2009, 09:19:38 AM »
Hi,

Just received my refurbished A260 v1 and installed rockbox right away. I've noticed it took a while for Ubuntu 8.10 to find the device and show its content.
After installing rockbox, I tried to send some files from PC to A260. It takes for ever to transfer though. It transfers in buckets of +-30 MB and then waits a while. Takes about 20 minutes to transfer 500 Mb.

My clip transfers a *lot* faster.

Any ideas?
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #1 on: July 30, 2009, 10:39:49 AM »
You could try the retail firmware and see if its any faster.
Logged

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #2 on: July 30, 2009, 11:09:29 AM »
Quote from: saratoga on July 30, 2009, 10:39:49 AM
You could try the retail firmware and see if its any faster.

Thanks!

With the retail firmware it does 4.2 MB/s so there seems to be a bug in Rockbox or bootloader. I am using the stable version of rockbox and the bootloader I downloaded from here. http://download.rockbox.org/bootloader/sandisk-sansa/sansapatcher/linux32x86/sansapatcher 
 
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #3 on: July 30, 2009, 11:37:16 AM »
Try updating rockbox to todays build and see if it improves.
Logged

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #4 on: July 30, 2009, 12:37:46 PM »
After transfering a huge directory (>1Gb) with the retail firmware and restarting, rockbox appeared with can't load rockbox.mi4 etc messages.
Mounting the E260 confirmed this, there was no .rockbox directory in the root directory. Completely vanished!
So I copied the latest build in the root directory and rebooted. Same result. No .rockbox directory.
I am wondering if my flash memory is corrupt and giving me a hard time.

Even recordings aren't saved... 
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #5 on: July 30, 2009, 01:42:58 PM »
By default, Linux (and any Unix) will consider any files or folders beginning with a . to be "hidden" files. So you may still have the .rockbox folder on your player, but you just can't see it normally.

If you run "ls -al" in a terminal (without the quotes), you should be able to see if the folder is there or not.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #6 on: July 30, 2009, 01:59:24 PM »
Yep I know how the hidden files work :) I'm using linux for a couple of years now.
It's really not there anymore.
Just been playing with fsck.vfat:

---------------
sudo fsck.vfat -a /dev/sdd1
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  71:53/4e, 72:61/4f, 73:6e/20, 74:73/4e, 75:61/41, 76:20/4d, 77:65/45
  , 78:32/20, 79:36/20, 80:30/20
  Not automatically fixing this.
/dev/sdd1: 402 files, 694691/974659 clusters
------------
I might change the boot sector. I have the option between 1) Copy original to backup
or 2) Copy backup to original with fsck.vfat -r

I don't want to do any experimenting without some solid advise. This territory is too advanced for me.

[Edit]

Just also tried to add a file and install the latest firmware from sandisk. The same situation as with linux, it appears everything is transfered and ok. After reboot none of the files are present.

Also tried to format, but even that fails... (message can't finish format in Windows)

Is this my last option? http://fixmysansa.blogspot.com.  If that is the case then I probably have a new worldrecord in bricking an E260.

[Edit 2] Had some nice chat on IRC but nobody could help me. Just remembered something else that I thought was strange. On the E260 was a directory (music) with songs on it. These songs were visible in the OF but not in rockbox. I deleted the directory in Linux, but the directory re-appeared after rebooting in OF without any files in it.
 
[Edit 3] and another test. I tried to install the new sansa bootloader and also uninstall the bootloader. http://forums.rockbox.org/index.php?topic=22130.0 Failed in both cases. 




« Last Edit: July 30, 2009, 06:23:40 PM by tedb »
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #7 on: July 31, 2009, 03:45:50 AM »
Maybe formatting using these instructions will have better results than using Windows.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #8 on: July 31, 2009, 03:55:08 AM »
Quote from: Chronon on July 31, 2009, 03:45:50 AM
Maybe formatting using these instructions will have better results than using Windows.

Yes also done that. Doesn't work as well, hangs in the writing image step after formating.
After rebooting nothing has changed. I'm beginning to think this is a hardware issue.
 
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #9 on: August 29, 2009, 11:30:18 AM »
I have returned my previous E260 and just received a 'new' refurbished E260. The same problem occurs with this device. Very very slow filetransfer.
Because I am really afraid I will break the flash memory (and my E260) again, so I started using a small micro sd card (1 GB).

Also very bad filetransfer rates. I am going to try to transfer some bigger files with the OF in a couple of minutes. Still need to wait 20 minutes to transfer 200 Mb. On my previous E260 I interrupted file transfer and after that my device became 'read only' and useless...

My question is this. Could Rockbox be responsible for breaking my previous E260? If so, what can I do to prevent it from happening again, now I see the same symptoms with another E260.   



 

Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #10 on: September 01, 2009, 12:28:47 PM »
I haven't seen reports of Rockbox's USB mode causing problems since it was enabled and I haven't experienced problems, myself.  Slower transfer speeds (compared to the OF) are to be expected, but this obviously doesn't explain your previous trouble.  You are also seeing much lower transfer rates than you should get, even with the OF.  Maybe some factor like a bad cable/port is giving flaky connection while you are trying to move data.  Intermittent disconnection while mounted as a UMS device can lead to file system damage as well, which seems consistent with some of your previous symptoms.

Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline tdb

  • Member
  • *
  • Posts: 41
  • One tequila, two tequila, three tequila, floor.
Re: Slow filetransfer Ubuntu => Sansa E260
« Reply #11 on: September 12, 2009, 08:24:50 PM »
Quote from: Chronon on September 01, 2009, 12:28:47 PM
I haven't seen reports of Rockbox's USB mode causing problems since it was enabled and I haven't experienced problems, myself.  Slower transfer speeds (compared to the OF) are to be expected, but this obviously doesn't explain your previous trouble.  You are also seeing much lower transfer rates than you should get, even with the OF.  Maybe some factor like a bad cable/port is giving flaky connection while you are trying to move data.  Intermittent disconnection while mounted as a UMS device can lead to file system damage as well, which seems consistent with some of your previous symptoms.

Thanks, I have experienced more problems after this comment and I think my cable could indeed be the problem. I saw  connect + disconnect messages during file transfer and connection breaks sometimes. 
Will not use usb connection to store anything on my e260 again... I am using a cardreader to write directly to the sd card.
 
So my problem still is not solved, but I will buy a new cable to see if this helps. For now I will not modify internal memory. Better safe than sorry
« Last Edit: September 13, 2009, 05:33:27 AM by tedb »
Logged
Clip V1 4Gb, Clip V2 8Gb, C240 v2, E260 4Gb Rockboxed

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Slow filetransfer Ubuntu => Sansa E260
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.088 seconds with 16 queries.