• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category Operating System/Drivers
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by TiMiD - 2007-06-02
Last edited by TiMiD - 2009-02-06

FS#7253 - Dircache goes crazy


I’ve got a strange behaviour with dircache : one reboot on 2 dircache is enabled, and the other one it
time on 2 (when dircache will be enabled for this session) I get the message “scanning disk ...” at boot
don’t know if I’m clear, here is what I get :

while(true){ Power on “scanning disk ...” I can use direcache Power off Power on No message and dircache is not activated (it is in the options, but disk spins in file browser) Power

I’ve tried reseting the settings, changed
don’t really get what’s going on.

I’m using the today’s build (2007/06/02) but I’ve got this problem since ... well maybe 2 or 3month after an update, I don’t remember exactly.

I don’t think it’s related to bug #6735 because it’s easily repeatable and doesn’t depends of the font used.

Am I the only one to get this behavior ?

Closed by  TiMiD
2009-02-06 00:17
Reason for closing:  Out of Date
Additional comments about closing:   Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407

I could be wrong but it seems to be working now

petur commented on 2007-07-14 21:10

can’t reproduce.... I also sometimes get the ‘Scanning’ splash at boot but have yet to find a way to reproduce that

If I repeatedly start and immediately shut down my H340, I get a “Scanning disk...” splash every OTHER time I start up.

USB is not involved at all.

If I let the player run for awhile before shutting down, this doesn’t happen. So perhaps it’s a result of shutting down while the audio is still being buffered?

Whenever I check the dircache status, it’s active, and size is well below it’s limit (about 1MB, 13829 entries).

Just discovered I can reproduce this without actually playing any music, just starting up to the file browser and shutting down while the disk is active.

I am starting with a completed build of the dircache, and assuming that the fact that a scan had completed would mean that no further foreground scan was needed, but if I shut down during a background scan, it then triggers another foreground scan on the next boot.

I am starting my Gigabeat S, opening the file browser, and shutting down while the disk is still active. This does not seem to cause any problems on the next boot, although the shutdown takes a few seconds longer than if I wait until the disk stops - perhaps at some point RB started waiting for background scans to finish before shutting down?

TiMiD commented on 2008-12-13 01:02

This bug was the main reason that pushed me to flash my player ; but now that dircache isn’t executed at every startup (by feature) even on background, I cannot tell whether it’s fixed or not

Is this a bug after all? I thought it’s intended to only show the splash if the dircache was invalidated and needs to be rebuilt. As in you should NOT always get the scanning disk splash.


Available keyboard shortcuts


Task Details

Task Editing