Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#188589 - 07/11/2003 17:42 lost my songs
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Well, I was just uploading a bunch of new music and while this was going on, I was doing some other stuff with my computer. My computer crashed during the sync and I had to pull the plug on the empeg. Plugged empeg back in and it said there were no playlists. Tried to connect to emplode and it hung, so I did the fsck thing. Got it to connect to emplode and synched it thinking my playlists would be back but they aren't, and there is nothing in the soup views either. It still says there is disk space being used so I know my songs are still there, I just dont know how to get to them. Any help would be greatly appreciated.

Top
#188590 - 07/11/2003 18:25 Re: lost my songs [Re: kswish0]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Some questions, in order:

a) Are you running the developer kernel? 2.0?
b) If so, go into shell. Do you have anything in /drive0/fids and /drive1/fids (if dual disk)?
c) If so, you might be able to manually rebuild the databases by:
rw
rwm
player
(quit the player application after it finishes loading - it will take a while to rebuild the database, playlists and tags files)
rom
ro
exit
reboot, resync
d) If /drive0/fids is EMPTY, there is something nasty going on, and it will need a bit more effort.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#188591 - 07/11/2003 22:22 Re: lost my songs [Re: kswish0]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
In emplode, do an "Advanced Search" for "refs=0". That will show all of the songs that are no currently in playlists... does this help?
_________________________
Brad B.

Top
#188592 - 07/11/2003 22:32 Re: lost my songs [Re: kswish0]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
Please check here to see if it's that problem, make sure you're not having problems like this, then try this procedure.
_________________________
Tony Fabris

Top
#188593 - 09/11/2003 13:03 Re: lost my songs [Re: tfabris]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Here is what happened with each of these ideas...

Tony, at the moment I currently only have one drive and I'm pretty sure my cable is fine. When I followed the procedure in your last link, the database wasn't rebuilt when I exited out of shell. It just booted up with no playlists.

Brad, refs=0 returned no search results.

Paul, yes, there are files in drive0/fids but still nothing after running player.

and on a semi related note, is it normal to see this when doing the fsck
Parallelizing fsck version 1.19 (13-Jul-2000)
e2fsck 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
ext2fs_check_if_mount: No such file or directory while determining whether /dev/
hda4 is mounted.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences: -18912811 -18912812 -18912814 -18912815 -18912816 -18
912817 -18912818 -18912819 -18912820 -18912822 -18912823 -18912824 -18912825 -18
912826 -18912827 -18912828
Fix? yes

Free blocks count wrong for group #2308 (502, counted=518).
Fix? yes

Free blocks count wrong (508718, counted=508734).
Fix? yes


/dev/hda4: ***** FILE SYSTEM WAS MODIFIED *****
/dev/hda4: 10144/152000 files (36.7% non-contiguous), 18943146/19451880 blocks
empeg:/empeg/bin#
I dont think I remember ever seeing it say my file system was modified when doing this before.

Top
#188594 - 10/11/2003 07:11 Re: lost my songs [Re: kswish0]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Anyone got any other ideas? Its been very quiet in my car the last few days. Should I just go ahead and start warming up my ripper?

Top
#188595 - 10/11/2003 07:50 Re: lost my songs [Re: kswish0]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Did you have the drives mounted read/write when you ran the player executable from shell?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#188596 - 10/11/2003 09:32 Re: lost my songs [Re: pgrzelak]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Yes, I typed in exactly what you showed. What exactly is the player executable supposed to do. All it seemed to do was reboot the empeg like normal, except it went straight back to the blue led blinking so it went straight back to the shell. Am I just not waiting long enough or something? And what do you mean quit the player application, it seemed to quit by itself for me? I must be doing something wrong.

edit: I just tried this again, and this time it didn't go back to the shell after player was run, it just rebooted like normal. All player seems to do for me is reboot.

Top
#188597 - 10/11/2003 10:54 Re: lost my songs [Re: kswish0]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Okay. From a fresh boot, going into the shell, changing the disks to read/write and running the player application will look like a boot - or at least a player start...

Oh! My error.

I think you have a corrupted database file. The goal here was to rewrite the database / tags / playlists files. Try the following...

a) boot
b) drop to shell
c) rw
d) rwm
e) cd /drive0/var
f) mv playlists playlists.old [get the old, possibly bad files out of the way]
g) mv database database.old
h) mv tags tags.old
i) player [this should take a lot longer, as it will regenerate the files we renamed above]
j) q [exit the player app, back to your original shell]
k) ls /drive0/var [hopefully, you should see both sets - the newly created files and the .old files]
l) rom
m) ro
n) exit [hopefully, you will now see the playlists through the player app]
o) reboot [final check]
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#188598 - 10/11/2003 13:40 Re: lost my songs [Re: pgrzelak]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
I just did everything exactly as you said. When player was executed, it didn't take any longer than before. When I looked in /drive0/var, yes, the old and the new files are there. Still no playlists though. This is getting very frustrating. I'm very busy and really dont want to have to spend the time to rerip everything. What could I have possibly done to make my empeg so mad at me. I just wish it would cooperate. There has to be something I can do to get my music back. The silence in my car is killing me.

Top
#188599 - 10/11/2003 13:44 Re: lost my songs [Re: kswish0]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
What could I have possibly done to make my empeg so mad at me.
Let's rewind a bit and do some sanity checks.

Player software version?

Running any third party programs?

What's config.ini look like? Got the beta 11 bug by any chance?
_________________________
Tony Fabris

Top
#188600 - 10/11/2003 14:53 Re: lost my songs [Re: tfabris]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Player software version?
2.00
Running any third party programs?
I did have emphatic and roadmap+gpsapp installed but due to the hijack app starting bug, could only run one of these at a time. So I only had the EXEC for one of them at a time in the config.ini
What's config.ini look like?
[synchronise]
seq_num=9
[wendy]
flag_amount=0
[custom]
wendy=
[searches]
amount=0
[VisualFavourites_AM]
count=0
[VisualFavourites_AUX]
count=0
[VisualFavourites_DSP]
count=0
[VisualFavourites_FM]
count=0

hmmm...very odd....There used to be a lot more stuff there. Everything on my empeg has been reset after looking around a little. My sound settings are gone (eq, balance, fader, etc.), my name and phone number are gone, and everything I had in my config.ini file is gone. Its like a brand new empeg would be that you just pulled out of the box except that when I open emplode, it says I only have 497MB free space, and there is a bunch of stuff in /drive0/fids.

Top
#188601 - 10/11/2003 14:57 Re: lost my songs [Re: kswish0]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
So I only had the EXEC for one of them at a time in the config.ini
Was this with the ;@DC modifier? A lot of problems with synchronizing can be caused by the inability of the player to do the proper things to the disk drives because the third party apps have got files on the drives locked open.
_________________________
Tony Fabris

Top
#188602 - 10/11/2003 15:19 Re: lost my songs [Re: tfabris]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Yes, this was with @DC, but this couldn't be a problem now, even if it was before, because my config.ini has been reset. It doesn't seem to be a synchronizing problem that I'm having. It is perfectly happy when syncing with emplode. The only thing wrong is that there are no playlists or songs.

Top
#188603 - 10/11/2003 15:23 Re: lost my songs [Re: kswish0]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
Yeah, that's really strange, there's gotta be a way to get that stuff back. The files are there, it's just that some sort of root link is missing I guess.
_________________________
Tony Fabris

Top
#188604 - 10/11/2003 15:38 Re: lost my songs [Re: kswish0]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
You might have said this already, so I apologise.

Are there any songs visible in emplode at all? I mean in the Soup views? Alternatively go to the Search tab and enter 'true' without the quotes. This should return everything on the player, tunes and playlists alike.
_________________________
-- roger

Top
#188605 - 10/11/2003 15:41 Re: lost my songs [Re: Roger]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
No, there are no songs visible in emplode at all, not in the playlists, and not in the soup views. A search for true returned nothing exept a folder called all music which was empty.

Top
#188606 - 10/11/2003 15:49 Re: lost my songs [Re: kswish0]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
OK. So it appears that you've either got a corrupted database (unlikely because you followed Paul's steps to rebuild it), or disk corruption has done something nasty.

Can you:

ls -l /drive0/fids
ls -l /drive1/fids

and post the output? Does the number of files listed look anything like the number of tracks you're expecting to see?
_________________________
-- roger

Top
#188607 - 10/11/2003 16:03 Re: lost my songs [Re: Roger]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
To post the entire output of /drive0/fids would be huge so I am just going to post a sample of it.
-rw-r--r-- 1 0 0 6303744 Aug 28 21:18 ff70
-rw-r--r-- 1 0 0 232 Aug 28 21:18 ff71
-rw-r--r-- 1 0 0 48 Aug 28 20:09 ff80
-rw-r--r-- 1 0 0 57 Aug 28 20:09 ff81
-rw-r--r-- 1 0 0 1658965 Aug 28 21:18 ff90
-rw-r--r-- 1 0 0 206 Aug 28 21:18 ff91
-rw-r--r-- 1 0 0 3912183 Aug 28 21:18 ffa0
-rw-r--r-- 1 0 0 214 Aug 28 21:18 ffa1
-rw-r--r-- 1 0 0 3796408 Aug 28 21:18 ffb0
-rw-r--r-- 1 0 0 208 Aug 28 21:18 ffb1
-rw-r--r-- 1 0 0 3095924 Aug 28 21:18 ffc0
-rw-r--r-- 1 0 0 229 Aug 28 21:18 ffc1
-rw-r--r-- 1 0 0 3538945 Aug 28 21:18 ffd0
-rw-r--r-- 1 0 0 213 Aug 28 21:18 ffd1
-rw-r--r-- 1 0 0 2453453 Aug 28 21:18 ffe0
-rw-r--r-- 1 0 0 175 Aug 28 21:18 ffe1
-rw-r--r-- 1 0 0 3028953 Aug 28 21:18 fff0
-rw-r--r-- 1 0 0 141 Aug 28 21:18 fff1
I guess the number of files here is probably about like the number of songs I have although its hard to tell because with about 4500 songs, thats a lot of stuff scrolling by in hyperterminal.

Top
#188608 - 10/11/2003 16:15 Re: lost my songs [Re: kswish0]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
Okay, so the *0 and *1 files are both there for all the songs.

Are there any critical files, like some kind of root index file, that must be present in order for the soups to appear on the player? I know there must be a root playlist, but even without that shouldn't soups appear?
_________________________
Tony Fabris

Top
#188609 - 10/11/2003 16:21 Re: lost my songs [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
It would take a while... but couldn't you FTP all the fid's off the drive, wipe it, reinstall, copy them back, then do a database rebuild?
_________________________
|| loren ||

Top
#188610 - 10/11/2003 16:27 Re: lost my songs [Re: loren]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31572
Loc: Seattle, WA
I don't think that procedure would fix anything. In theory, he would be in exactly the same boat afterwards. We don't know what's wrong yet...
_________________________
Tony Fabris

Top
#188611 - 10/11/2003 16:29 Re: lost my songs [Re: tfabris]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
Yeah, but it would give you a clean slate to start from and eliminate any weirdness that may have happened since it went wonky.
_________________________
|| loren ||

Top
#188612 - 10/11/2003 16:37 Re: lost my songs [Re: loren]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I'm with Loren on this... wouldn't at least a re-install of the player software add any of the possible "missing" files like Tony was suggesting?
_________________________
Brad B.

Top
#188613 - 10/11/2003 20:13 Re: lost my songs [Re: SE_Sport_Driver]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
So is the general consensus that I should ftp the fids to my computer, run the builder on the empeg, then put the fids back? If so, I'll have to see if I can scrounge up a crossover cable somewhere. I've just been using usb for the last few months since I'm on a school network now instead of a home network with a router. Either that or see if one of my roomates doesn't mind having their computer offline for a while.

Top
#188614 - 11/11/2003 03:46 Re: lost my songs [Re: kswish0]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Running any third party programs?
I did have emphatic and roadmap+gpsapp installed but due to the hijack app starting bug
So you are running Hijack? Could you try doing Paul's instructions (the "rwm" and ".old" stuff) on a stock Empeg Ltd kernel? What's the output of "ls -ld /drive0/fids/_*" (that's an underscore before the star)? What about "ls -l /drive0/fids/_*" (i.e. without the "d")?

Peter

Top
#188615 - 11/11/2003 05:03 Re: lost my songs [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Are there any critical files, like some kind of root index file

Nope. There _might_ be some oddness if FID 100 and FID 110 don't exist, but emplode should recreate these if necessary.

And, as you say, this shouldn't affect the soup views in emplode at all. emplode downloads a list of the tunes available, and then laces them together into playlists. Searches just apply to the list of tunes.
_________________________
-- roger

Top
#188616 - 11/11/2003 05:04 Re: lost my songs [Re: Roger]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Ooh, ooh, a thought occurs to me.

Can you get the results of:

ls -ld /empeg/fids0
ls -ld /empeg/fids1
ls -l /empeg/fids0
ls -l /empeg/fids1

For that is actually how the empeg gets to the tunes. If the symlinks are missing, it'll not find anything.

Alternatively, reapplying a developer upgrade file will fix the symlinks anyway.
_________________________
-- roger

Top
#188617 - 11/11/2003 09:11 Re: lost my songs [Re: Roger]
kswish0
enthusiast

Registered: 06/02/2002
Posts: 212
Loc: Virginia, USA
Peter, yes, I'm running hijack. Is the best way to get rid of this just to reinstall the developer image? As for your other questions...
empeg:/empeg/bin# ls -ld /drive0/fids/_*
drwxr-xr-x 2 0 0 1024 Nov 7 09:31 /drive0/fids/_00000
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00001
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00002
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00003
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00004
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00005
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00006
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00007
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00008
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00009
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000a
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000b
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000c
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000d
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000e
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_0000f
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00010
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00011
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00012
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00013
drwxr-xr-x 2 0 0 1024 Nov 7 09:30 /drive0/fids/_00014


empeg:/empeg/bin# ls -l /drive0/fids/_*
/drive0/fids/_00000:
total 3
-rw-r--r-- 1 0 0 4 Nov 7 09:31 100
-rw-r--r-- 1 0 0 39 Nov 7 09:31 101
-rw-r--r-- 1 0 0 0 Sep 25 16:20 110
-rw-r--r-- 1 0 0 46 Sep 25 16:20 111

/drive0/fids/_00001:
total 0

/drive0/fids/_00002:
total 0

/drive0/fids/_00003:
total 0

/drive0/fids/_00004:
total 0

/drive0/fids/_00005:
total 0

/drive0/fids/_00006:
total 0

/drive0/fids/_00007:
total 0

/drive0/fids/_00008:
total 0

/drive0/fids/_00009:
total 0

/drive0/fids/_0000a:
total 0

/drive0/fids/_0000b:
total 0

/drive0/fids/_0000c:
total 0

/drive0/fids/_0000d:
total 0

/drive0/fids/_0000e:
total 0

/drive0/fids/_0000f:
total 0

/drive0/fids/_00010:
total 0

/drive0/fids/_00011:
total 0

/drive0/fids/_00012:
total 0

/drive0/fids/_00013:
total 0

/drive0/fids/_00014:
total 0
And for you Roger...
empeg:/empeg/bin# ls -ld /empeg/fids0
lrwxrwxrwx 1 0 220 14 Apr 1 2003 /empeg/fids0 -> ../drive
0/fids

empeg:/empeg/bin# ls -ld /empeg/fids1
lrwxrwxrwx 1 0 220 14 Apr 1 2003 /empeg/fids1 -> ../drive
1/fids

empeg:/empeg/bin# ls -l /empeg/fids0
lrwxrwxrwx 1 0 220 14 Apr 1 2003 /empeg/fids0 -> ../drive
0/fids

empeg:/empeg/bin# ls -l /empeg/fids1
lrwxrwxrwx 1 0 220 14 Apr 1 2003 /empeg/fids1 -> ../drive
1/fids

Top
#188618 - 11/11/2003 09:16 Re: lost my songs [Re: kswish0]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Peter, yes, I'm running hijack. Is the best way to get rid of this just to reinstall the developer image?
Yes. This is a good idea anyway, as it'll fix anything that's gone screwy in the root filesystem.

Peter

Top
Page 1 of 2 1 2 >