Unoffical empeg BBS

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

Topic Options
#31168 - 15/05/2001 15:18 Knowing when emplode is syncing?
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I;m getting back around to getting my d.net client installed on the empeg, and dug up some of my past issues. One is knowing when emplode is syncing data to the empeg. Is there a way to tell if emplode is syncing to the empeg? One work around I can think of is to see if the drives are RW, but does emplode always have the drives RW when it's syncing, or only during certain phases?

On a side note, this would also be useful for my menu system, so that when the player quits and restarts during the sync process, my init could determain if it needs to relaunch the player right away to finish the sync, or to just let the menu run because it's a normal quit.


Top
#31169 - 16/05/2001 02:30 Re: Knowing when emplode is syncing? [Re: drakino]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
only during certain phases?

Emplode has the disk r/w for most of the synchronise. Except for the post-synchronise download.

However, this is not necessarily an indication that there's a sync happening -- the disks could be r/w for some other reason.

On the other point, perhaps the player should exit with a different result if it's going around for the second half of a sync? Maybe it already does?




Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#31170 - 16/05/2001 03:22 Re: Knowing when emplode is syncing? [Re: drakino]
PaulWay
addict

Registered: 03/08/1999
Posts: 451
Loc: Canberra, Australia
Speaking of distributed.net, does the car player company formerly known as empeg, or anyone else, have any advice for easy installation of same into a Mark I?

Paul

Holder (while I buy it off my brother) of Mark I empeg 00061.
_________________________
Owner of Mark I empeg 00061, now better than ever - (Thanks, Rod!) - and Karma 3930000004550

Top
#31171 - 16/05/2001 08:44 Re: Knowing when emplode is syncing? [Re: PaulWay]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31594
Loc: Seattle, WA
Speaking of distributed.net, does the car player company formerly known as empeg, or anyone else, have any advice for easy installation of same into a Mark I?

Correct me if I'm wrong, but isn't distributed.net only useful if you've got ethernet?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#31172 - 16/05/2001 09:02 Re: Knowing when emplode is syncing? [Re: tfabris]
mardibloke
addict

Registered: 14/08/2000
Posts: 468
Loc: Penarth, UK
You could obtain blocks via a Internet connected PC, pop them on the empeg for cracking and then back to the PC and up to the internet via PC.

- --
Rod, UK Mk2 64gig Red S/No.341 2xDell RioReceiver
_________________________
- --
Rod, UK

Top
#31173 - 16/05/2001 12:08 Re: Knowing when emplode is syncing? [Re: drakino]
fvgestel
old hand

Registered: 12/08/2000
Posts: 702
Loc: Netherlands
I've just noticed that during synchronization, one of the player threads is in an uninterruptable sleep, which shows up in /proc//stat as a capital D as third field.
you could use :
cat [1-9]*/stat | grep ' D '

If the above command returns some output, the empeg is synchronizing...

Frank van Gestel
_________________________
Frank van Gestel

Top
#31174 - 12/06/2001 18:02 Re: Knowing when emplode is syncing? [Re: Roger]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
One other thing I noticed during sync is this: "Adding Swap: 16596k swap-space (priority -3)". When is the swap space deleted? Before or after the reboot of the player program?


Top
#31175 - 13/06/2001 02:38 Re: Knowing when emplode is syncing? [Re: drakino]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
One other thing I noticed during sync is this: "Adding Swap: 16596k swap-space (priority -3)". When is the swap space deleted? Before or after the reboot of the player program?

The swap isn't deleted as such; there's a 16M partition set aside especially for swap. However, swapping to a spun-down disc is widely regarded as a Bad Thing, so swapping is only enabled during synchronise (in fact, during media checking). Long before the player restart, swapoff() is called.

Peter



Top