PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Status POL on OpenBSD

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
oenone



Joined: 01 Feb 2006
Posts: 4
Location: Mannheim, Germany

PostPosted: Tue Mar 13, 2007 5:09 pm    Post subject: Status POL on OpenBSD Reply with quote

Hi there,

I would really like to see POL running natively on my OpenBSD-Systems.
But I don't think that'll happen soon, so I did some research.

Working POL Versions: any statically linked linux-version up to pol-linuxbin-096-2005-03-05-gentoo.tar.gz - these work without any problems, since they were built with Linux Kernel 2.0.0 (at least the Binary format is compatible to 2.0.0).

The next version, 2005-04-04, doesn't work any more, and so do any following versions. The reason is the following: Because it is built as a Kernel 2.4.1 Binary, it tries to use NTPL, because it thinks it's running on a Linux Kernel > 2.5 (it calles uname and OpenBSD says it's 4.0). This causes it to try do a syscall linux_sys_set_thread_area, which isn't implemented in the Linux emulation of OpenBSD.

One way to fix it would be to recompile POL to not use NTPL... I can't do that, don't have the source. If you would provide a binary I would be happy Smile

Another way to fix it would be to fix the Linux emulation in OpenBSD... That would be great, but it would be very difficult as I'm not familiar enough with the code.

Third, I could use the FreeBSD binaries, as OpenBSD also has an emulation for FreeBSD. This is not possible, because the FreeBSD binaries of POL are compiled for version 6.1, and OpenBSD only supports up to 5.0 (not shure here).

I'm still researching, but if anybody could give me some hints what to do next to try getting POL working, please contact me.

Regards,
oenone

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty