Unoffical empeg BBS

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

Page 2 of 2 < 1 2
Topic Options
#96472 - 04/06/2002 17:39 Re: emptriv install [Re: tonyc]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
I have not deleted any questions... And am locking up...
Running hijack 271.

Top
#96473 - 04/06/2002 18:18 Re: emptriv install [Re: lectric]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Okay, I just upgraded to v271 and tested out emptriv. Practically got tendonitis zipping through about 100-200 questions before I decided that I'm definitely not seeing this one. What else is new?

I don't really know where to go to debug this one. However, I plan to (sometime after my class project is done early next week) port emptriv to the new vfdlib graphics library. That'll give me a chance to look into other stuff too. In the meantime, anyone who's handy with a shell prompt can help me by answering these questions:

1. Can you still get around in the shell when emptriv hangs?
2. If #1 is yes: After this lockup happens, is the emptriv process still running?
3. If you have "wc" (word count) installed on your empeg (usually in /usr/bin) can you run a

"ls -1 | wc -l /usr/local/emptriv/questions"

for me, to count the # of files in the questions directory? (substitute the path of your questions directory)

Otherwise I don't really know how to get to the bottom of this one, short of sending out a massively-instrumented version and pouring through log files. I do enough of that at work.
_________________________
- Tony C
my empeg stuff

Top
#96474 - 04/06/2002 18:45 Re: emptriv install [Re: tonyc]
johnmcd3
enthusiast

Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
I'll try to diagnose it as i get it also. However, I just got an incredible (programming / computer) job today. Which is awesome in some many ways but means I have less time for my empeg, we'll have to see how much time I can juggle to it.

John
_________________________
1998 BMW ///M3 30 GB Mk2a, Tuner, and 10 GB backup

Top
#96475 - 04/06/2002 18:47 Re: emptriv install [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31563
Loc: Seattle, WA
I have a silly question...

I've been reading this thread and I wonder...

Would those "lock up" symptoms happen if they were missing some of the Emptriv files? For example, if they had tried to install Emptriv to the root partition instead of drive0/var and ran out of disk space and therefore didn't have all the files in place?

Just a wild guess.
_________________________
Tony Fabris

Top
#96476 - 04/06/2002 18:53 Re: emptriv install [Re: johnmcd3]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Congrats on the job! Yeah I have the same dilemma. I write code by day, and it's hard to come home and work on emptriv. I enjoy it, but sometimes, I just wanna sit out on the porch and read Maxim.
_________________________
- Tony C
my empeg stuff

Top
#96477 - 04/06/2002 18:55 Re: emptriv install [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Well I went through that, saying that people shouldn't go deleting files. Interestingly enough though, if it ran out of space while creating the files, it *should* work because the files should still be numbered consecutively, and not be missing any in the middle. I would most expect this to happen if files were missing in the middle, like if a category had 0000, 0001, and then 0099 or something. Because my poor-man's random algorithm counts the # in each category in the beginning, stores that, and picks one of those. If it doesn't exist, I'm not sure what happens, but I can try it out when I get home.

lectric has been PMing me and he claims that emptriv is disappearing from the ps output, suggests it's crashing, maybe running out of memory or something. It shouldn't be a memory hog, but the GD lib (and my inefficient use of it) can't be helping... Maybe a port to vfdlib will do the trick.
_________________________
- Tony C
my empeg stuff

Top
#96478 - 04/06/2002 20:45 Re: emptriv install [Re: tonyc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
hey tony, another quick question, any idea on my weird stuff on the questions and answers it will go like this. there will be a questions thats all fine and dandy

Q: what is the blah blah blah...blah

then the answers screen will come up and ill always get a random number from 1 - 10 in the 1st answer spot

a: [1] 8 [2] a regular answer [3] a regular answer ..ect.

then lets say i answer wrong or if the right answer isnt there becuase its in slot 1 with the random number it will show up like this

Wrong Answer, The Correct Answer is [@]

any ideas?
_________________________
---- Justin Larsen

Top
#96479 - 04/06/2002 20:53 Re: emptriv install [Re: justinlarsen]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
OMG!
i tihnk i figure out whats wrong, all of the game files are in dos format, looks like i have to start over with the install.
_________________________
---- Justin Larsen

Top
#96480 - 04/06/2002 20:54 Re: emptriv install [Re: justinlarsen]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Looks like a bug... Actually, did you unzip the archive on Windows and then transfer it to your Empeg somehow? That looks like something that could happen if the linefeeds got screwed up. Windows and UNIX use different characters for linefeeds, and I'm not sure how I'll handle if they get screwed up.

You say this happens on all your questions? If it just happens on a few, then there's a possibility the a few of the question files are messed up. I obviously didn't write 20,000 trivia questions myself, it was a bit of Perl magic and I did my best to make sure they were all in good syntax, but who knows... Could you elaborate on the problem a bit?
_________________________
- Tony C
my empeg stuff

Top
#96481 - 04/06/2002 20:55 Re: emptriv install [Re: justinlarsen]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Haha, jinx.

Maybe it's time for an emptriv FAQ.
_________________________
- Tony C
my empeg stuff

Top
#96482 - 04/06/2002 21:12 Re: emptriv install [Re: tonyc]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
I untar'd right on my empeg. For all you interested, I changed ReserveCache to 212, giving roughly 1 Meg of free RAM, so that shouldn't be a problem. Alll the files are there, and installed from linux, the directory is /drive0/after/emptriv. It is launching through preinit.d using:

cd /drive0/after/emptriv
./emptriv

when the process locks, memory is instantly released to the available memory and the process is gone, however, the display is completely locked. Music keeps playing, I can telnet in and poke around, etc.

anything else anyone wants to know about my scenario?

Oh, running 2.0b11 Dev /w hijack 271 on an MKIIa.


Top
#96483 - 04/06/2002 21:15 Re: emptriv install [Re: lectric]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
RAM doesn't seem to be a problem, and since it always locks up in the same spot, and I'm not allocating any memory there, I'm officially ruling out RAM. No idea what it could be though, since I don't have a reproducable test case.

BTW, don't run with a high ReserveCache like that during normal operation, or your player app won't be caching and will always have to read from disk a lot.
_________________________
- Tony C
my empeg stuff

Top
#96484 - 04/06/2002 21:18 Re: emptriv install [Re: lectric]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
And if it IS fouled up question files, and only a few are fouled up, that's gonna be a bitch to find as it would be the NEXT question, not the current question. And by the way, If you don't feel like working on this, then don't for a while. There is no terrible rush here. I know this type of stuff is a royal PITA, it one of the reasons I quit coding like seven years ago. I wouldn't even know where to begin anymore, things have changed so much.

Top
#96485 - 04/06/2002 21:19 Re: emptriv install [Re: tonyc]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
putting it back now

Top
#96486 - 05/06/2002 12:45 Re: emptriv install [Re: lectric]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
yikes, im having the same emplode problem now as well, emplode dosnt like emptriv running while it sync, if i close emptriv it syncs fine, i even put another RO command into my preinit and that still didt do it, i get this error when emptriv is running "Synchronize failed while checking media. Error 0xc0041010" i made hijack and empeg-preinit 755 in both /bin/ and /sbin/ ive messed with it minimal, but still nothing only way i can sync is to close emptriv, or take it out of the preinit and reboot.. *shugs* any ideas tony,

also thanks for being a champ thru all these emptriv questions it seem the program has gotten quite popular in the last few weeks, strange since its been out for so long.
_________________________
---- Justin Larsen

Top
#96487 - 05/06/2002 12:59 Re: emptriv install [Re: justinlarsen]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Doc, it hurts when I do this...

"Don't do that."

One thing I know is that checking the media (fsck) takes up a good deal of memory, in fact the player app turns swap on before it does the fsck to avoid such a crash.

I have no idea why it would cause a crash. I also don't really want to test it out because I value my music partition and crashes while fsck is running are bad for your music's health.

So, like, quit out of Emptriv (and all other user apps, I would recommend) before you sync.
_________________________
- Tony C
my empeg stuff

Top
#96488 - 05/06/2002 19:41 Re: emptriv install [Re: tonyc]
johnmcd3
enthusiast

Registered: 19/04/2001
Posts: 369
Loc: Seattle, WA (formerly Houston,...
I also note this crash as a low-medium priority. I also use the preinit (not franks' init) if that matters. My files have never been on a windows machine, either. To me this this bug smells like one that like be hard to try make happen on an empeg that it wasn't happening on. we (the people expiriencing the crash) should be responsible for providing more info, or better yet, diagnosing it ourselves.

John
_________________________
1998 BMW ///M3 30 GB Mk2a, Tuner, and 10 GB backup

Top
#96489 - 05/06/2002 22:06 Re: emptriv install [Re: johnmcd3]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Sounds good. Whatever info I get, I will take note of and try to address when I go to port emptriv to the new graphics lib. That will at least be a bit of a change, and chances are I'll clean up some other code while I'm in there. I am done with my classes next Tuesday, so after that, when the sun goes down, my time is pretty much mine. Looking forward to having some empeg-hacking time.
_________________________
- Tony C
my empeg stuff

Top
#96490 - 06/06/2002 03:18 Re: emptriv install [Re: tonyc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
sweeet.. if u need any help with anything ill do my best.. im mostly a gfx guys, maybe a nice webpage for ur software
_________________________
---- Justin Larsen

Top
#96491 - 13/06/2002 23:45 Re: emptriv install [Re: johnmcd3]
chango
new poster

Registered: 10/11/1999
Posts: 22
I would appreciate help on this - how would I add emptriv to the modified init and how would I set the modified init to run on startup? Thanks in advance.
_________________________
// Mark II empeg 10GB Blue #2537

Top
#96492 - 22/06/2002 22:15 Re: emptriv install [Re: chango]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
Hrmmm... Mine does the sync error too. And I completely forgot about this till just now. -=DOH=- Workin fine now.


Top
#96493 - 22/06/2002 22:54 Re: emptriv install [Re: lectric]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
Chango, Do a search on preinit.d. Pretty easy, actually. I was surprised.

Top
#96494 - 23/06/2002 13:25 Re: emptriv install [Re: lectric]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
i've figured out why emplode gets that sync error. for some reason, sync tries to umount the drive, and cant do that because the process emptriv is still running. it halts after that. do we need to modify some script so you kill emptriv before you do umount?

Top
#96495 - 23/06/2002 14:09 Re: emptriv install [Re: image]
lectric
pooh-bah

Registered: 20/01/2002
Posts: 2085
Loc: New Orleans, LA
Hrmmm... I also have to kill VNC. (Killed telnetd too for good measure). In other words, -=SHRUG=-

Top
#96496 - 23/06/2002 23:50 Re: emptriv install [Re: lectric]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA
any process thats running from the music drives would have to be killed before u can sync. thats the way it is, i guess.

Top
#96497 - 20/07/2002 18:25 Re: emptriv install [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
I just installed your emptriv program, nice work. Great app. The only thing that is bothering me, is the having to kill the process before running emplode. Is there anyway, we could move the binary emptriv file to anywhere but the music partition, say /usr/userland for example, but keeping all the questions and other files on the music drive. I guess you would just need to recompile the binary, and have them look for the files in the correct location. Would tihs solve the problem that emptriv is having with emplode?
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#96498 - 21/07/2002 10:22 Re: emptriv install [Re: oliver]
image
old hand

Registered: 28/04/2002
Posts: 770
Loc: Los Angeles, CA

Top
Page 2 of 2 < 1 2