Rockbox Development > New Ports

Cowon D2

<< < (130/194) > >>

grantmasterflash:

--- Quote from: shotofadds on July 30, 2009, 06:28:26 PM ---
--- Quote from: grantmasterflash on July 30, 2009, 05:26:29 PM ---The fact that I can fix it by deleting the file from the D2 and copying it anew from my PC makes me wonder if it has to do with some fragmentation of the D2's internal memory that Rockbox doesn't like...  I don't know - I'm shooting in the dark.

--- End quote ---
Do these files play reliably if you play them from the SD card?

If so, the problem is most likely due to incorrect file data being read from the internal flash. There are almost certainly bugs left in our implementation of the NAND FTL (flash translation layer), and since FLACs tend to be rather large files they are likely to show this kind of problem more often than other formats.

Edit to add: Now we have semi-reliable SD access it should be much easier to debug NAND issues, however it's unlikely I'll find the time to look into this for a while.

--- End quote ---

Based on your question about the SD card, I did the following:

1.  Copied one of the 'skipping' files from internal memory to the SD card from within Rockbox using the context menu to copy and paste and played the file on the SD card

Result: File copied to SD still stopped playback at the same point as the original file did on internal memory

2.  Copied the same 'skipping' file from internal memory to the SD card using standard D2 USB mode (so just plugged to my PC), then booted into Rockbox and played the file on the SD card

Result: File copied to SD played without a problem

I would guess the results in #1 back up your theory about the NAND FTL, since copying the file from within Rockbox resulted in a duplicate file that exhibits the same problem.

shotofadds:
Yes, that's pretty conclusive. Accessing files from the internal flash is "fairly" reliable now (it's certainly much, much better than it used to be) but clearly it isn't quite 100% yet. I just need to find the time to look into it again. :-\

mbk1969:
grantmasterflash, I have encounted the same problem

kristinuk21:

--- Quote from: mbk1969 on July 31, 2009, 06:25:05 AM ---grantmasterflash, I have encounted the same problem

--- End quote ---

Maybe a diff between original file and file copyed from memory would help someone find the issue faster!

samokhov:
I've copied a skipping file from internal flash to SD by RockBox and then compared to the original. 4 bytes differ. 4 bits, actually:

original value      misread value7775141623A3B7F7
I've uploaded the files, if that helps:
http://samokhov.com/files/itwit/original.flac
http://samokhov.com/files/itwit/misread.flac

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version