Unoffical empeg BBS

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

Topic Options
#139448 - 02/02/2003 23:57 Player locking up on first song
topaz_monkey
stranger

Registered: 02/01/2002
Posts: 50
Loc: Dallas, TX
I've seen a couple of other posts to this nature, but they were all running older builds (that forumers said were flawed?), so those don't help me...

(I'm running the version2.0-beta11 software and Emplode).

My Empeg player now locks up after booting and starting the first song (in it's cache, I assume; it plays for 1-2 seconds then locks up). Before booting, it sits at the "Building Music Database..." screen for ~30 seconds before continuing to boot, much longer than normal.

What seems to have hosed the player is that I was running a sync overnight (via ethernet). When I checked on it the next morning both the player and Emplode software appeared to have hung at some point in the process (I was syncing about 1-2 gigs of music). I rebooted the player, and then started getting the problem.

I'm in no ways a unix adept, so any help is appreciated Thanks, I'm dreading driving into work without any music...
_________________________
[email protected] 20GB Mark2a (Smoke) 1998 VW Cabrio

Top
#139449 - 03/02/2003 00:06 Re: Player locking up on first song [Re: topaz_monkey]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5539
Loc: Ajijic, Mexico
My Empeg player now locks up after booting and starting the first song (in it's cache, I assume; it plays for 1-2 seconds then locks up). Before booting, it sits at the "Building Music Database..." screen for ~30 seconds before continuing to boot, much longer than normal.

The first problem might be a corrupted MP3 file. Is it always the same song that locks you up?

The second problem can almost certainly be fixed by doing a re-synch. (Just open the player up with emplode, make a trivial change to a tag on one of your songs, and this will force a re-synch.)

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#139450 - 03/02/2003 00:10 Re: Player locking up on first song [Re: tanstaafl.]
topaz_monkey
stranger

Registered: 02/01/2002
Posts: 50
Loc: Dallas, TX
It's always the same song, I'm assuming because it was the song that was playing before I initiated the sync.

I can't get into Emplode because the player is hard locking, which means Emplode can't access it. I get about 1 second where the player is actually past boot-up and Emplode begins to ping it before it hard locks all together and Emplode barfs.

-sigh-
_________________________
[email protected] 20GB Mark2a (Smoke) 1998 VW Cabrio

Top
#139451 - 03/02/2003 00:55 Re: Player locking up on first song [Re: topaz_monkey]
tanstaafl.
carpal tunnel

Registered: 08/07/1999
Posts: 5539
Loc: Ajijic, Mexico
I can't get into Emplode because the player is hard locking,

Don't be disheartened. This is easy to fix; unfortunately I am not smart enough to know how to do it. Something to do with making the player start on an empty playlist or something... it's in the FAQ but I couldn't even tell you where to look.

In a few hours all the people who are smarter than me will be back on the board and someone will have the answer.

It is not likely that your problem is serious.

tanstaafl.
_________________________
"There Ain't No Such Thing As A Free Lunch"

Top
#139452 - 03/02/2003 03:57 Re: Player locking up on first song [Re: topaz_monkey]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
Here is the FAQ entry on How do I stop it from trying to play a bad track?

Top
#139453 - 03/02/2003 06:14 Re: Player locking up on first song [Re: topaz_monkey]
oliver
addict

Registered: 02/04/2002
Posts: 691
Try this, i noticed your running beta 11, this is a bug which only effected beta 11. link
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#139454 - 03/02/2003 10:42 Re: Player locking up on first song [Re: topaz_monkey]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Topaz Monkey, make sure to do the following things which were already listed by others in this thread:

- Make the player start without a playlist.

- Make sure your config.ini file isn't hosed.

But because your player has the "building music databases" error, you'll also need to fix the corrupted database. And since you're a version behind, definitely make sure to upgrade to the latest version because it fixes some of the bugs that may have caused the problem in the first place.
_________________________
Tony Fabris

Top
#139455 - 03/02/2003 12:26 Re: Player locking up on first song [Re: tfabris]
topaz_monkey
stranger

Registered: 02/01/2002
Posts: 50
Loc: Dallas, TX
So, I upgraded to beta13 but I'm still getting the problem.

Hooking up the player to a telnet program works, but I can't drop it to a shell prompt (I am running the dev image, fyi). It seems to just be ignoring my attempts to hit 'q' and starts the player anyway. There isn't a pause when this prompt displays that allows input, and mashing down on the 'q' key during boot-up didn't work, either.

HOWEVER, Ctrl+C on boot-up DOES work, and I was able to at least get the player to start without a playlist via your FAQ. I can navigate the player software now, but I still can't sync up with Emplode (the player and software freeze on "Checking Media/Checking disk integrity").

I've attached the log output from my telnet session during bootup, if any of you 3l33t h4x0rz want to try to decipher it. There are errors in there, but they're Greek to me...

If I could get to a shell prompt I'd try the other steps. Any thoughts?


Attachments
137981-riocarboot.txt (221 downloads)

_________________________
[email protected] 20GB Mark2a (Smoke) 1998 VW Cabrio

Top
#139456 - 03/02/2003 12:36 Re: Player locking up on first song [Re: topaz_monkey]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
but I still can't sync up with Emplode (the player and software freeze on "Checking Media/Checking disk integrity").

Then you probably need to do this, too.

Make sure that this hasn't all been caused by disk drive trouble, though. Doing an FSCK on a troublesome disk will only make things worse.
_________________________
Tony Fabris

Top
#139457 - 03/02/2003 12:38 Re: Player locking up on first song [Re: topaz_monkey]
pgrzelak
carpal tunnel

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

The bootlog looks normal, but there is something important.

It says that the maximum number of file system mounts was reached. This means that next sync, it will try to fsck the filesystem. This will take a long time. Your sync is not frozen, just doing a file system check. Let it finish.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#139458 - 03/02/2003 12:45 Re: Player locking up on first song [Re: pgrzelak]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Yeah, what Paul said. At first I discounted it because you said the player freezes, too. Now that I think about it, though, during a synch the player shouldn't be doing anything at all. So yeah, Paul's statement is right. The FAQ entry I linked is basically doing by-hand what the synch is trying to do.

You're the second person who thought the filesystem check was a freeze. Empeg guys, any chance of changing the "Checking File System" name to "Checking File System (may take a long time)"? Does that fit on the screen?
_________________________
Tony Fabris

Top
#139459 - 03/02/2003 12:52 Re: Player locking up on first song [Re: tfabris]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Maybe just "Get Coffee".
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#139460 - 03/02/2003 12:55 Re: Player locking up on first song [Re: tfabris]
topaz_monkey
stranger

Registered: 02/01/2002
Posts: 50
Loc: Dallas, TX
Paul is my new hero. It took about 15 minutes, but it worked.

I echo Tony's concern; the problem is that the sync art on the player freezes, and for all itents and purposes Emplode appears to be totally not responding, which is definitely confusing...

Since I'm here, OOC, is there a maximum recommended number of files to sync over Ethernet at any given time. I seem to remember running into Emplode actually freezing when syncing a lot of files to the player, but I didn't know if that was fixed in any revisions of the software. Any tips to avoid such troubles in the future is much appreciated

Thanks again guys!
_________________________
[email protected] 20GB Mark2a (Smoke) 1998 VW Cabrio

Top
#139461 - 03/02/2003 13:19 Re: Player locking up on first song [Re: topaz_monkey]
pgrzelak
carpal tunnel

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

It is mostly fixed. Most human sized syncs will go without any trouble at all. When I was rebuilding my player after cleaning all my mp3 files (VBR header trouble), I attempted a 100GB sync, just to try and break it. It did. I broke the sync into two or three smaller syncs, all worked perfectly. This was over USB.

So, as long as you are not doing anything really out there, you should be fine.

Note: I didn't even bother to report or post those massive sync attempts. That kind of event is so rare, that I didn't think it too interesting. If there is any desire to try and replicate that error for troubleshooting purposes, let me know.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#139462 - 03/02/2003 13:40 Re: Player locking up on first song [Re: topaz_monkey]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Since I'm here, OOC, is there a maximum recommended number of files to sync over Ethernet at any given time.

No. If you're using the latest software, large synchs should be fine. The only thing you'd want to worry about is if the power goes out or Windows craps out on you mid-synch. For that reason, you'd want to do it in smaller batches so you don't have to re-do a bunch of work if something bad happens. But emplode/player should be good for big synchs at this point.
_________________________
Tony Fabris

Top
#139463 - 03/02/2003 15:47 Re: Player locking up on first song [Re: topaz_monkey]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
You mention hitting 'q', but are you hitting 'enter' after that?

Top
#139464 - 03/02/2003 15:55 Re: Player locking up on first song [Re: Yang]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Well, he's fixed the problem, so it's kind of moot now.
_________________________
Tony Fabris

Top
#139465 - 03/02/2003 16:22 Re: Player locking up on first song [Re: tfabris]
Yang
addict

Registered: 14/01/2002
Posts: 443
Loc: Raleigh, NC
Is hitting Control-C an acceptable way of killing the player?

Top
#139466 - 03/02/2003 16:25 Re: Player locking up on first song [Re: Yang]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Is hitting Control-C an acceptable way of killing the player?

About as acceptable as using Ctrl-Alt-Del for closing a Windows application.

In other words, it's sometimes necessary when the regular method doesn't work, but don't do it unless you have to.
_________________________
Tony Fabris

Top
#139467 - 03/02/2003 16:36 Re: Player locking up on first song [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
Actually, it is 100% perfectly acceptable and safe to use Control^C for this. What it does is tell the player that you want it to quit. If the player knows how to deal with this, it quits. If it doesn't know how to deal with it, then Linux forces it to terminate. Either way, all files get closed, and life goes on.

And since the Empeg's filesystems are R/O, there's no danger to the music data. The other hidden partitions may be getting updated at the time, but damage is extremely unlikely or even impossible here -- consider that it's all designed to lose power at any possible moment. Hitting Control^C for a more controlled shutdown is innocuous by comparism.

Cheers

Top
#139468 - 03/02/2003 16:51 Re: Player locking up on first song [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Ah. I thought Ctrl-C would kill the player app with extreme prejudice, and (for instance) not give it a chance to write its current playlist position to flash. I stand corrected.
_________________________
Tony Fabris

Top
#139469 - 03/02/2003 16:53 Re: Player locking up on first song [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14478
Loc: Canada
I don't know if the player actually "handles control^c" (no access to the source code here), but if it does, then it could do whatever cleanup it needs.

My understanding is that the playlist position is updated continuously (how often is that? see my earlier point), and gets commited to flash by the kernel on shutdown conditions.

Cheers

Top
#139470 - 04/02/2003 01:14 Re: Player locking up on first song [Re: topaz_monkey]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I sync'd an entire 50gb collection at one time.

Top