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
| | |-+  directory cache on the 80gig ipod
« previous next »
  • Print
Pages: [1]

Author Topic: directory cache on the 80gig ipod  (Read 5331 times)

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
directory cache on the 80gig ipod
« on: October 04, 2007, 03:38:04 AM »
every other time i run rockbox on my player the directory cache loads and then i go to play a file and then the directory cache just turns off. i am running a current build and did chkdsk/f and i disabled, rebooted, enable, let scan, then rebooted, since my "fix." and it still does. it. anybody else having this problem? these screendumps are taken within a minute
http://xs220.xs.to/xs220/07404/worked.png
http://xs220.xs.to/xs220/07404/broke.png
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: directory cache on the 80gig ipod
« Reply #1 on: October 04, 2007, 04:09:59 AM »
Try seeing if having less files on your player causes the problem to stop.
Logged

Offline squidkidd

  • Member
  • *
  • Posts: 42
Re: directory cache on the 80gig ipod
« Reply #2 on: October 04, 2007, 02:38:11 PM »
I am having this problem as well.  Earlier I was just annoyed with the fact that my ipod would have to scan the disk every other time the player was turned on but I have learned to live with that and chalked it up to the ipod just not knowing if any files have been added since last time it was turned on.  

Now however I have discovered that just about every other boot of the player, the dircache does not work period, exactly like you have described.  I do not know if it works before a file is played because I have my player set to resume play, so I just always notice it not working from the boot.  It seems that whenever rockbox scans the disk upon turning the player on is when dircache works.  The times it does not scan the disk are when I notice dircache not working.

I also have a large number of files (>10k).

Regards,
Brian
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #3 on: October 04, 2007, 02:56:10 PM »
ah ha im not crazy !!. i am currently removing unnecessary files  that i dont need on my  player and going to see if i can get to at least 8k songs. I think GodEater has 8k files i think and he said he does not have this problem.

[EDIT]
Quote from: Llorean on October 04, 2007, 04:09:59 AM
Try seeing if having less files on your player causes the problem to stop.
Alright I have less then 6000 songs on my player and this problem has stopped. squidkidd, Could you try this also? Thanks. and then after you remove some songs then disable dircache , reboot, enable dircache, let scan, then reboot again. this will fix it.
[/EDIT}
« Last Edit: October 04, 2007, 08:19:22 PM by psycho_maniac »
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline squidkidd

  • Member
  • *
  • Posts: 42
Re: directory cache on the 80gig ipod
« Reply #4 on: October 04, 2007, 11:48:09 PM »
Quote from: psycho_maniac on October 04, 2007, 02:56:10 PM
this will fix it.
[/EDIT}


Once I ever get some free time I might see if this works, though I don't see how this fixes it if it still does it with a large number of files on the player.  Is this a bug, does it need to go on the tracker?

Regards,
Brian

Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #5 on: October 04, 2007, 11:52:35 PM »
well ive been turning my ipod off and on all day today and dircache has been working every time.
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline squidkidd

  • Member
  • *
  • Posts: 42
Re: directory cache on the 80gig ipod
« Reply #6 on: October 05, 2007, 01:49:18 AM »
Are you saying that after removing a bunch of files and getting dircache to work normally, it should continue to work after putting a large number of files back on the disk?
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #7 on: October 05, 2007, 01:56:25 AM »
no no. i still have 6k files on my player. i think somehow maybe if you have over 9k of files this breaks the dircache feature?
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline Rincewind

  • Member
  • *
  • Posts: 266
Re: directory cache on the 80gig ipod
« Reply #8 on: October 05, 2007, 01:59:09 PM »
I think I had a similar problem a while back. I only have a H120 (20gig), but I had over about 8k files on it when I kept a few backups of the .rockbox folder around. Each .rockbox folder is about 700 files. I zipped my backups and the problem was gone.
That's not a solution if you want to listen to that much music, though.
You can remove a few wps and fonts that you don't need from .rockbox so that you can have a few more music files.
Logged
Iriver H120, Sansa e280

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #9 on: October 05, 2007, 04:44:12 PM »
Alright I have the logf enabled build. i would assume that i dump logf? this is what i got. i hope this helps. it seems that it always logs everything so i will give this and tell me if this is correct.
here is the logf when the dircache doesnt work http://pastebin.ca/727390
here is the logf when the dircache does work  http://pastebin.ca/727392
« Last Edit: October 05, 2007, 07:33:50 PM by psycho_maniac »
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline Lear

  • Developer
  • Member
  • *
  • Posts: 533
Re: directory cache on the 80gig ipod
« Reply #10 on: October 06, 2007, 07:49:43 AM »
Something like this seems to be happening here (in a somewhat simplified way):

  • Dircache scanning starts in the background.
  • At least three files are opened for writing.
  • Dircache scanning completes.
  • The third (or later) file opened for writing is written to or closed.

Looks like a bug to me, but I'm not yet sure what the proper fix is. Some input from Slasheri would be nice.
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #11 on: October 09, 2007, 12:48:21 AM »
I found another work around. set the start up screen to menu (meaning dont let playback start automatically), let the dircache build when it takes longer (this called a background check? ),  when its done start playback and it will work. this seems to work for me.
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

Offline squidkidd

  • Member
  • *
  • Posts: 42
Re: directory cache on the 80gig ipod
« Reply #12 on: October 10, 2007, 07:01:45 PM »
That seems to work here as well, though it is far from a practical workaround, as its hard to know when the build is done while you're driving.


Regards,
Brian
Logged

Offline psycho_maniac

  • Member
  • *
  • Posts: 814
    • MyWebPage
Re: directory cache on the 80gig ipod
« Reply #13 on: November 29, 2007, 08:56:55 PM »
I noticed that this problem does not exist anymore. No idea how it was fixed. At least i think its fixed. Also i noticed this problem does not happen on the gigabeats as i have the same amount of files on my gigabeat Can anybody else confirm this on the ipod?
Logged
Please SEARCH the wiki | Please read the Forum Guidelines | Please Read the Manual
I Own A Gigabeat F80

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  directory cache on the 80gig ipod
 

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

Page created in 0.095 seconds with 14 queries.