aMule Forum

English => aMule Help => Topic started by: emule_os2 on December 19, 2005, 04:19:34 PM

Title: amule for OS/2 released
Post by: emule_os2 on December 19, 2005, 04:19:34 PM
Dispite lfroen's denial (http://forum.amule.org/thread.php?postid=40844&sid=#post40810) of our existance, a version of amule for OS/2 has been released.

It can be found here: http://ftp-os2.nmsu.edu/cgi-bin/h-browse?dir=/pub/incoming&sort=date

It will likely be moved here:

http://ftp-os2.nmsu.edu/cgi-bin/h-browse?sh=1&dir=/pub/java/apps/internet/misc

Currently it uses the amule Daemon with amulecmd or amuleweb for user interfaces.

I would ask the moderators to move this thread into the aMule News section and it would be nice to create an OS/2 forum in the Multiplatform area.
Title: Re: amule for OS/2 released
Post by: Kry on December 19, 2005, 04:46:10 PM
OS/2 DOESN'T EXIST! :P


You'll have to give me more details. version, is it patched or not, which patches if needed, etc ,etc-
Title: Re: amule for OS/2 released
Post by: lfroen on December 20, 2005, 12:10:06 PM
Quote
Dispite lfroen's denial of our existance

I aware that many kinds of strange things do exists. For example, some people believe, that OS/2 exists, while other people:

Quote
OS/2 DOESN'T EXIST!

obviously don't. Many elders believes, that OS/2 was only myth, while some claims that actually saw it running. By now, it remains unclear whether "OS/2 myth" is based on some real events or it was only tale based on inability to interpret nature forces scientifically.
Title: Re: amule for OS/2 released
Post by: Gerd78 on December 20, 2005, 12:21:37 PM
Believe it or not, but OS/2 is even sold these days with recent versions of Java, Firefox, OpenOffice.org etc.:

http://www.ecomstation.com/

Rumours say that there are still 500000 workstations in use, mainly in banks and insurances. These people will of course need an ED2K client. ;)

It's especally popular for ATM machines:

http://ulm.ccc.de/old/projekte/bankomat/bankomat_0014.jpeg

If it's possible to play games on ATM machines, why not use an ED2K client?
Title: Re: amule for OS/2 released
Post by: thedude0001 on December 20, 2005, 01:41:25 PM
/me wanders off to the next ATM to download some more medieval germen porn...
Title: Re: amule for OS/2 released
Post by: lfroen on December 20, 2005, 04:38:53 PM
Quote
It's especally popular for ATM machines:

Excelent idea: now I will see following options on my ATM -

1. Withdraw $100
2. Check your balance
3. See my download queue
Title: Re: amule for OS/2 released
Post by: Kry on December 20, 2005, 05:12:23 PM
That would be cool.
Title: Re: amule for OS/2 released
Post by: ggamba on December 22, 2005, 05:03:18 PM
Hello,

I confirm that Os2 exists, but if you don't trust me you can verify by yourself downloading a live Os2 demo CD from:

http://www.ecomstation.com/democd/

Come on, it is less than one hundred Mb ;-)
Title: More info
Post by: emule_os2 on December 22, 2005, 05:18:47 PM
The OS/2 version is based on 2.0.3. I had to make some small changes to the source code, but things aren't clean enough to give you a patch to include in CVS. The source code has been released if you really want to look at it.

If you are getting an access violation in amuled after a minute or two of running it, try reducing Max. Connections to say, 40. This can be done from the preferances page in amuleweb. It doesn't seem to be a problem if you are downloading unpopular files.

It seems that the OS/2 implementation of select() can't handle too many connections.
Title: Re: amule for OS/2 released
Post by: Kry on December 22, 2005, 08:22:59 PM
I am of course not going to make public advertising of support of some version with changes on the sorucecode that are obscure to me, so please do that patch and we're cool.

Keep in mind we try to support as much as we can, but if you have a 2.0.3 patched, we need to do that changes to CVS, mainly because we're about to release 2.1.0 which would be stupid to release without support for OS/2 if 2.0.3 has it.
Title: Re: amule for OS/2 released
Post by: emule_os2 on December 22, 2005, 08:38:07 PM
I understand what you are saying. I want to sort out the patches that are needed for wx Widgets for OS/2, then I'll setup a proper patch for amule. What I've done is all very quick and dirty -- release early and release often. Don't let me hold you back on 2.1.0.

Until then you can think about how to make room on the amule logo for another OS.
Title: Re: amule for OS/2 released
Post by: lfroen on December 22, 2005, 08:39:46 PM
Quote
It seems that the OS/2 implementation of select() can't handle too many connections.
It may suffer from same stupidity as BSD one. http://netbsd.gw.com/cgi-bin/man-cgi?select++NetBSD-current (http://netbsd.gw.com/cgi-bin/man-cgi?select++NetBSD-current)
Title: Sharing?
Post by: Borsti67 on December 26, 2005, 12:56:07 PM
I was very happy to see a P2P-client for OS/2 - finally.  :) Great job, emule_os2!  :baby:

Not sure what happened, after the first configuration steps there was a crash after DLing a SERVER.MET while trying to read it? After that amuled and amuleweb locked themselves so hard, I couln't stop (nor kill) them anymore, needed to reboot. :-/

Well, right now I'm connected to RAZORBACK2 with a HighID, everythings looks fine - but HOW do I add shared directories (especially those on other drives than amule is installed)?

From the browser, i can only refresh the current list but can't change anything. :(
Editing shareddir.dat was to no avail, on start I see the following:

Code: [Select]
2005-12-26 10:27:57: Found 0 known shared files
2005-12-26 10:27:57: Connecting
2005-12-26 10:27:57: Connecting to
2005-12-26 10:27:57: Connecting to Razorback 2.0 (.....)
2005-12-26 10:27:57: AICH Thread: Syncronization thread started.
2005-12-26 10:27:57: Connected to Razorback 2.0 (....)
2005-12-26 10:27:57: AICH Thread: Masterhashes of known files have been loaded.
2005-12-26 10:27:57: AICH Thread: No new files found.
After stopping amuled, shareddir.dat is EMPTY again!  X(

The README tells, the path "\amule" is hardcoded - does this affect shared files, too??? Of course my data files are spread over some drives, I can't (won't!) copy them below \amule...
Title: Re: amule for OS/2 released
Post by: stefanero on December 26, 2005, 01:04:05 PM
stop amule and then edit the file, add your paths,  and restart amule

that shoudl fix it...
Title: Re: amule for OS/2 released
Post by: Borsti67 on December 26, 2005, 03:22:35 PM
Hi stefanero,

sorry but: no, it doesn't.  ;(
May be there is  special syntax I haven't found yet?
I already tried:
T:\FILES
T:\FILES\
T:\\FILES
T:\\FILES\\
T:/FILES
T://FILES
T:/FILES/
T://FILES//

what else could it be?  ?(

update 1:

dammit, amuled crashed again:
Code: [Select]
Killed by SIGSEGV
pid=0x0136 ppid=0x0087 tid=0x0001 slot=0x00e8 pri=0x0200 mc=0x0001
E:\AMULE\AMULED.EXE
LIBC06X 0:00008fee
cs:eip=005b:1dce8fee      ss:esp=0053:0030fb58      ebp=0030fb88
 ds=0053      es=0053      fs=150b      gs=0000     efl=00012216
eax=00000000 ebx=00000000 ecx=00000041 edx=00000104 edi=00000ff7 esi=00000ff7
Process have been dumped
..and again, I can't stop amuleweb:  X(
Code: [Select]
ECSocket::WriteBufferToSocket error The socket is non-blocking and the operation
 would block
exit

Ok, exiting aMuleweb...
WSThread: Waiting for WCThreads to be terminated...

update 2:
I was able to restart amuled twice, but after that last SIGSEGV the task hangs, too. Normally I was back to the command shell after crash and PDUMP, but no longer. So I will have to reboot again... :-/
Title: Re: amule for OS/2 released
Post by: Borsti67 on December 26, 2005, 04:13:10 PM
next update:
I changed max-connections to 40 as mentioned before; don't know if this was the reason for the crashes, but may be better. ;)

Now, after rebooting, I started amuled and the logfile reads "Hasher: Starting to create MD4 and AICH hash for file:..."  8o
Can't believe this.  :rolleyes:

Well, this could take a while.  :P This is quite interesting...  :D
Title: Re: amule for OS/2 released
Post by: Borsti67 on December 26, 2005, 06:30:53 PM
*sigh*
I knew it wouldn't be THAT easy...  :(

Well, hashing proceeded and anything seemed to be ok (didn't try amulecmd/amuleweb, wanted to check normal stability first).

Suddenly i noticed on my other PC, that my mailserver (on the OS/2-machine) wasn't responding anymore.
I couldn't see any special, but decided to restart the mailer - whoops, a crash while exiting?
Tried to stop amuled - no reaction. A simple DIR-command froze my command-window, the task-switcher reported non-reactive other programs; everything became more and more sluggish. Finally even the clock stopped.  :rolleyes:
So I gave up and pressed Ctrl-Alt-Del - I can't believe it, the message "shutting down..." came as expected but nothing more! 8o
The first time for YEARS I had to do a hard reset.  X(

Since I have to work again tomorrow, I'm going to stop testing for now; I won't risk the server crashing while I'm not around...  ;(
Title: Re: amule for OS/2 released
Post by: stefanero on December 26, 2005, 09:18:23 PM
maybe you should try all this on a "test" server since non of us really have OS/2 and god only knows how good it is on that OS aswell....
so it might be some wx issues or maybe on our code....
I also dont know about the sharedir.dat on *nix you just put

/path/to/dir

and you are all set...
Title: Re: amule for OS/2 released
Post by: Borsti67 on December 27, 2005, 06:50:04 PM
Too bad, but I don't have another OS/2-PC here. :(
The pathes are now ok (standard-notation as usual in OS/2 like "T:\DATA\"); whyever it took lots of tries until they have been accepted...

I was hoping, emule_os2 or another OS/2-user would be reading here and give me some clues, but it looks like I have to wait.

Next update: This morning the machine crashed again (w/o amule, of course)!  8o
The only other new software installed in the last weeks was the BOINC-client, so now I disabled it, too.

But I have a feeling, very BAD things are happening here.  ;( X(
Title: Re: amule for OS/2 released
Post by: Kry on December 27, 2005, 08:29:22 PM
Quote
Originally posted by Borsti67
But I have a feeling, very BAD things are happening here.  ;( X(

Famous last words
Title: Re: amule for OS/2 released
Post by: ken on December 28, 2005, 04:04:30 AM
One thing to keep in mind about shareddir.dat is that the directories listed there are shared non-recursively.  There's no way to share a directory truly recursively.  You have to list every subdirectory that you want shared explicitly.  The aMule GUI provides a shortcut to do this for you, but (for example) any new subdirectory you create in the future won't automatically be included.
Title: Re: amule for OS/2 released
Post by: emule_os2 on January 02, 2006, 02:48:47 AM
With all your crashes you should probably start again, fresh.

To create the share files list, open the configuration file in Enhanced Editor, delete everything and enter the directories in the form c:\dir This is so that it will create a unix style text file without a ^Z at the end. Try doing only a few directories at a time in case one of the directories is causing the problem.
Title: Re: amule for OS/2 released
Post by: Borsti67 on January 02, 2006, 06:34:44 AM
Well, I tried again over the weekend, and what shall I say - works as designed...  ?(

But there seems to be a bug in the stats:
Code: [Select]
Statistics
   Uptime: 14667 Days 20 hours
   Transfer
      Session UL:DL Ratio (Total): 12.45 : 1
      Uploads
         Uploaded Data (Session (Total)): 3.27 GB (3.33 GB)
... would be a nice uptime indeed!  :P