It is currently Wed Nov 19, 2008 3:52 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Status POL on OpenBSD
PostPosted: Tue Mar 13, 2007 1:09 pm 
Offline
User avatar

Joined: Wed Feb 01, 2006 3:25 am
Posts: 6
Location: Mannheim, Germany
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 :)

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl