Error 'There isn't a file with FID 2 on this device'

Posted by: frog51

Error 'There isn't a file with FID 2 on this device' - 22/10/2012 10:37

Just had the error 'There isn't a file with FID 2 on this device' come up and am trying to figure out whether this is a complete rebuild error or something simple to sort, but a search of the forum returns nothing.

Bit of background - was deleting some tracks and adding others, and when the empeg rebooted it didn't have the same name in jemplode (had changed to empegcar) and all the tracks had vanished.

Anyone have some insight into this error?
Posted by: Roger

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 11:36

Originally Posted By: frog51
Just had the error 'There isn't a file with FID 2 on this device' come up


Top of my head, I think ID 2 is config.ini.
Posted by: Roger

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 11:38

Originally Posted By: Roger
Originally Posted By: frog51
Just had the error 'There isn't a file with FID 2 on this device' come up


Top of my head, I think ID 2 is config.ini.


Nope:

Code:
/* Predefined fids */
#define FID_VERSION		0
#define FID_ID			1
#define FID_TAGINDEX		2
#define FID_STATICDATABASE     	3
#define FID_DYNAMICDATABASE	4
#define FID_PLAYLISTDATABASE	5
#define FID_CONFIGFILE		6
#define FID_PLAYERTYPE		7
#define FID_VISUALLIST		8
#define FID_EXTRADB		9
Posted by: mlord

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 12:10

Sounds like it ought to be fixable by deleting any/all existing database files and rebuilding the database afterward. ?
Posted by: Roger

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 15:00

Originally Posted By: mlord
Sounds like it ought to be fixable by deleting any/all existing database files and rebuilding the database afterward. ?


Yeah:

# rwm
# rm /empeg/var/tags
# rm /empeg/var/database
# rm /empeg/var/database3
# rm /empeg/var/playlists

Restart player.
Posted by: frog51

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 15:31

Interestingly, when I do this each of those commands returns a file not found error, and in fact the only thing in /empeg/var is a /tmp so something has obviously broken.

As I'm now seeing an i2c: Failed to receive ACK for data, I'm guessing I have a bigger problem.

Think I may check all connections, and possibly rebuild!
Posted by: frog51

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 17:27

Ahhh - a fsck gives me a whole load of block bitmap differences, so am fixing /dev/hda4 now...

It fixed quite quickly

/dev/hdc4 is giving me so many issues I just have a screen full of flowing fsck output :-(
Posted by: frog51

Re: Error 'There isn't a file with FID 2 on this device' - 22/10/2012 19:44

Dammit - after an hour it bombed out and now no init found - kernel panic.

Guess I will be popping on a builder image and starting from scratch...