Rockbox

  • Status Closed
  • Percent Complete
    100%
  • 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 Kévin Ferrare - 2007-06-02
Last edited by Kévin Ferrare - 2009-02-06

FS#7253 - Dircache goes crazy

Hi,

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  Kévin Ferrare
2009-02-06 00:17
Reason for closing:  Out of Date
Additional comments about closing:  

I could be wrong but it seems to be working now

Peter D'Hoye 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

Steve Bavin commented on 2007-10-05 12:44

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).

Steve Bavin commented on 2007-10-05 16:37

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.

Andrew Mahone commented on 2008-12-12 04:28

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?

Kévin Ferrare 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

Thomas Martitz commented on 2009-02-05 18:30

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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing