Unoffical empeg BBS

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

Topic Options
#312375 - 22/07/2008 14:40 Hijack v495 & v496 now released
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Hijack version 495 now exists, which is a simple un-do of v494.

Hijack version 496 is now released, and includes the source code for LittleBlueThing's Whack-A-Mole game from the 10th Birthday Party meet.

Time to test those reflexes!

Cheers

Top
#312479 - 27/07/2008 20:34 Re: Hijack v495 & v496 now released [Re: mlord]
frog51
pooh-bah

Registered: 09/08/2000
Posts: 2091
Loc: Edinburgh, Scotland
I'll be testing :-)

Well, as soon as I get back from a fortnight's camping with the whole family. 500 miles so far - staying in Carfraemill, Strathconon and Drumoak, and another 1000 to go - camping out near Weymouth, Falmouth and Windermere.

The only downside - I didn't get that time to dremel the fascia to get my empeg in, so we have a Forester without music...except for the singing of three kids!
_________________________
Rory
MkIIa, blue lit buttons, memory upgrade, 1Tb in Subaru Forester STi
MkII, 240Gb in Mark Lord dock
MkII, 80Gb SSD in dock

Top
#312483 - 27/07/2008 23:23 Re: Hijack v495 & v496 now released [Re: frog51]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Yeah, my own Forrester took a bit of trimming as well.

Great scotch, by the way! I will confess that SWMBO & I have not really been fans of single-malt before, and I really prefer Drambuie.

But now you've spoilt us -- after sipping that wonderous thing called The Macallan, the ole Drambuie now tastes far too sickly sweet. Next we know, we'll be hunting for the 18yr old Macallans!

Thanks so much for helping to retune our tastebuds!

Cheers

Top
#312496 - 28/07/2008 15:39 Hijack v497, v498, v499: ktelnetd (optional) [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Hijack v499 is now available.

New in this version, is a built-in basic telnetd server (single-connection, and no ptty support yet).

This is disabled by default (to save RAM), but if you want to be able to telnet into your player and issue commands etc.. remotely, then enable it with this in the config.ini file:

[hijack]
ktelnetd_port=23

Once I figure out the in-kernel logic for a pty device, I'll add that, and the "bash: no job control in this shell" message should then disappear.

Also released were Hijack versions v497 and v498, which include some (mostly) cosmetic prep work for the v499 ktelnetd addition.

A full v499.tar.bz2 kernel tarball is also now available.

Cheers

Top
#312497 - 28/07/2008 15:59 Hijack v500: multiple telnet connections [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: mlord
New in this version, is a built-in basic telnetd server (single-connection ...


Hijack v500 is now available, with support for multiple simultaneous telnet connections.

Cheers

Top
#312498 - 28/07/2008 16:06 Re: Hijack v500: multiple telnet connections [Re: mlord]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
The user space telnetd that was available before required the existence of pty nodes in /dev, which don't exist on the empeg by default. Do we need those for your ktelnetd?
_________________________
Bitt Faulk

Top
#312499 - 28/07/2008 16:14 Re: Hijack v500: multiple telnet connections [Re: mlord]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
v500!

Should there be a party? smile
_________________________
Tony Fabris

Top
#312500 - 28/07/2008 16:29 Re: Hijack v500: multiple telnet connections [Re: wfaulk]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: wfaulk
The user space telnetd that was available before required the existence of pty nodes in /dev, which don't exist on the empeg by default. Do we need those for your ktelnetd?

Not yet, anyway. It works with the standard developer image.

But I have yet to add pty support to the daemon, which bash wants for some functions, so we'll see once that happens. If it does need the /dev/ nodes, then I'll have Hijack simulate them or something.


Edited by mlord (28/07/2008 16:32)

Top
#312501 - 28/07/2008 16:31 Re: Hijack v500: multiple telnet connections [Re: tfabris]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: tfabris
v500!

Should there be a party? smile

Some of us haven't yet fully recovered from the last party! smile

Top
#312517 - 28/07/2008 22:18 Re: Hijack v500: multiple telnet connections [Re: mlord]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
Originally Posted By: mlord
This is disabled by default (to save RAM), but if you want to be able to telnet into your player and issue commands etc.. remotely, then enable it with this in the config.ini file:

[hijack]
ktelnetd_port=23


That's awesome Mark. Telnet is something that's very handy to have. I found mine getting removed by upgrades etc too often though.

In terms of the memory usage, will the kernel allocate the memory for this before anything else? i.e. on a machine with upgraded memory (Mk2a 32MB in this case), the memory will be allocated before the player starts chewing it up for buffers? Or is that reservemem option necessary?
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#312518 - 28/07/2008 22:40 Re: Hijack v500: multiple telnet connections [Re: Shonky]
AndrewT
old hand

Registered: 16/02/2002
Posts: 867
Loc: Oxford, UK
I know this isn't exactly what you're asking here but your post prompted me to realise that the ;@AC modifier will alleviate any potential RAM issues for in-car use.

Top
#312519 - 28/07/2008 23:01 Re: Hijack v500: multiple telnet connections [Re: AndrewT]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: AndrewT
I know this isn't exactly what you're asking here but your post prompted me to realise that the ;@AC modifier will alleviate any potential RAM issues for in-car use.

Yes.

The kernel doesn't specifically allocate anything for the ktelnetd until it actually launches the daemon (after the player starts and reads config.ini) -- at which point, it will require typical process resources, which I'd guestimate at somewhere between 4 and 8 pages (4KBytes each) of RAM.

On my own players, I use this:

[startup]
;@AC ReserveCache=8


But I'm not sure if that's good or not. Works for me (EDIT: though I used to use 64 here..)

And I've discovered a nifty method of producing an out-of-memory error on request: just run hdparm -t /dev/hda (from a telnet session) and it will give a mysterious error message from /bin/bash, whilst Hijack shows an out of memory popup on the display.

Cheers


Edited by mlord (28/07/2008 23:08)

Top
#312520 - 28/07/2008 23:04 Re: Hijack v500: multiple telnet connections [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Mmmm.. I've forgotten this, so perhaps a blue person might respond: What is the default ReserveCache=xx value for the player on v2.01 and on v3a11 software ?

Important to know, as it might actually be more than the value I'm trying to supplement things with!

Thanks

Top
#312522 - 28/07/2008 23:11 Re: Hijack v500: multiple telnet connections [Re: mlord]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Originally Posted By: mlord
I have yet to add pty support to the daemon, which bash wants for some functions, so we'll see once that happens. If it does need the /dev/ nodes, then I'll have Hijack simulate them or something.

After further investigation, pseudo-tty support requires too many resources to be worthwhile here, so anyone who needs that should probably install a userland telnetd instead.

It does seem a shame that job control (think.. "fg" and "bg" commands) and curses (think.. editors) seem to require a pty, though. smirk

Top
#312533 - 29/07/2008 06:52 Re: Hijack v500: multiple telnet connections [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
Originally Posted By: mlord
What is the default ReserveCache=xx value for the player on v2.01 and on v3a11 software?

The default is always ReserveCache=0. Even on players with expanded memory, which get some cache chunks reserved to compensate for the kernel's added expansiveness, the ReserveCache setting in config.ini is always added on top of that.

Peter

Top
#312539 - 29/07/2008 10:12 Re: Hijack v500: multiple telnet connections [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14493
Loc: Canada
Great! Thanks, Peter!

Top