From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:05:22 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 69F8E16A41C for ; Sun, 26 Jun 2005 18:05:22 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: from riot.premsoft.co.za (mail.accountmate.co.za [196.38.54.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8928243D49 for ; Sun, 26 Jun 2005 18:05:17 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: (qmail 86229 invoked by uid 1003); 26 Jun 2005 17:59:38 -0000 Received: from jaco@coocoo.za.net by riot.premsoft.co.za by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 12.765858 secs); 26 Jun 2005 17:59:38 -0000 Received: from localhost (HELO webmail.premsoft.co.za) (127.0.0.1) by localhost with SMTP; 26 Jun 2005 17:59:24 -0000 Received: from 196.37.144.98 (SquirrelMail authenticated user jaco@coocoo.za.net) by webmail.premsoft.co.za with HTTP; Sun, 26 Jun 2005 19:59:24 +0200 (SAST) Message-ID: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> Date: Sun, 26 Jun 2005 19:59:24 +0200 (SAST) From: jaco@coocoo.za.net To: freebsd-emulation@freebsd.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:05:22 -0000 Hello All, I am trying to load a Linux module in Apache 2.0.53, but I am running into some problems. I am not sure if this is even possible, but I sure hope so. ;) This is the scenario: I have a precompiled linux DSO module for Apache 2. This module loads fine on Linux, but pukes when I try to load it on FreeBSD. First of all a question: Is there any special setting that I must change in order for apache to use be able to see the shared libraries that is in the linux directectory? This directory is located in /usr/compat/linux/. The module is branded as Linux. When I try to load the module in Apache it complains about shared libraries not being found. These libraries exist in /usr/compat/linux/lib and /usr/compat/linux/usr/lib. They also work for the other linux applications that I run, ie, they are found. I also tried to link the libs in /usr/compat/linux/lib to /usr/lib. I KNOW that this can not be the right way to do it, but this sort of worked (no more shared library not found), but then the module groaned about some undefined symbols. I think this is because it finds some OTHER module with the same name as the one it's linked against in linux and then cannot find the stuff it is looking for. Here is the exact error message: Syntax error on line 1108 of /usr/local/etc/apache2/httpd.conf: Cannot load /usr/local/libexec/apache2/mod_V2_mgrequest94.so into server: /usr/local/libexec/apache2/mod_V2_mgrequest94.so: Undefined symbol "__gxx_personality_v0" Here is the output of ldd: root@disco-bear# ldd /usr/local/libexec/apache2/mod_V2_mgrequest94.so /usr/local/libexec/apache2/mod_V2_mgrequest94.so: libpthread.so.0 => /usr/local/lib/libpthread.so.0 (0x281b3000) libstdc++.so.3 => /usr/lib/compat/libstdc++.so.3 (0x28204000) libm.so.6 => /usr/local/lib/libm.so.6 (0x28249000) libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x2826a000) libc.so.6 => /usr/local/lib/libc.so.6 (0x28272000) ld-linux.so.2 (0x2839d000) libm.so.2 => /usr/lib/compat/libm.so.2 (0x283b0000) (some of these are symlinked to /usr/compat/linux/lib) Is there anything special that I must do to be able to load this module in Apache? OS: FreeBSD 5.4-RELEASE Apache: 2.0.53 Linux Base: Redhat 7.2 Thank you in advance for your help. ---Jaco From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:25:06 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4AF116A425 for ; Sun, 26 Jun 2005 18:25:05 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 608A343D4C for ; Sun, 26 Jun 2005 18:25:05 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.51 (FreeBSD)) id 1DmboU-0000c9-A6; Sun, 26 Jun 2005 22:25:02 +0400 From: Vladimir Grebenschikov To: jaco@coocoo.za.net In-Reply-To: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Sun, 26 Jun 2005 22:25:01 +0400 Message-Id: <1119810301.1100.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:25:06 -0000 =F7 =D7=D3, 26/06/2005 =D7 19:59 +0200, jaco@coocoo.za.net =D0=C9=DB=C5=D4: > Hello All, >=20 > I am trying to load a Linux module in Apache 2.0.53, but I am running int= o > some problems. >=20 > I am not sure if this is even possible, but I sure hope so. ;) I guess you have some choices: - (easyest) Install linux apache and run whole beast under linux emulation - (much harder) You can try to mix ABI in single binary (just like win or mplayer does with windows DLLs) but, it is not easy task - write module wrapper for apache, it will consist of two parts - one FreeBSD binary (loaded into bsd apache), another - linux (it part will load your linux apache module). Parts should be connected by some IPC and apache module interface should be exported via this IPC. > This is the scenario: > I have a precompiled linux DSO module for Apache 2. This module loads fin= e > on Linux, but pukes when I try to load it on FreeBSD. >=20 > First of all a question: Is there any special setting that I must change > in order for apache to use be able to see the shared libraries that is in > the linux directectory? This directory is located in /usr/compat/linux/. >=20 > The module is branded as Linux. >=20 > When I try to load the module in Apache it complains about shared > libraries not being found. These libraries exist in /usr/compat/linux/lib > and /usr/compat/linux/usr/lib. They also work for the other linux > applications that I run, ie, they are found. >=20 > I also tried to link the libs in /usr/compat/linux/lib to /usr/lib. I KNO= W > that this can not be the right way to do it, but this sort of worked (no > more shared library not found), but then the module groaned about some > undefined symbols. I think this is because it finds some OTHER module wit= h > the same name as the one it's linked against in linux and then cannot fin= d > the stuff it is looking for. Here is the exact error message: > Syntax error on line 1108 of /usr/local/etc/apache2/httpd.conf: > Cannot load /usr/local/libexec/apache2/mod_V2_mgrequest94.so into server: > /usr/local/libexec/apache2/mod_V2_mgrequest94.so: Undefined symbol > "__gxx_personality_v0" >=20 > Here is the output of ldd: > root@disco-bear# ldd /usr/local/libexec/apache2/mod_V2_mgrequest94.so > /usr/local/libexec/apache2/mod_V2_mgrequest94.so: > libpthread.so.0 =3D> /usr/local/lib/libpthread.so.0 (0x281b3000) > libstdc++.so.3 =3D> /usr/lib/compat/libstdc++.so.3 (0x28204000) > libm.so.6 =3D> /usr/local/lib/libm.so.6 (0x28249000) > libgcc_s.so.1 =3D> /usr/local/lib/libgcc_s.so.1 (0x2826a000) > libc.so.6 =3D> /usr/local/lib/libc.so.6 (0x28272000) > ld-linux.so.2 (0x2839d000) > libm.so.2 =3D> /usr/lib/compat/libm.so.2 (0x283b0000) >=20 > (some of these are symlinked to /usr/compat/linux/lib) >=20 > Is there anything special that I must do to be able to load this module i= n > Apache? >=20 > OS: FreeBSD 5.4-RELEASE > Apache: 2.0.53 > Linux Base: Redhat 7.2 >=20 > Thank you in advance for your help. > ---Jaco > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:28:48 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 920E616A41F for ; Sun, 26 Jun 2005 18:28:48 +0000 (GMT) (envelope-from shild@sbcglobal.net) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 21B8B43D49 for ; Sun, 26 Jun 2005 18:28:47 +0000 (GMT) (envelope-from shild@sbcglobal.net) Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id j5QISkmp018339 for ; Sun, 26 Jun 2005 14:28:47 -0400 X-ORBL: [69.219.184.75] Received: from fbsd1.dyndns.org (ppp-69-219-184-75.dsl.chcgil.ameritech.net [69.219.184.75]) by pimout1-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id j5QISeS5129068; Sun, 26 Jun 2005 14:28:45 -0400 Received: from fbsd1.dyndns.org (localhost.dyndns.org [127.0.0.1]) by fbsd1.dyndns.org (8.13.3/8.13.3) with ESMTP id j5QIRNw3029681; Sun, 26 Jun 2005 13:27:24 -0500 (CDT) (envelope-from shild@sbcglobal.net) Received: (from shildret@localhost) by fbsd1.dyndns.org (8.13.3/8.13.1/Submit) id j5QIRMIW029674; Sun, 26 Jun 2005 13:27:22 -0500 (CDT) (envelope-from shild@sbcglobal.net) X-Authentication-Warning: fbsd1.dyndns.org: shildret set sender to shild@sbcglobal.net using -f From: "Scott T. Hildreth" To: jaco@coocoo.za.net In-Reply-To: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 26 Jun 2005 13:27:21 -0500 Message-Id: <1119810441.879.61.camel@fbsd1.dyndns.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Cc: freebsd-emulation@freebsd.org Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:28:48 -0000 As far as I know, you need linux apache binary in order for this to work. DSO is a shared library not an executable that can be branded as linux. You can compile Apache2 under the linux emu env or find an rpm. Then run the linux httpd. On Sun, 2005-06-26 at 19:59 +0200, jaco@coocoo.za.net wrote: > Hello All, > > I am trying to load a Linux module in Apache 2.0.53, but I am running into > some problems. > > I am not sure if this is even possible, but I sure hope so. ;) > > This is the scenario: > I have a precompiled linux DSO module for Apache 2. This module loads fine > on Linux, but pukes when I try to load it on FreeBSD. > > First of all a question: Is there any special setting that I must change > in order for apache to use be able to see the shared libraries that is in > the linux directectory? This directory is located in /usr/compat/linux/. > > The module is branded as Linux. > > When I try to load the module in Apache it complains about shared > libraries not being found. These libraries exist in /usr/compat/linux/lib > and /usr/compat/linux/usr/lib. They also work for the other linux > applications that I run, ie, they are found. > > I also tried to link the libs in /usr/compat/linux/lib to /usr/lib. I KNOW > that this can not be the right way to do it, but this sort of worked (no > more shared library not found), but then the module groaned about some > undefined symbols. I think this is because it finds some OTHER module with > the same name as the one it's linked against in linux and then cannot find > the stuff it is looking for. Here is the exact error message: > Syntax error on line 1108 of /usr/local/etc/apache2/httpd.conf: > Cannot load /usr/local/libexec/apache2/mod_V2_mgrequest94.so into server: > /usr/local/libexec/apache2/mod_V2_mgrequest94.so: Undefined symbol > "__gxx_personality_v0" > > Here is the output of ldd: > root@disco-bear# ldd /usr/local/libexec/apache2/mod_V2_mgrequest94.so > /usr/local/libexec/apache2/mod_V2_mgrequest94.so: > libpthread.so.0 => /usr/local/lib/libpthread.so.0 (0x281b3000) > libstdc++.so.3 => /usr/lib/compat/libstdc++.so.3 (0x28204000) > libm.so.6 => /usr/local/lib/libm.so.6 (0x28249000) > libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x2826a000) > libc.so.6 => /usr/local/lib/libc.so.6 (0x28272000) > ld-linux.so.2 (0x2839d000) > libm.so.2 => /usr/lib/compat/libm.so.2 (0x283b0000) > > (some of these are symlinked to /usr/compat/linux/lib) > > Is there anything special that I must do to be able to load this module in > Apache? > > OS: FreeBSD 5.4-RELEASE > Apache: 2.0.53 > Linux Base: Redhat 7.2 > > Thank you in advance for your help. > ---Jaco > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org" -- Scott T. Hildreth From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:36:59 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AA2916A41C for ; Sun, 26 Jun 2005 18:36:59 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: from riot.premsoft.co.za (mail.accountmate.co.za [196.38.54.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id D462143D49 for ; Sun, 26 Jun 2005 18:36:57 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: (qmail 86711 invoked by uid 1003); 26 Jun 2005 18:31:19 -0000 Received: from jaco@coocoo.za.net by riot.premsoft.co.za by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 16.717369 secs); 26 Jun 2005 18:31:19 -0000 Received: from localhost (HELO webmail.premsoft.co.za) (127.0.0.1) by localhost with SMTP; 26 Jun 2005 18:31:01 -0000 Received: from 196.37.144.98 (SquirrelMail authenticated user jaco@coocoo.za.net) by webmail.premsoft.co.za with HTTP; Sun, 26 Jun 2005 20:31:01 +0200 (SAST) Message-ID: <3028.196.37.144.98.1119810661.squirrel@webmail.premsoft.co.za> In-Reply-To: <1119810441.879.61.camel@fbsd1.dyndns.org> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> <1119810441.879.61.camel@fbsd1.dyndns.org> Date: Sun, 26 Jun 2005 20:31:01 +0200 (SAST) From: jaco@coocoo.za.net To: "Scott T. Hildreth" User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Cc: freebsd-emulation@freebsd.org, jaco@coocoo.za.net Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:36:59 -0000 > As far as I know, you need linux apache binary in order for this to > work. DSO is a shared library not an executable that can be branded > as linux. You can compile Apache2 under the linux emu env or find > an rpm. Then run the linux httpd. > Scott, Thanks for the reply. I just received another mail saying *almost* the same as this one. :P I would do this, but, I am just afraid that it might have a big performance impact on Apache. I will do a couple of benchmarks, but I will twist the providers arm first to make a FreeBSD version available. ;) Thanks for the info. ---Jaco > > On Sun, 2005-06-26 at 19:59 +0200, jaco@coocoo.za.net wrote: >> Hello All, >> >> I am trying to load a Linux module in Apache 2.0.53, but I am running >> into >> some problems. >> [...] From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:42:50 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C771716A41C for ; Sun, 26 Jun 2005 18:42:50 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: from riot.premsoft.co.za (mail.accountmate.co.za [196.38.54.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F4DB43D48 for ; Sun, 26 Jun 2005 18:42:48 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: (qmail 86841 invoked by uid 1003); 26 Jun 2005 18:37:18 -0000 Received: from jaco@coocoo.za.net by riot.premsoft.co.za by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 11.3933 secs); 26 Jun 2005 18:37:18 -0000 Received: from localhost (HELO webmail.premsoft.co.za) (127.0.0.1) by localhost with SMTP; 26 Jun 2005 18:37:06 -0000 Received: from 196.37.144.98 (SquirrelMail authenticated user jaco@coocoo.za.net) by webmail.premsoft.co.za with HTTP; Sun, 26 Jun 2005 20:37:06 +0200 (SAST) Message-ID: <3036.196.37.144.98.1119811026.squirrel@webmail.premsoft.co.za> In-Reply-To: <1119810301.1100.5.camel@localhost> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> <1119810301.1100.5.camel@localhost> Date: Sun, 26 Jun 2005 20:37:06 +0200 (SAST) From: jaco@coocoo.za.net To: vova@fbsd.ru User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Cc: freebsd-emulation@freebsd.org, jaco@coocoo.za.net Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:42:50 -0000 Hello Vladimir, > , 26/06/2005 19:59 +0200, jaco@coocoo.za.net : >> Hello All, >> >> I am trying to load a Linux module in Apache 2.0.53, but I am running >> into >> some problems. >> >> I am not sure if this is even possible, but I sure hope so. ;) > > I guess you have some choices: > > - (easyest) Install linux apache and run whole beast under linux > emulation > - (much harder) You can try to mix ABI in single binary (just like win > or mplayer does with windows DLLs) but, it is not easy task > - write module wrapper for apache, it will consist of two parts - one > FreeBSD binary (loaded into bsd apache), another - linux (it part will > load your linux apache module). Parts should be connected by some IPC > and apache module interface should be exported via this IPC. > [...] Thanks for your reply. Seems that I really do have a couple of choices. :) 1. This seems like the easyest route. I am just a bit worried about performance here... I will do a couple of benchmarks though. 2. This will mean that I will have to change source code in either the module or apache. I think this is going to be really hard. :P Is my understanding of this correct? (I do not have source for the module) 3. This also sounds like a good option. But, I think this is also going to be a bit complicated in the end. I will do some tests on my side. At least I now know this is not possible the way I wanted to do it. Thanks! ---Jaco From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 18:59:04 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 374DE16A41C for ; Sun, 26 Jun 2005 18:59:04 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vbook.fbsd.ru (swsoft-mipt-nat.sw.ru [195.214.233.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE1F543D1F for ; Sun, 26 Jun 2005 18:59:03 +0000 (GMT) (envelope-from vova@vbook.fbsd.ru) Received: from vova by vbook.fbsd.ru with local (Exim 4.51 (FreeBSD)) id 1DmcLO-0000f1-Tg; Sun, 26 Jun 2005 22:59:02 +0400 From: Vladimir Grebenschikov To: jaco@coocoo.za.net In-Reply-To: <3036.196.37.144.98.1119811026.squirrel@webmail.premsoft.co.za> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> <1119810301.1100.5.camel@localhost> <3036.196.37.144.98.1119811026.squirrel@webmail.premsoft.co.za> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Organization: SWsoft Date: Sun, 26 Jun 2005 22:59:02 +0400 Message-Id: <1119812342.1100.12.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-emulation@freebsd.org Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 18:59:04 -0000 =D0=92 =D0=B2=D1=81, 26/06/2005 =D0=B2 20:37 +0200, jaco@coocoo.za.net =D0= =BF=D0=B8=D1=88=D0=B5=D1=82: > Hello Vladimir, >=20 > > =C3=B7 =C3=97=C3=93, 26/06/2005 =C3=97 19:59 +0200, jaco@coocoo.za.net = =C3=90=C3=89=C3=9B=C3=85=C3=94: > >> Hello All, > >> > >> I am trying to load a Linux module in Apache 2.0.53, but I am running > >> into > >> some problems. > >> > >> I am not sure if this is even possible, but I sure hope so. ;) > > > > I guess you have some choices: > > > > - (easyest) Install linux apache and run whole beast under linux > > emulation > > - (much harder) You can try to mix ABI in single binary (just like win > > or mplayer does with windows DLLs) but, it is not easy task > > - write module wrapper for apache, it will consist of two parts - one > > FreeBSD binary (loaded into bsd apache), another - linux (it part will > > load your linux apache module). Parts should be connected by some IPC > > and apache module interface should be exported via this IPC. > > [...] >=20 > Thanks for your reply. >=20 > Seems that I really do have a couple of choices. :) >=20 > 1. This seems like the easyest route. I am just a bit worried about > performance here... I will do a couple of benchmarks though. I do not think that you will get significant performance degradation, but I think, you can resolve some performance issues building linux apache under linux gcc using FreeBSD IPC syscalls. Theoretically bot linux and freebsd apaches should run with same speed at the end, but, of course there should be some practice issues. > 2. This will mean that I will have to change source code in either the > module or apache. I think this is going to be really hard. :P Is my > understanding of this correct? (I do not have source for the module) I understand that you have no sources, and In order to get all this work you can do a lot of linking/wrapping magic.=20 But you should understand what you going to get. > 3. This also sounds like a good option. But, I think this is also going t= o > be a bit complicated in the end. Probably yes, also, I guess it will affect performance much worse then option 1. > I will do some tests on my side. At least I now know this is not possible > the way I wanted to do it. >=20 > Thanks! > ---Jaco --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-emulation@FreeBSD.ORG Sun Jun 26 19:20:10 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5019116A41C for ; Sun, 26 Jun 2005 19:20:10 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: from riot.premsoft.co.za (mail.accountmate.co.za [196.38.54.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30E5E43D4C for ; Sun, 26 Jun 2005 19:20:04 +0000 (GMT) (envelope-from jaco@coocoo.za.net) Received: (qmail 87133 invoked by uid 1003); 26 Jun 2005 19:14:31 -0000 Received: from jaco@coocoo.za.net by riot.premsoft.co.za by uid 89 with qmail-scanner-1.22 (clamscan: 0.65. spamassassin: 2.63. Clear:RC:1(127.0.0.1):. Processed in 11.682101 secs); 26 Jun 2005 19:14:31 -0000 Received: from localhost (HELO webmail.premsoft.co.za) (127.0.0.1) by localhost with SMTP; 26 Jun 2005 19:14:19 -0000 Received: from 196.37.144.98 (SquirrelMail authenticated user jaco@coocoo.za.net) by webmail.premsoft.co.za with HTTP; Sun, 26 Jun 2005 21:14:19 +0200 (SAST) Message-ID: <3106.196.37.144.98.1119813259.squirrel@webmail.premsoft.co.za> In-Reply-To: <1119812342.1100.12.camel@localhost> References: <2943.196.37.144.98.1119808764.squirrel@webmail.premsoft.co.za> <1119810301.1100.5.camel@localhost> <3036.196.37.144.98.1119811026.squirrel@webmail.premsoft.co.za> <1119812342.1100.12.camel@localhost> Date: Sun, 26 Jun 2005 21:14:19 +0200 (SAST) From: jaco@coocoo.za.net To: vova@fbsd.ru User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Cc: freebsd-emulation@freebsd.org, jaco@coocoo.za.net Subject: Re: [Linux] Loading Linux modules in Apache? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 19:20:10 -0000 > В вс, 26/06/2005 в 20:37 +0200, jaco@coocoo.za.net пишет: >> Hello Vladimir, >> >> > ÷ ×Ó, 26/06/2005 × 19:59 +0200, jaco@coocoo.za.net ÐÉÛÅÔ: >> >> Hello All, >> >> >> >> I am trying to load a Linux module in Apache 2.0.53, but I am running >> >> into >> >> some problems. >> >> >> >> I am not sure if this is even possible, but I sure hope so. ;) >> > >> > I guess you have some choices: >> > >> > - (easyest) Install linux apache and run whole beast under linux >> > emulation >> > - (much harder) You can try to mix ABI in single binary (just like win >> > or mplayer does with windows DLLs) but, it is not easy task >> > - write module wrapper for apache, it will consist of two parts - one >> > FreeBSD binary (loaded into bsd apache), another - linux (it part >> will >> > load your linux apache module). Parts should be connected by some IPC >> > and apache module interface should be exported via this IPC. >> > [...] >> >> Thanks for your reply. >> >> Seems that I really do have a couple of choices. :) >> >> 1. This seems like the easyest route. I am just a bit worried about >> performance here... I will do a couple of benchmarks though. > > I do not think that you will get significant performance degradation, > but > I think, you can resolve some performance issues building linux apache > under linux gcc using FreeBSD IPC syscalls. Let me try this and get back to you... > > Theoretically bot linux and freebsd apaches should run with same speed > at the end, but, of course there should be some practice issues. > >> 2. This will mean that I will have to change source code in either the >> module or apache. I think this is going to be really hard. :P Is my >> understanding of this correct? (I do not have source for the module) > > I understand that you have no sources, and In order to get all this work > you can do a lot of linking/wrapping magic. > But you should understand what you going to get. I will take the easy way out this time. :) > >> 3. This also sounds like a good option. But, I think this is also going >> to >> be a bit complicated in the end. > > Probably yes, also, I guess it will affect performance much worse then > option 1. I agree. > >> I will do some tests on my side. At least I now know this is not >> possible >> the way I wanted to do it. >> >> Thanks! >> ---Jaco > > -- > Vladimir B. Grebenschikov > vova@fbsd.ru > ---Jaco From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 27 11:01:40 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4F7C16A41C for ; Mon, 27 Jun 2005 11:01:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 771AA43D1F for ; Mon, 27 Jun 2005 11:01:40 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5RB1e1w042897 for ; Mon, 27 Jun 2005 11:01:40 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5RB1dKv042891 for emulation@freebsd.org; Mon, 27 Jun 2005 11:01:39 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Jun 2005 11:01:39 GMT Message-Id: <200506271101.j5RB1dKv042891@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 11:01:40 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i p [2002/04/16] kern/37161 emulation ext2 linux file system, error handling la o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] i386/77710 emulation Linux page fault sigcontext information i o [2005/05/05] ports/80679 emulation emulators/linux_base-8: Use ${MACHINE_ARC o [2005/05/09] ports/80837 emulation x11-toolkits/linux-gtk: cannot install by o [2005/05/12] ports/80926 emulation running $PREFIX/etc/rc.d/vmware.sh return o [2005/06/06] kern/81951 emulation [patch] linux emulation: getpriority() re 13 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal o [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE o [2004/10/20] kern/72920 emulation linux emulation : path "prefixing" is not o [2004/10/26] kern/73165 emulation [patch] getting rid of COMPAT_43 dependan o [2004/11/10] kern/73777 emulation [patch] linux emulation: root dir special o [2005/03/19] ports/79009 emulation [patch] Some linux ports are incorrectly o [2005/04/07] ports/79655 emulation linux_base-8 fails to install as non-root 15 problems total. From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 1 10:36:18 2005 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72AA816A41C; Fri, 1 Jul 2005 10:36:18 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFCEB43D1F; Fri, 1 Jul 2005 10:36:17 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 6979DDC1C3; Fri, 1 Jul 2005 12:36:16 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 4DF3FB156B; Fri, 1 Jul 2005 12:36:16 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id 28B77B131E; Fri, 1 Jul 2005 12:36:16 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 187CBDC1C3; Fri, 1 Jul 2005 12:36:16 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j61AaFea007450; Fri, 1 Jul 2005 12:36:15 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j61AaFdU001604; Fri, 1 Jul 2005 12:36:15 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.3) with ESMTP id j61AaFQa003854; Fri, 1 Jul 2005 12:36:15 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.3/Submit) id j61AaF6q003853; Fri, 1 Jul 2005 12:36:15 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Date: Fri, 1 Jul 2005 12:36:15 +0200 From: Ulrich Spoerlein To: emulation@FreeBSD.org Message-ID: <20050701103615.GA889@galgenberg.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline User-Agent: mutt-ng devel (FreeBSD) X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: anholt@FreeBSD.org Subject: r300 and linux-quake3 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 10:36:18 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, I'm wondering, what's necessary to get the linux-binary of Quake3 running under FreeBSD with the development DRM and R300 drivers. I installed graphics/linux_dri, but it looks like an old version (XFree86 4.3.0) and glxinfo is linked to missing libraries % /compat/linux/usr/X11R6/bin/glxinfo /compat/linux/usr/X11R6/bin/glxinfo: error while loading shared libraries: = libstdc++-libc6.1-2.so.3: cannot open shared object file: No such file or d= irectory linux_glx is for XFree 3.3 and linux_mesa3 doesn't help either. Any hints? Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCxRyfmArGtfDbn0QRArnoAJ4n6bv24NlQa5k9LTfJeyN7t8nwSwCg6834 zscY5UsksGN5vd6BGf8wn2g= =dlJh -----END PGP SIGNATURE----- --DocE+STaALJfprDB-- From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 1 20:01:55 2005 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2024B16A41F for ; Fri, 1 Jul 2005 20:01:55 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from leguin.anholt.net (69-30-77-85.dq1sn.easystreet.com [69.30.77.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5572143D49 for ; Fri, 1 Jul 2005 20:01:53 +0000 (GMT) (envelope-from anholt@FreeBSD.org) Received: from leguin.anholt.net (localhost [127.0.0.1]) by leguin.anholt.net (8.13.4/8.13.1) with ESMTP id j61K1hRC007595; Fri, 1 Jul 2005 13:01:45 -0700 (PDT) (envelope-from anholt@FreeBSD.org) Received: (from anholt@localhost) by leguin.anholt.net (8.13.4/8.13.1/Submit) id j61K1aGI007594; Fri, 1 Jul 2005 13:01:36 -0700 (PDT) (envelope-from anholt@FreeBSD.org) X-Authentication-Warning: leguin.anholt.net: anholt set sender to anholt@FreeBSD.org using -f From: Eric Anholt To: Ulrich Spoerlein In-Reply-To: <20050701103615.GA889@galgenberg.net> References: <20050701103615.GA889@galgenberg.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 01 Jul 2005 13:01:34 -0700 Message-Id: <1120248094.7459.1.camel@leguin> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: emulation@FreeBSD.org Subject: Re: r300 and linux-quake3 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: eta@lclark.edu List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2005 20:01:55 -0000 On Fri, 2005-07-01 at 12:36 +0200, Ulrich Spoerlein wrote: > Hi all, > > I'm wondering, what's necessary to get the linux-binary of Quake3 > running under FreeBSD with the development DRM and R300 drivers. > > I installed graphics/linux_dri, but it looks like an old version > (XFree86 4.3.0) and glxinfo is linked to missing libraries > % /compat/linux/usr/X11R6/bin/glxinfo > /compat/linux/usr/X11R6/bin/glxinfo: error while loading shared libraries: libstdc++-libc6.1-2.so.3: cannot open shared object file: No such file or directory > > linux_glx is for XFree 3.3 and linux_mesa3 doesn't help either. linux_dri has a set of DRI drivers roughly corresponding to the graphics/dri set of drivers (somewhat older, though.) So you'd need to get a linux binary for the r300 driver to begin with, and a matching libGL, and replace glxinfo with one compiled against current linux bits if you care for glxinfo. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Sat Jul 2 21:58:34 2005 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7592016A41C for ; Sat, 2 Jul 2005 21:58:34 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id E54E243D49 for ; Sat, 2 Jul 2005 21:58:33 +0000 (GMT) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from wrzx34.rz.uni-wuerzburg.de (wrzx34.rz.uni-wuerzburg.de [132.187.3.34]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 05BDEDBC06; Sat, 2 Jul 2005 23:58:33 +0200 (CEST) Received: from virusscan (localhost [127.0.0.1]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id D9D31B168F; Sat, 2 Jul 2005 23:58:32 +0200 (CEST) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx34.rz.uni-wuerzburg.de (Postfix) with ESMTP id B85DCB1643; Sat, 2 Jul 2005 23:58:32 +0200 (CEST) Received: from frodo.galgenberg.net (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 0C5FBDBC06; Sat, 2 Jul 2005 23:58:32 +0200 (CEST) Received: from coyote.q.local (gb-21-237.galgenberg.net [172.16.21.237]) by frodo.galgenberg.net (8.13.1/8.13.1) with ESMTP id j62LwVkv093121; Sat, 2 Jul 2005 23:58:31 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.3/8.13.1) with ESMTP id j62LwVuu020620; Sat, 2 Jul 2005 23:58:31 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.4/8.13.3) with ESMTP id j62LwViA072037; Sat, 2 Jul 2005 23:58:31 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Received: (from q@localhost) by roadrunner.q.local (8.13.4/8.13.3/Submit) id j62LwUhF072036; Sat, 2 Jul 2005 23:58:30 +0200 (CEST) (envelope-from spoerlein@informatik.uni-wuerzburg.de) Date: Sat, 2 Jul 2005 23:58:30 +0200 From: Ulrich Spoerlein To: eta@lclark.edu Message-ID: <20050702215830.GA71863@galgenberg.net> References: <20050701103615.GA889@galgenberg.net> <1120248094.7459.1.camel@leguin> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <1120248094.7459.1.camel@leguin> User-Agent: mutt-ng devel (FreeBSD) X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Cc: emulation@FreeBSD.org Subject: Re: r300 and linux-quake3 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 21:58:34 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, 01.07.2005 at 13:01:34 -0700, Eric Anholt wrote: > > I'm wondering, what's necessary to get the linux-binary of Quake3 > > running under FreeBSD with the development DRM and R300 drivers. > linux_dri has a set of DRI drivers roughly corresponding to the > graphics/dri set of drivers (somewhat older, though.) So you'd need to > get a linux binary for the r300 driver to begin with, and a matching > libGL, and replace glxinfo with one compiled against current linux bits > if you care for glxinfo. Do I need RedHat 8.0 for this, or will some newer version do? Sorry, but I'm a bit rusty on the Linux side of things :( I'll see what I can come up with ... Ulrich Spoerlein --=20 PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand? --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCxw4FmArGtfDbn0QRAmaeAKDhXOmK4Z71fNXJcWcB8lHrexIXUACfTsui HZdMZZGJrUJcbEueq4R9jjo= =iLLl -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--