Rockbox General > Rockbox General Discussion
Sansa c250 - File system corruption when using Windows and Linux
Strife89:
--- Quote from: sdhoigt on July 29, 2008, 03:55:53 PM ---I did use the original Sansa firmware for file transfers. Plugging in USB under Windows or Linux essentially boots into the original Sansa firmware. But I never (at least so far haven't) had any corruption moving files under Windows.
--- End quote ---
I'm really not sure what to tell you, then. :( I've been using my Sansa on a Linux machine since the day I got it, occasionally plugging it into my Windows laptop without problems.
--- Quote ---So are these "kinks" an improvement over the Sandisk USB implementation?
--- End quote ---
I was on the IRC channel earlier today, and someone discovered that the biggest problem with the USB stack (data corruption) may have been sorted out recently.
As for whether it's an improvement, well, anything's an improvement over waiting on the Sansa's database to be refreshed. ;)
sdhoigt:
--- Quote from: GodEater on July 29, 2008, 11:50:57 AM ---you probably actually want:
--- Code: ---EXTRA_DEFINES=-DUSE_ROCKBOX_USB -DUSE_HIGH_SPEED
--- End code ---
as otherwise you won't get the highest speed possible with the Rockbox USB stack.
--- End quote ---
Done. Hey, great job on the devs part; that was dead simple to get the Rockbox environment set-up (thanks to rockboxdev.sh!) and compiled.
I did notice that the Rockbox USB stack was quite a bit slower (yep, even with EXTRA_DEFINES=-DUSE_ROCKBOX_USB -DUSE_HIGH_SPEED) than the native SanDisk USB. I timed the transfer of 19 files at 98.5 MB. Rockbox USB took 3 min. 15 seconds; SanDisk USB took 25 seconds.
Anyway, I still experienced file corruption when setting everything up again (Rockbox bootloader/firmware) from scratch under Linux with the Rockbox I compiled from SVN. I had to pop onto Windows, go to recovery mode and to restore (via Sansa c200 wiki). Also, just to make sure file corruption isn't possibly happening on Windows too (in case I had missed it somehow before) I put Rockbox back on under Windows using the one I compiled under Linux and filled the c250 till the disk was full of music. No problems.
Since it's apparently not my computer (Windows and Linux are the same box) I'm starting to question the USB stack on my Linux distro (Xubuntu 8.04). I'll try another Linux distro and see what happens.
Thanks and I'm open to try other ideas.
SD
Strife89:
--- Quote from: sdhoigt on July 30, 2008, 11:33:56 PM ---Since it's apparently not my computer (Windows and Linux are the same box) I'm starting to question the USB stack on my Linux distro (Xubuntu 8.04). I'll try another Linux distro and see what happens.
--- End quote ---
I'll go ahead and tell you that Ubuntu 7.10 has given me no problems at all with USB. (although I haven't updated to 8.04 yet because of wireless glitches (I have attempted to update once already, but with wireless gone I had no connection, so I reinstalled 7.10 cleanly)).
GodEater:
--- Quote from: sdhoigt on July 30, 2008, 11:33:56 PM ---Since it's apparently not my computer (Windows and Linux are the same box) I'm starting to question the USB stack on my Linux distro (Xubuntu 8.04). I'll try another Linux distro and see what happens.
--- End quote ---
I'm running the same distro (and version), and I have no problems with the usb stack in general, or with filesystem corruption on my USB devices specifically.
cool_walking_:
Kubuntu 8.04 here, no problems either.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version