From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 21 20:09:07 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87B4D16A41B for ; Sun, 21 Oct 2007 20:09:07 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 3AE6213C4BB for ; Sun, 21 Oct 2007 20:09:07 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IjNzh-0004Hv-M9 for freebsd-emulation@freebsd.org; Sat, 20 Oct 2007 23:44:37 +0000 Received: from c-71-193-243-110.hsd1.or.comcast.net ([71.193.243.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Oct 2007 23:44:37 +0000 Received: from zephiris by c-71-193-243-110.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Oct 2007 23:44:37 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Sat, 20 Oct 2007 16:44:12 -0700 Lines: 140 Message-ID: References: <66147675@ipt.ru> <98294959@ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-193-243-110.hsd1.or.comcast.net User-Agent: KNode/0.10.5 Sender: news Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 21 Oct 2007 20:09:07 -0000 Boris Samorodov wrote: > Re: Nvidia LibGL and RELENG_7 linuxulator > From: > Boris Samorodov > Date: > Saturday 20 October 2007 09:37:52 am > To: > Zephiris > Groups: > gmane.os.freebsd.devel.emulation > References: 1 2 3 > On Fri, 19 Oct 2007 22:13:56 -0700 Zephiris wrote: >> Boris Samorodov wrote: >> > On Fri, 19 Oct 2007 08:02:48 -0700 Zephiris wrote: >> > >> >> I've been getting a rather strange issue between Nvidia driver and >> >> the linux compatibility. >> > >> >> I've tried this with default Fedora Core 4 libraries, default 2.4 >> >> version emulation, 2.6.16, FC6, F7, and now Gentoo. With older Linux >> >> X11 libraries >> > >> > As of 2.6.16: did you follow instructions from /usr/ports/UPDATING >> > while upgrade to 2.6.16? > >> I just tried it again explicitly following those instructions from the >> start, identical results. > >> >> (eg, those from ports), anything trying to use Nvidia's libGL that >> >> installs into the linux compat area will crash immediately. To get >> >> this >> > >> > Crash... Did you ugrade your system and may be forgot to upgrade the >> > port? Or did you upgrade the OS without reinstalling ports? > >> This was a pretty fresh installation from CURRENT, not a long upgrade >> chain or from 6.x. Everything's up to date. Via ports itself, there's no >> way to get newer X11 libraries than 6.8 itself, correct? > > If you mean linux libraries then yes. > > OK. can you describe in details how do you install ports/options/etc > to populate /compat/linux from scratch? And which options do you use > for nvidia-driver port and other *GL* ports? I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, x11/nvidia-driver (with ACPI and LINUX flags), x11-toolkits/linux-gtk2, then x11-toolkits/linux-gtk. It's enough to test a number of things. > >> ldd glxinfo >> glxinfo: >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > > That is very strange. This library should be at least at > /usr/local/lib directory. Can you show an output of > "pkg_info -W /usr/lib/libGL.so.1"? > That's for a linux glxinfo. >> libc.so.6 => /lib/libc.so.6 (0x28181000) >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282c4000) >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282d3000) >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x283a6000) >> libm.so.6 => /lib/libm.so.6 (0x2848f000) >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x284b7000) >> libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x284c3000) >> libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x28e5b000) >> libdl.so.2 => /lib/libdl.so.2 (0x28e5d000) >> /lib/ld-linux.so.2 (0x2804b000) > > You don't use linux with nvidia... Here is what I have: I thought my point was trying to get accelerated OpenGL with linux binaries as well? > ----- > localhost% ldd `which skype_bin` > /usr/local/bin/skype_bin: > libGL.so.1 => /compat/linux/usr/X11R6/lib/libGL.so.1 (0x28c2d000) > libXmu.so.6 => /compat/linux/usr/X11R6/lib/libXmu.so.6 (0x28c89000) > libXrandr.so.2 => /compat/linux/usr/X11R6/lib/libXrandr.so.2 (0x28ca0000) > libXcursor.so.1 => /compat/linux/usr/X11R6/lib/libXcursor.so.1 > (0x28ca4000) libXft.so.2 => /compat/linux/usr/X11R6/lib/libXft.so.2 > (0x28cae000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x28cc1000) > libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x28d42000) > libSM.so.6 => /compat/linux/usr/X11R6/lib/libSM.so.6 (0x28d6c000) > libICE.so.6 => /compat/linux/usr/X11R6/lib/libICE.so.6 (0x28d75000) > libdl.so.2 => /lib/libdl.so.2 (0x28d8f000) > libXext.so.6 => /compat/linux/usr/X11R6/lib/libXext.so.6 (0x28d93000) > libX11.so.6 => /compat/linux/usr/X11R6/lib/libX11.so.6 (0x28da3000) > libpthread.so.0 => /lib/libpthread.so.0 (0x28e76000) > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28e8c000) > libm.so.6 => /lib/libm.so.6 (0x28f45000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28f6c000) > libc.so.6 => /lib/libc.so.6 (0x28f78000) > libXxf86vm.so.1 => /compat/linux/usr/X11R6/lib/libXxf86vm.so.1 > (0x290bb000) libXdamage.so.1 => > /compat/linux/usr/X11R6/lib/libXdamage.so.1 (0x290c1000) libXfixes.so.3 > => /compat/linux/usr/X11R6/lib/libXfixes.so.3 (0x290c4000) libdrm.so.2 => > /usr/lib/libdrm.so.2 (0x290c9000) libXt.so.6 => > /compat/linux/usr/X11R6/lib/libXt.so.6 (0x290d2000) libXrender.so.1 => > /compat/linux/usr/X11R6/lib/libXrender.so.1 (0x29127000) libexpat.so.0 => > /usr/lib/libexpat.so.0 (0x29130000) libz.so.1 => /usr/lib/libz.so.1 > (0x2914f000) /lib/ld-linux.so.2 (0x28c0a000) > ----- > >> I moved the previous semi-working /compat/linux attempt (gentoo) out of >> the way then reinstalled all of the Linux ports including base, after >> following the instructions. All of the files, layouts, and settings >> appear normal compared to previous attempts, but the result is the same. >> Anything that tries to load libGL crashes immediately after loading it. > > I have a wild guess. If you don't use nvidia-driver with linux support > (i.e. without FreeBSD AGP) please try it. I already am, if the linux flag wasn't set, I imagine it wouldn't be trying to load the Nvidia-specific libraries either. And it wouldn't print out Nvidia diagnostic messages on Gentoo, where it gets further. I forgot, but I wanted to point out a stack trace from the 'pstack' command on the linux glxinfo when run with everything installed via ports. pstack -e glxinfo glxinfo.core pstack: unable to open executable '(object name unreadable)': No such file or directory (core file "glxinfo.core"): glxinfo ----------------- thread -1 (running) ----------------- 0x281a3d42 __ctype_b_loc (f5e616f2, 282da5d5, 282da5c7, 0, 0, 1) + 32 0x282e79b7 _X11TransConnectDisplay (804a4a8, bfbfe9b0, bfbfe9ac, bfbfe9a8, bfbfe9a4, bfbfe99c) + ed 0x282f8963 XOpenDisplay (804a4a8, 1, 0, 804b508, bfbfe9e8, 80488aa) + eb 0x8049adc main (1, bfbfea70, bfbfea78, 280583e2, 0, 284b6c80) + ec 0x28196dec __libc_start_main (80499f0, 1, bfbfea70, 8048880, 8049bcc, 28058d00) + dc From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 02:21:00 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F40516A47C for ; Mon, 22 Oct 2007 02:21:00 +0000 (UTC) (envelope-from mihai.dontu@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id BF64013C4E7 for ; Mon, 22 Oct 2007 02:20:57 +0000 (UTC) (envelope-from mihai.dontu@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so855968nfb for ; Sun, 21 Oct 2007 19:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:organization:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=vk4gF5N2vsmb8Bq2klv+5SHkPLmxYBk/8jCynCSnI/g=; b=MfKM99U9zg0ugX5I9tRtSeAnFt9P++VHwthlpXqxpUr2VwnqsFISvLbusNHIyuQM7eybqvFsmEPPUt1iPBVD1pXwZpmtaR3Ef5f+1M+e5dQy2piQGHE8vpPthlIt5EMgS1uPyD3/b3y9RlXs8MNErktof+KzTB2w0tq+rmK2ty4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:organization:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=qTxh1i5Acyg07nRGNNipmwVulJKqTFRaKv3tHkeLm00sCw+jld6/Cj3sRM4IMbpuh/nYrU2mpmtheif+6D0x2IXIY7dYmNkfNOG5Y7OiR6HOuMnqHTxYVyAir/VlAPRT33JeDDrYkkLmih4AKze3zNXCZIDB3GB+EPkQI9dGklE= Received: by 10.86.60.7 with SMTP id i7mr2059427fga.1193019651969; Sun, 21 Oct 2007 19:20:51 -0700 (PDT) Received: from ?192.168.0.3? ( [77.81.70.38]) by mx.google.com with ESMTPS id g28sm8824464fkg.2007.10.21.19.20.50 (version=SSLv3 cipher=OTHER); Sun, 21 Oct 2007 19:20:51 -0700 (PDT) From: Mihai =?utf-8?q?Don=C8=9Bu?= Organization: Home To: Tijl Coosemans Date: Mon, 22 Oct 2007 05:20:36 +0300 User-Agent: KMail/1.9.7 References: <200710082135.58099.mihai.dontu@gmail.com> <200710090348.52036.mihai.dontu@gmail.com> <200710101533.06287.tijl@ulyssis.org> In-Reply-To: <200710101533.06287.tijl@ulyssis.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200710220520.37085.mihai.dontu@gmail.com> Cc: freebsd-emulation@freebsd.org, freebsd-questions@freebsd.org, Jung-uk Kim Subject: Re: amd64_set_gsbase() 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, 22 Oct 2007 02:21:00 -0000 On Wednesday 10 October 2007, Tijl Coosemans wrote: > > To get back to what you are trying to do, because %gs isn't preserved, > > I think you should avoid writing to it and instead strictly use > > amd64_set_gsbase(). But from what you've written, I'm guessing you're > > already doing this, so the next thing to try is to create threads with > > PTHREAD_SCOPE_SYSTEM or use libthr instead of libpthread, because if > > I'm not mistaken, PTHREAD_SCOPE_PROCESS in libpthread doesn't preserve > > gsbase either. > Anyhoo, I'll try to use 'libthr' and see if this helps. ... and success! Indeed: 'amd64_set_gsbase()' + 'libthr.so' = love. 'libpthread.so' is a no-no :) I'm not out of the woods yet, I still have some crashes, but I suspect that's just bad programming on my side. Thanks, -- Mihai Donțu From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 11:06:59 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C98F16A41A for ; Mon, 22 Oct 2007 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2AE2A13C48A for ; Mon, 22 Oct 2007 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9MB6xcW079908 for ; Mon, 22 Oct 2007 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9MB6wjY079904 for freebsd-emulation@FreeBSD.org; Mon, 22 Oct 2007 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 22 Oct 2007 11:06:58 GMT Message-Id: <200710221106.l9MB6wjY079904@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org 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, 22 Oct 2007 11:06:59 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in o kern/117010 emulation [linuxolator] linux_getdents() get something like buff o ports/117350 emulation compile error in emulators/vmware3 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula 8 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 22 13:02:17 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4025B16A418 for ; Mon, 22 Oct 2007 13:02:17 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from kfs.ru (kfs.kfs.ru [62.183.117.194]) by mx1.freebsd.org (Postfix) with ESMTP id 81B1D13C4A8 for ; Mon, 22 Oct 2007 13:02:16 +0000 (UTC) (envelope-from bsam@kfs.ru) Received: from bsam by kfs.ru with local (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Ijw8c-000DeR-69; Mon, 22 Oct 2007 16:12:06 +0400 To: Zephiris References: <66147675@ipt.ru> <98294959@ipt.ru> From: Boris Samorodov Date: Mon, 22 Oct 2007 16:12:06 +0400 In-Reply-To: (zephiris@gmail.com's message of "Sat, 20 Oct 2007 16:44:12 -0700") Message-ID: <19713641@serv3.int.kfs.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: "Boris B. Samorodov" Cc: freebsd-emulation@freebsd.org Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 22 Oct 2007 13:02:17 -0000 On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > >> >> I've been getting a rather strange issue between Nvidia driver and > >> >> the linux compatibility. > >> > > >> >> I've tried this with default Fedora Core 4 libraries, default 2.4 > >> >> version emulation, 2.6.16, FC6, F7, and now Gentoo. With older Linux > >> >> X11 libraries > >> > > >> > As of 2.6.16: did you follow instructions from /usr/ports/UPDATING > >> > while upgrade to 2.6.16? > > > >> I just tried it again explicitly following those instructions from the > >> start, identical results. > > > >> >> (eg, those from ports), anything trying to use Nvidia's libGL that > >> >> installs into the linux compat area will crash immediately. To get > >> >> this > >> > > >> > Crash... Did you ugrade your system and may be forgot to upgrade the > >> > port? Or did you upgrade the OS without reinstalling ports? > > > >> This was a pretty fresh installation from CURRENT, not a long upgrade > >> chain or from 6.x. Everything's up to date. Via ports itself, there's no > >> way to get newer X11 libraries than 6.8 itself, correct? > > > > If you mean linux libraries then yes. > > > > OK. can you describe in details how do you install ports/options/etc > > to populate /compat/linux from scratch? And which options do you use > > for nvidia-driver port and other *GL* ports? > I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, > x11/nvidia-driver (with ACPI and LINUX flags), x11-toolkits/linux-gtk2, > then x11-toolkits/linux-gtk. It's enough to test a number of things. So far so good. Did you try to use a linux-app here? Acrobat Reader or else? > >> ldd glxinfo > >> glxinfo: > >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) > >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > > > > That is very strange. This library should be at least at > > /usr/local/lib directory. Can you show an output of > > "pkg_info -W /usr/lib/libGL.so.1"? > > > That's for a linux glxinfo. Don't understand you answer. Is it from ports? Or does you installed it by hand? > >> libc.so.6 => /lib/libc.so.6 (0x28181000) > >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x282c4000) > >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x282d3000) > >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x283a6000) > >> libm.so.6 => /lib/libm.so.6 (0x2848f000) > >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x284b7000) > >> libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x284c3000) > >> libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x28e5b000) > >> libdl.so.2 => /lib/libdl.so.2 (0x28e5d000) > >> /lib/ld-linux.so.2 (0x2804b000) > > > > You don't use linux with nvidia... Here is what I have: > I thought my point was trying to get accelerated OpenGL with linux binaries > as well? > > ----- > > localhost% ldd `which skype_bin` > > /usr/local/bin/skype_bin: > > libGL.so.1 => /compat/linux/usr/X11R6/lib/libGL.so.1 (0x28c2d000) > > libXmu.so.6 => /compat/linux/usr/X11R6/lib/libXmu.so.6 (0x28c89000) > > libXrandr.so.2 => /compat/linux/usr/X11R6/lib/libXrandr.so.2 (0x28ca0000) > > libXcursor.so.1 => /compat/linux/usr/X11R6/lib/libXcursor.so.1 > > (0x28ca4000) libXft.so.2 => /compat/linux/usr/X11R6/lib/libXft.so.2 > > (0x28cae000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x28cc1000) > > libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x28d42000) > > libSM.so.6 => /compat/linux/usr/X11R6/lib/libSM.so.6 (0x28d6c000) > > libICE.so.6 => /compat/linux/usr/X11R6/lib/libICE.so.6 (0x28d75000) > > libdl.so.2 => /lib/libdl.so.2 (0x28d8f000) > > libXext.so.6 => /compat/linux/usr/X11R6/lib/libXext.so.6 (0x28d93000) > > libX11.so.6 => /compat/linux/usr/X11R6/lib/libX11.so.6 (0x28da3000) > > libpthread.so.0 => /lib/libpthread.so.0 (0x28e76000) > > libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28e8c000) > > libm.so.6 => /lib/libm.so.6 (0x28f45000) > > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28f6c000) > > libc.so.6 => /lib/libc.so.6 (0x28f78000) > > libXxf86vm.so.1 => /compat/linux/usr/X11R6/lib/libXxf86vm.so.1 > > (0x290bb000) libXdamage.so.1 => > > /compat/linux/usr/X11R6/lib/libXdamage.so.1 (0x290c1000) libXfixes.so.3 > > => /compat/linux/usr/X11R6/lib/libXfixes.so.3 (0x290c4000) libdrm.so.2 => > > /usr/lib/libdrm.so.2 (0x290c9000) libXt.so.6 => > > /compat/linux/usr/X11R6/lib/libXt.so.6 (0x290d2000) libXrender.so.1 => > > /compat/linux/usr/X11R6/lib/libXrender.so.1 (0x29127000) libexpat.so.0 => > > /usr/lib/libexpat.so.0 (0x29130000) libz.so.1 => /usr/lib/libz.so.1 > > (0x2914f000) /lib/ld-linux.so.2 (0x28c0a000) > > ----- > > > >> I moved the previous semi-working /compat/linux attempt (gentoo) out of > >> the way then reinstalled all of the Linux ports including base, after > >> following the instructions. All of the files, layouts, and settings > >> appear normal compared to previous attempts, but the result is the same. > >> Anything that tries to load libGL crashes immediately after loading it. > > > > I have a wild guess. If you don't use nvidia-driver with linux support > > (i.e. without FreeBSD AGP) please try it. > I already am, if the linux flag wasn't set, I imagine it wouldn't be trying > to load the Nvidia-specific libraries either. And it wouldn't print out > Nvidia diagnostic messages on Gentoo, where it gets further. > I forgot, but I wanted to point out a stack trace from the 'pstack' command > on the linux glxinfo when run with everything installed via ports. > pstack -e glxinfo glxinfo.core > pstack: unable to open executable '(object name unreadable)': No such file > or directory > (core file "glxinfo.core"): glxinfo > ----------------- thread -1 (running) ----------------- > 0x281a3d42 __ctype_b_loc (f5e616f2, 282da5d5, 282da5c7, 0, 0, 1) + 32 > 0x282e79b7 _X11TransConnectDisplay (804a4a8, bfbfe9b0, bfbfe9ac, bfbfe9a8, > bfbfe9a4, bfbfe99c) + ed > 0x282f8963 XOpenDisplay (804a4a8, 1, 0, 804b508, bfbfe9e8, 80488aa) + eb > 0x8049adc main (1, bfbfea70, bfbfea78, 280583e2, 0, 284b6c80) + ec > 0x28196dec __libc_start_main (80499f0, 1, bfbfea70, 8048880, 8049bcc, > 28058d00) + dc PS. I'm returning back from a business trip and won't be avalable for some two-three days. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 17:36:41 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D093016A419 for ; Wed, 24 Oct 2007 17:36:41 +0000 (UTC) (envelope-from jen.parga@hotmail.com) Received: from zoc.com.ua (zoc.com.ua [82.144.212.13]) by mx1.freebsd.org (Postfix) with ESMTP id 988C113C465 for ; Wed, 24 Oct 2007 17:36:41 +0000 (UTC) (envelope-from jen.parga@hotmail.com) Received: from [192.168.0.22] (unknown [192.168.0.22]) by zoc.com.ua (Postfix) with ESMTP id C60B02F6C38 for ; Wed, 24 Oct 2007 18:37:39 +0300 (EEST) From: Kyryll A Mirnenko aka Mirya Organization: none To: freebsd-emulation@freebsd.org Date: Wed, 24 Oct 2007 18:36:49 +0300 User-Agent: KMail/1.9.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710241836.51557.jen.parga@hotmail.com> X-Mailman-Approved-At: Wed, 24 Oct 2007 17:42:22 +0000 Subject: FreeBSD7.0 + linuxolator2.6 + linux-sun-jdk-1.6.0_03 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: Wed, 24 Oct 2007 17:36:41 -0000 I know it's not stable yet enough, but there's a nice desktop test case for it: install java/linux-sun-jdk16, run SwingSet2 demo (java -jar /usr/local/linux-sun-jdk1.6.0/demo/jfc/SwingSet2/SwingSet2.jar), what I have: $ uname -a FreeBSD miryanote 7.0-BETA1 FreeBSD 7.0-BETA1 #1: Wed Oct 24 00:22:59 EEST 2007 root@miryanote:/usr/obj/usr/src/sys/MY-LITE i386 1) with emulators/linux_base-fc4 + compat.linux.osrelease=2.4.2 is works perfectly 2) with compat.linux.osrelease=2.6.19 it coredumps and hangs up in an infinite loop (eating up CPU) for any of emulators/linux_base-fc4 and emulators/linux_base-fc7 installed Hope it will help improving 2.6 support From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 17:45:59 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC55016A419 for ; Wed, 24 Oct 2007 17:45:59 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 713C113C4A3 for ; Wed, 24 Oct 2007 17:45:59 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 204AF66967B; Wed, 24 Oct 2007 19:45:43 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NU391VuKbRYF; Wed, 24 Oct 2007 19:45:42 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 1BC99669669; Wed, 24 Oct 2007 19:45:42 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l9OHjfik079687; Wed, 24 Oct 2007 19:45:41 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 24 Oct 2007 19:45:41 +0200 From: Roman Divacky To: Kyryll A Mirnenko aka Mirya Message-ID: <20071024174541.GA79623@freebsd.org> References: <200710241836.51557.jen.parga@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200710241836.51557.jen.parga@hotmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: FreeBSD7.0 + linuxolator2.6 + linux-sun-jdk-1.6.0_03 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: Wed, 24 Oct 2007 17:45:59 -0000 On Wed, Oct 24, 2007 at 06:36:49PM +0300, Kyryll A Mirnenko aka Mirya wrote: > I know it's not stable yet enough, but there's a nice desktop test case for > it: > install java/linux-sun-jdk16, run SwingSet2 demo > (java -jar /usr/local/linux-sun-jdk1.6.0/demo/jfc/SwingSet2/SwingSet2.jar), > > what I have: > > $ uname -a > FreeBSD miryanote 7.0-BETA1 FreeBSD 7.0-BETA1 #1: Wed Oct 24 00:22:59 EEST > 2007 root@miryanote:/usr/obj/usr/src/sys/MY-LITE i386 > > 1) with emulators/linux_base-fc4 + compat.linux.osrelease=2.4.2 is works > perfectly > 2) with compat.linux.osrelease=2.6.19 it coredumps and hangs up in an infinite > loop (eating up CPU) for any of emulators/linux_base-fc4 and > emulators/linux_base-fc7 installed I'll try to look into this but I dont have much time these days so if you could ktrace it and see on what its looping I'd be glad... thnx, roman From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 18:37:40 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C16A316A420; Wed, 24 Oct 2007 18:37:40 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from farris.bafirst.com (adsl-074-165-190-154.sip.jan.bellsouth.net [74.165.190.154]) by mx1.freebsd.org (Postfix) with ESMTP id 71F6213C4B5; Wed, 24 Oct 2007 18:37:40 +0000 (UTC) (envelope-from eculp@encontacto.net) Received: from HOME.encontacto.net ([189.129.12.64]) by farris.bafirst.com with esmtp; Wed, 24 Oct 2007 13:26:56 -0500 id 0006D420.471F8E71.00010325 Received: from localhost (localhost [127.0.0.1]) (uid 80) by HOME.encontacto.net with local; Wed, 24 Oct 2007 13:26:56 -0500 id 0004AC24.471F8E70.00005192 Received: from dsl-189-129-12-64.prod-infinitum.com.mx (dsl-189-129-12-64.prod-infinitum.com.mx [189.129.12.64]) by intranet.encontacto.net (Horde MIME library) with HTTP; Wed, 24 Oct 2007 13:26:56 -0500 Message-ID: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> X-Priority: 3 (Normal) Date: Wed, 24 Oct 2007 13:26:56 -0500 From: eculp@encontacto.net To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-cvs) Cc: freebsd-ports Subject: Which "linux emulation" works with which programs or the inverse? 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: Wed, 24 Oct 2007 18:37:40 -0000 I'm totally confused. I was simply trying to get flash 9 or 7 working =20 in RELENG7 with which ever version of linux emulation and have been =20 totally unsuccessful. In this I have been reading several other folks =20 where in fc4 something works and in fc7 it doesn't (Java, IIRC) and =20 the "scandalous status of linux-flashplugin9" thread, Sam Fourman Jr., =20 is able to get flash working in firefox with gnash that completely =20 crashes my installation. The last couple of days I have tried to vary =20 the version of linux emulation and test both flash 7 & 9 and gnash in =20 fc4, fc6 and f7 but only using 2.4.2 and 2.6.16 although the Java =20 issue talks of 2.6.19. How are these versions derived? Is there any =20 up to date general information about linux emulation on freebsd and a =20 few examples for configuration? The strange part of all this is that gnash crashes all, flash 7 just =20 shows a gray screen on all and flash 9 actually has a play button that =20 looks like it is going to work and then goes to the gray screen and =20 plays the sound but without video. Any suggestions as to where to find information on the different =20 combinations of emulation and how and why would be great as would a =20 working flash player like gnash is designed to be. Thanks, ed P.S. Why not ;) Is there any hope in all this for GoogleEarth? =20 Probably a very silly question. From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 19:15:53 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F104216A418 for ; Wed, 24 Oct 2007 19:15:53 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 83ED513C4A3 for ; Wed, 24 Oct 2007 19:15:53 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so258408nfb for ; Wed, 24 Oct 2007 12:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=6gd6U/SCA2ID7RR1RL1O+GgktX7u3H3LpqTYTKGPqjc=; b=fzhwZzS3j+2KFk1ZAbInBKUyTws6cvMI5skswjnZObTF056RVfGxUd109w1unIjDlfM7qYLC/dAt/a953Wyl9HiMrnnEyv5QwQjeeb9/YDP0yZDbKc5rTjIiZPFlxSCMO/a9EsHXcHXvnpq68HVwxYDhIcZCGJsQHEyIs52S07c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:organization:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=MV1TtwYokxTcveCqxjAeB+7ANd+cqYTO32QQ+rstYiwc7HtIUFM9PJ3FE2jqkiUgz92JAf4GeWyvdroUu+WVAqqhruSKv9PfEs7Rj1J8V7iyAftzrrmAjEw3+py0GnCgylhaEk3G4OH5OuP62HbSkP+x89otkQnncjHIsmyX/iA= Received: by 10.86.50.8 with SMTP id x8mr665291fgx.1193251670810; Wed, 24 Oct 2007 11:47:50 -0700 (PDT) Received: from ?10.0.100.2? ( [89.176.79.57]) by mx.google.com with ESMTPS id a37sm2028664fkc.2007.10.24.11.47.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 11:47:49 -0700 (PDT) From: Michal Varga To: eculp@encontacto.net In-Reply-To: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> Content-Type: text/plain Organization: Stonehenge Date: Wed, 24 Oct 2007 20:47:46 +0200 Message-Id: <1193251666.981.67.camel@xenon.stonehenge.sk> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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: Wed, 24 Oct 2007 19:15:54 -0000 On Wed, 2007-10-24 at 13:26 -0500, eculp@encontacto.net wrote: > > P.S. Why not ;) Is there any hope in all this for GoogleEarth? > Probably a very silly question. > Not sure if I understand your question, but I see GoogleEarth running perfectly here: Google Earth 4.2.0198.2451 (beta) Build Date Sep 12 2007 Build Time 15:27:15 Renderer OpenGL Operating System Linux (2.4.2.0) Video Driver NVIDIA Corporation Max Texture Size 4096x4096 Server kh.google.com FreeBSD 7.0-BETA1 FreeBSD 7.0-BETA1 #0: Sun Oct 21 15:44:29 CEST 2007 compat.linux.osrelease: 2.4.2 m. From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 20:15:35 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAD2716A421 for ; Wed, 24 Oct 2007 20:15:35 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3828013C494 for ; Wed, 24 Oct 2007 20:15:34 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so272599nfb for ; Wed, 24 Oct 2007 13:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=IGDvYWr44fE7ByZ2rkZtmVBJvjNBGf+tTDqZNVxCEJs=; b=ab/0vVl2fW77dBnbV85ZB5eczFS3C5QxHfkSY+75QTosMKh/7j9Y8aLLvDnuOdXI/NgFfbAOC6h84L6oYZHRuU346xHNokNrTTgIMwgSJnpc45p2j1TACfIp9lunKfaXv58v4AFluWboFE/hVcq03yJfmireq87D0MmE/0V4+iA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V7Jga1eN90HC4Enqlpb1z7i5QpOLsGA1bDYrfxTspMu4/COyBvrHWmxQfKoLoKy2PEibd+3Z1K5HnLVshI2HaA4qVN5yFga1mmGCg2G8lg2j/Lh5F2eF2/lJcNmD1HPy5L0dsPsyeGBugeyHd7TWuNk4pvCqCzsELr0ERVKi5k0= Received: by 10.86.33.10 with SMTP id g10mr746867fgg.1193256923561; Wed, 24 Oct 2007 13:15:23 -0700 (PDT) Received: by 10.86.91.5 with HTTP; Wed, 24 Oct 2007 13:15:23 -0700 (PDT) Message-ID: <11167f520710241315n6d478908u1b35b0117a0184f7@mail.gmail.com> Date: Wed, 24 Oct 2007 15:15:23 -0500 From: "Sam Fourman Jr." To: "eculp@encontacto.net" In-Reply-To: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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: Wed, 24 Oct 2007 20:15:35 -0000 On 10/24/07, eculp@encontacto.net wrote: > I'm totally confused. I was simply trying to get flash 9 or 7 working > in RELENG7 with which ever version of linux emulation and have been > totally unsuccessful. In this I have been reading several other folks > where in fc4 something works and in fc7 it doesn't (Java, IIRC) and > the "scandalous status of linux-flashplugin9" thread, Sam Fourman Jr., > is able to get flash working in firefox with gnash that completely > crashes my installation. Maybe you are confused, I have never got flash 9 working in any stable fashion. I would love to be able to use it, I believe I made a reference, to how many computers I could test flash9 on if someone was able to come up with a patch to get it to run stable. Sam Fourman Jr. From owner-freebsd-emulation@FreeBSD.ORG Wed Oct 24 23:15:29 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 307A316A41A for ; Wed, 24 Oct 2007 23:15:29 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.238]) by mx1.freebsd.org (Postfix) with ESMTP id D8B2413C481 for ; Wed, 24 Oct 2007 23:15:28 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: by wx-out-0506.google.com with SMTP id i29so302535wxd for ; Wed, 24 Oct 2007 16:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=/r6GcE/jGJmFk/isOlmoSTOLwXtNtTgJcY6Q09buVfE=; b=Iz4eQWBbpzERuABBHoalb5uWV8t3dAtFPp5XZ2bABD4X5VhT673BAnZm9iHcqCWR4G5J5W546q7Ps7kX2myqWqI8LGVUnR3LURVUlFc+vJwPqcK91gHEvJBIDui8zkx2YUSOX8v32vchn7qYH7PZTCvOa2G5UyQ8W/lpJ9umlAs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:reply-to:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=EP5vnMgxdGsN0MmldF2T/GUCf+9pUtGNd6JjslzyxNl9+tAFygENw5iw+hwwjqvHA6lBHs7/f85nLU2SM3aLHj2hO7BMySa+lS2Z+WfN66yIeZplB8N1DoWCEopc5ggmiqCLF1Qe8wesKc5Lm6YIR7h3RepgA3Px8zeA23O48dU= Received: by 10.90.90.3 with SMTP id n3mr913130agb.1193266278355; Wed, 24 Oct 2007 15:51:18 -0700 (PDT) Received: from ?172.16.10.104? ( [64.106.73.251]) by mx.google.com with ESMTPS id a13sm403713rof.2007.10.24.15.51.15 (version=SSLv3 cipher=RC4-MD5); Wed, 24 Oct 2007 15:51:16 -0700 (PDT) From: james To: "Sam Fourman Jr." In-Reply-To: <11167f520710241315n6d478908u1b35b0117a0184f7@mail.gmail.com> References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> <11167f520710241315n6d478908u1b35b0117a0184f7@mail.gmail.com> Content-Type: text/plain Date: Wed, 24 Oct 2007 16:10:25 -0600 Message-Id: <1193263825.18301.0.camel@james-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.0 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: oscartheduck@gmail.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Oct 2007 23:15:29 -0000 On Wed, 2007-10-24 at 15:15 -0500, Sam Fourman Jr. wrote: > On 10/24/07, eculp@encontacto.net wrote: > > I'm totally confused. I was simply trying to get flash 9 or 7 working > > in RELENG7 with which ever version of linux emulation and have been > > totally unsuccessful. In this I have been reading several other folks > > where in fc4 something works and in fc7 it doesn't (Java, IIRC) and > > the "scandalous status of linux-flashplugin9" thread, Sam Fourman Jr., > > is able to get flash working in firefox with gnash that completely > > crashes my installation. > > Maybe you are confused, I have never got flash 9 working in any stable fashion. > I would love to be able to use it, I believe I made a reference, to > how many computers I could test flash9 on if someone was able to come > up with a patch to get it to run stable. > > Sam Fourman Jr. I just saw someone claim that they had firefox + flash working flawlessly on wine, if that gives you an idea. James From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 25 00:12:50 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33E5316A501 for ; Thu, 25 Oct 2007 00:12:50 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: from web50312.mail.re2.yahoo.com (web50312.mail.re2.yahoo.com [206.190.39.214]) by mx1.freebsd.org (Postfix) with SMTP id BF37F13C4AA for ; Thu, 25 Oct 2007 00:12:49 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: (qmail 47233 invoked by uid 60001); 24 Oct 2007 23:46:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=0VjJU5KW79okRz5A8ejO3L+x2qwPXSRIEP8d1l/VY9DV1dIuQ59kfRHcMVeUDofnIRQYpqlWGh+Unl7fZOyMS1o5GcCbhA71pJNB/44BVvyXe1tGyORwAeTPyMiQbImDBpquAP2LxFj3sauwpZveQupNxx22xmgbnO+PJRZPYd8=; X-YMail-OSG: wgPdNowVM1nvAekq8DiUdN4iRRgxznqKua7ajQOQeZefLYpUQgcLEgzZG1mIf0W0aDhqR25E1tsKrbhfiVz1ZSRVnINHWUa9d5Ng_mOFIMy.9E2atfGERZWU_7BYhA-- Received: from [203.49.197.51] by web50312.mail.re2.yahoo.com via HTTP; Wed, 24 Oct 2007 16:46:00 PDT Date: Wed, 24 Oct 2007 16:46:00 -0700 (PDT) From: Tim Clewlow To: eculp@encontacto.net, freebsd-emulation@freebsd.org In-Reply-To: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <252027.47184.qm@web50312.mail.re2.yahoo.com> Cc: freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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: Thu, 25 Oct 2007 00:12:50 -0000 --- eculp@encontacto.net wrote: > I'm totally confused. I was simply trying to get flash 9 or 7 working > in RELENG7 with which ever version of linux emulation and have been > totally unsuccessful. In this I have been reading several other folks > where in fc4 something works and in fc7 it doesn't (Java, IIRC) and > the "scandalous status of linux-flashplugin9" thread, Sam Fourman Jr., > is able to get flash working in firefox with gnash that completely > crashes my installation. The last couple of days I have tried to vary > the version of linux emulation and test both flash 7 & 9 and gnash in > fc4, fc6 and f7 but only using 2.4.2 and 2.6.16 although the Java > issue talks of 2.6.19. How are these versions derived? Is there any > up to date general information about linux emulation on freebsd and a > few examples for configuration? > > The strange part of all this is that gnash crashes all, flash 7 just > shows a gray screen on all and flash 9 actually has a play button that > looks like it is going to work and then goes to the gray screen and > plays the sound but without video. > > Any suggestions as to where to find information on the different > combinations of emulation and how and why would be great as would a > working flash player like gnash is designed to be. > > Thanks, > > ed > > P.S. Why not ;) Is there any hope in all this for GoogleEarth? > Probably a very silly question. > Hi there, I have native firefox with flash 7 working fine on FreeBSD 6.2, with java and adobe reader. I am guessing it should be pretty much the same for FBSD 7. # Short and sweet summary: install www/firefox install print/acroread7 install java/diablo-jdk15 install www/linux-flashplugin7 kldload linux echo "none /compat/linux/proc linprocfs rw 0 0" >> /etc/fstab mount -a echo "linux_enable=\"YES\"" >> /etc/rc.conf nspluginwrapper -v -a -i Hope this at least gives pointers as to what to do in FreeBSD 7. Regards, Tim. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 25 05:35:36 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B1E216A518 for ; Thu, 25 Oct 2007 05:35:36 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtai105.cox.net (eastrmmtai105.cox.net [68.230.240.12]) by mx1.freebsd.org (Postfix) with ESMTP id B61AF13C48E for ; Thu, 25 Oct 2007 05:35:35 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20071025032428.RGZB1422.eastrmmtao103.cox.net@eastrmimpo02.cox.net>; Wed, 24 Oct 2007 23:24:28 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo02.cox.net with bizsmtp id 4TQP1Y00P4iy4EG0000000; Wed, 24 Oct 2007 23:24:23 -0400 Date: Wed, 24 Oct 2007 22:28:40 -0500 To: oscartheduck@gmail.com From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> <11167f520710241315n6d478908u1b35b0117a0184f7@mail.gmail.com> <1193263825.18301.0.camel@james-desktop> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <1193263825.18301.0.camel@james-desktop> User-Agent: Opera Mail/9.24 (Linux) Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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: Thu, 25 Oct 2007 05:35:36 -0000 On Wed, 24 Oct 2007 17:10:25 -0500, james wrote: > > On Wed, 2007-10-24 at 15:15 -0500, Sam Fourman Jr. wrote: >> On 10/24/07, eculp@encontacto.net wrote: >> > I'm totally confused. I was simply trying to get flash 9 or 7 working >> > in RELENG7 with which ever version of linux emulation and have been >> > totally unsuccessful. In this I have been reading several other folks >> > where in fc4 something works and in fc7 it doesn't (Java, IIRC) and >> > the "scandalous status of linux-flashplugin9" thread, Sam Fourman Jr., >> > is able to get flash working in firefox with gnash that completely >> > crashes my installation. >> >> Maybe you are confused, I have never got flash 9 working in any stable >> fashion. >> I would love to be able to use it, I believe I made a reference, to >> how many computers I could test flash9 on if someone was able to come >> up with a patch to get it to run stable. >> >> Sam Fourman Jr. > > > I just saw someone claim that they had firefox + flash working > flawlessly on wine, if that gives you an idea. It works fine here for firefox+flash9+wine, but it uses a lot of CPU/RAM. Cheers, Mezz > James -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 25 09:01:42 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834D716A417; Thu, 25 Oct 2007 09:01:42 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 496F913C4D9; Thu, 25 Oct 2007 09:01:41 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 8E7B56696C2; Thu, 25 Oct 2007 11:01:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id acZdcID2JMkL; Thu, 25 Oct 2007 11:01:39 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 42961669201; Thu, 25 Oct 2007 11:01:39 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id l9P91aXa002277; Thu, 25 Oct 2007 11:01:36 +0200 (CEST) (envelope-from rdivacky) Date: Thu, 25 Oct 2007 11:01:36 +0200 From: Roman Divacky To: eculp@encontacto.net Message-ID: <20071025090136.GA1941@freebsd.org> References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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: Thu, 25 Oct 2007 09:01:42 -0000 on the state of flash9 in linuxulator... I tried to debug it but it's (firefox+flash9) a huge program that generates like 1.5 million of lines of trace. I spend several hours staring at that but didn't find anything obvious... I would be more than happy if someone proved I am stupid and I overlooked something trivial :) now the flash9 work is mostly stalled (on my side) as I have some personal life issues + I am clueless about how to crack the flash9 nut. I guess once dtrace is imported to FreeBSD I'll be curious enough to try it on the flash9 problem.. thats how it is :( roman From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 00:56:43 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A47316A417; Fri, 26 Oct 2007 00:56:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from gnome.kiev.sovam.com (gnome.kiev.sovam.com [212.109.32.24]) by mx1.freebsd.org (Postfix) with ESMTP id 2548613C4B5; Fri, 26 Oct 2007 00:56:43 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from relay02.kiev.sovam.com ([62.64.120.197]) by gnome.kiev.sovam.com with esmtp (Exim 4.67 (FreeBSD)) (envelope-from ) id 1Il6mN-0007EB-J0; Thu, 25 Oct 2007 20:45:59 +0300 Received: from [212.82.216.226] (helo=deviant.kiev.zoral.com.ua) by relay02.kiev.sovam.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1Il6mM-0000cc-9a; Thu, 25 Oct 2007 20:45:58 +0300 Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1) with ESMTP id l9PHjtqM088446; Thu, 25 Oct 2007 20:45:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.1/8.14.1/Submit) id l9PHjtkU088445; Thu, 25 Oct 2007 20:45:55 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 25 Oct 2007 20:45:55 +0300 From: Kostik Belousov To: Roman Divacky Message-ID: <20071025174555.GU2012@deviant.kiev.zoral.com.ua> References: <20071024132656.tz1wjruoocg8g8o8@intranet.encontacto.net> <20071025090136.GA1941@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0rpW5bEisVBStM29" Content-Disposition: inline In-Reply-To: <20071025090136.GA1941@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Scanner-Signature: a8c813420754d5015e2a5a3aeed75c84 X-DrWeb-checked: yes X-SpamTest-Envelope-From: kostikbel@gmail.com X-SpamTest-Group-ID: 00000000 X-SpamTest-Info: Profiles 1674 [Oct 25 2007] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {received from trusted relay: not dialup} X-SpamTest-Method: none X-SpamTest-Method: Local Lists X-SpamTest-Rate: 0 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0255], KAS30/Release Cc: freebsd-emulation@freebsd.org, freebsd-ports Subject: Re: Which "linux emulation" works with which programs or the inverse? 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, 26 Oct 2007 00:56:43 -0000 --0rpW5bEisVBStM29 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Oct 25, 2007 at 11:01:36AM +0200, Roman Divacky wrote: > > on the state of flash9 in linuxulator... > > I tried to debug it but it's (firefox+flash9) a huge program that > generates like 1.5 million of lines of trace. I spend several hours > staring at that but didn't find anything obvious... I would be more > than happy if someone proved I am stupid and I overlooked something > trivial :) > > now the flash9 work is mostly stalled (on my side) as I have some > personal life issues + I am clueless about how to crack the flash9 > nut. I guess once dtrace is imported to FreeBSD I'll be curious enough > to try it on the flash9 problem.. > > thats how it is :( Did you tried to run the glibc test suite ? --0rpW5bEisVBStM29 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHINZSC3+MBN1Mb4gRAg3rAJoD6p3cRWmNIb23FcpmoRpEgQxd2QCgo6zA 6FoOLRdf0sAYuX8ZYc+lhSc= =lStc -----END PGP SIGNATURE----- --0rpW5bEisVBStM29-- From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 02:10:48 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F3AD16A419 for ; Fri, 26 Oct 2007 02:10:48 +0000 (UTC) (envelope-from rc_lenzi@yahoo.com.br) Received: from web51011.mail.re2.yahoo.com (web51011.mail.re2.yahoo.com [206.190.39.154]) by mx1.freebsd.org (Postfix) with SMTP id C1C9B13C494 for ; Fri, 26 Oct 2007 02:10:47 +0000 (UTC) (envelope-from rc_lenzi@yahoo.com.br) Received: (qmail 24833 invoked by uid 60001); 26 Oct 2007 01:44:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=t1cU3dvIwaXZz6YDkqqQ9rmYWsyv3Lyib8PWXSD5+4tIlBoItXLgobZhmDtWxyWAnW+pGGJ22EeoXfLDZ1yU9m3+Tcl+M6pfdgA3HYvhWyAiA/s2d9Gj7Fb+pVLfnZTsk6zge/V3z92W0LODDvp4BXGEVJZH6twfUU8jFJaLX7c=; X-YMail-OSG: IZtaRWYVM1kIINVSx2DXZLw46qnlpEkgzHbwxLWvOl3RVfTtxutNsxbUjhHIoAdjUOklfU7G5NvNAiUdb2Dz2MR7DWCk52tvTwbczn0QiETbh4W0p3zdvt6NJXKRWQ-- Received: from [201.47.77.55] by web51011.mail.re2.yahoo.com via HTTP; Thu, 25 Oct 2007 18:44:06 PDT X-Mailer: YahooMailRC/814.06 YahooMailWebService/0.7.152 Date: Thu, 25 Oct 2007 18:44:06 -0700 (PDT) From: Rafael Caesar Lenzi To: Tim Clewlow , freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <92671.24170.qm@web51011.mail.re2.yahoo.com> Cc: Subject: Res: Which "linux emulation" works with which programs or the inverse? 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, 26 Oct 2007 02:10:48 -0000 > # Short and sweet summary:=0A> =0A> install www/firefox =0A> instal= l print/acroread7 =0A> install java/diablo-jdk15=0A> install www/linu= x-flashplugin7 =0A> kldload linux=0A> echo "none /compat/l= inux/proc linprocfs rw 0=0A 0" >> /etc/fstab=0A> mount= -a=0A> echo "linux_enable=3D\"YES\"" >> /etc/rc.conf = =0A> nspluginwrapper -v -a -i=0A> =0A> Hope this at least gives pointers a= s to what to do in FreeBSD 7.=0AHi, i apply this solution here, but sound i= n youtube has no sound :(=0AAnd acroread7 fail on load.=0AI'm using FreeBSD= 6.2-RELEASE.=0A=0ARafael Lenzi=0A=0A=0A=0A=0A Abra sua conta no Yahoo= ! Mail, o =FAnico sem limite de espa=E7o para armazenamento!=0Ahttp://br.ma= il.yahoo.com/ From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 06:32:05 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C163C16A417 for ; Fri, 26 Oct 2007 06:32:05 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D4EDC13C4B2 for ; Fri, 26 Oct 2007 06:32:04 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IlIjX-0003sj-C0 for freebsd-emulation@freebsd.org; Fri, 26 Oct 2007 06:31:51 +0000 Received: from c-71-193-243-110.hsd1.or.comcast.net ([71.193.243.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 06:31:51 +0000 Received: from zephiris by c-71-193-243-110.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 06:31:51 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Thu, 25 Oct 2007 23:31:44 -0700 Lines: 72 Message-ID: References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-193-243-110.hsd1.or.comcast.net User-Agent: KNode/0.10.5 Sender: news Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 26 Oct 2007 06:32:05 -0000 Boris Samorodov wrote: > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > >> >> >> I've been getting a rather strange issue between Nvidia driver and >> >> >> the linux compatibility. >> >> > >> >> >> I've tried this with default Fedora Core 4 libraries, default 2.4 >> >> >> version emulation, 2.6.16, FC6, F7, and now Gentoo. With older >> >> >> Linux X11 libraries >> >> > >> >> > As of 2.6.16: did you follow instructions from /usr/ports/UPDATING >> >> > while upgrade to 2.6.16? >> > >> >> I just tried it again explicitly following those instructions from >> >> the start, identical results. >> > >> >> >> (eg, those from ports), anything trying to use Nvidia's libGL that >> >> >> installs into the linux compat area will crash immediately. To get >> >> >> this >> >> > >> >> > Crash... Did you ugrade your system and may be forgot to upgrade >> >> > the port? Or did you upgrade the OS without reinstalling ports? >> > >> >> This was a pretty fresh installation from CURRENT, not a long upgrade >> >> chain or from 6.x. Everything's up to date. Via ports itself, there's >> >> no way to get newer X11 libraries than 6.8 itself, correct? >> > >> > If you mean linux libraries then yes. >> > >> > OK. can you describe in details how do you install ports/options/etc >> > to populate /compat/linux from scratch? And which options do you use >> > for nvidia-driver port and other *GL* ports? > >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, >> x11/nvidia-driver (with ACPI and LINUX flags), x11-toolkits/linux-gtk2, >> then x11-toolkits/linux-gtk. It's enough to test a number of things. > > So far so good. Did you try to use a linux-app here? Acrobat Reader or > else? > >> >> ldd glxinfo >> >> glxinfo: >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) >> > >> > That is very strange. This library should be at least at >> > /usr/local/lib directory. Can you show an output of >> > "pkg_info -W /usr/lib/libGL.so.1"? >> > >> That's for a linux glxinfo. > > Don't understand you answer. Is it from ports? Or does you installed > it by hand? It's from linux_dri, so put there by hand, but all Linux binaries linked to OpenGL crash, act the same, load similar libraries, and get similar crash dump data. Aside from all of the binaries just crashing, which looks to be from tryiing to mix with the older X11 libraries from the port, the rendering issues when trying to use with Gentoo binaries/libraries are still there, and I can't find any reason for either behavior, but seeing as how Gentoo libraries get things closer to working, any ideas why it'd keep complaining about not being able to enable direct rendering? I can't see anything with my computer or settings that would cause such different results from anyone else specifically for the linux compatibility like this. From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 07:42:54 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB4D16A417 for ; Fri, 26 Oct 2007 07:42:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 435E013C480 for ; Fri, 26 Oct 2007 07:42:54 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from doc.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IlJqF-0006sS-7Q; Fri, 26 Oct 2007 11:42:51 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IlJtj-000OCA-VQ; Fri, 26 Oct 2007 11:46:27 +0400 To: Zephiris References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> From: Boris Samorodov Date: Fri, 26 Oct 2007 11:46:27 +0400 In-Reply-To: (zephiris@gmail.com's message of "Thu\, 25 Oct 2007 23\:31\:44 -0700") Message-ID: <44625948@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 26 Oct 2007 07:42:54 -0000 On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: > Boris Samorodov wrote: > > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > > > >> >> >> I've been getting a rather strange issue between Nvidia driver and > >> >> >> the linux compatibility. > >> >> > > >> >> >> I've tried this with default Fedora Core 4 libraries, default 2.4 > >> >> >> version emulation, 2.6.16, FC6, F7, and now Gentoo. With older > >> >> >> Linux X11 libraries > >> >> > > >> >> > As of 2.6.16: did you follow instructions from /usr/ports/UPDATING > >> >> > while upgrade to 2.6.16? > >> > > >> >> I just tried it again explicitly following those instructions from > >> >> the start, identical results. > >> > > >> >> >> (eg, those from ports), anything trying to use Nvidia's libGL that > >> >> >> installs into the linux compat area will crash immediately. To get > >> >> >> this > >> >> > > >> >> > Crash... Did you ugrade your system and may be forgot to upgrade > >> >> > the port? Or did you upgrade the OS without reinstalling ports? > >> > > >> >> This was a pretty fresh installation from CURRENT, not a long upgrade > >> >> chain or from 6.x. Everything's up to date. Via ports itself, there's > >> >> no way to get newer X11 libraries than 6.8 itself, correct? > >> > > >> > If you mean linux libraries then yes. > >> > > >> > OK. can you describe in details how do you install ports/options/etc > >> > to populate /compat/linux from scratch? And which options do you use > >> > for nvidia-driver port and other *GL* ports? > > > >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, > >> x11/nvidia-driver (with ACPI and LINUX flags), x11-toolkits/linux-gtk2, > >> then x11-toolkits/linux-gtk. It's enough to test a number of things. > > > > So far so good. Did you try to use a linux-app here? Acrobat Reader or > > else? Nobody can help you if you don't want to. > >> >> ldd glxinfo > >> >> glxinfo: > >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) > >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > >> > > >> > That is very strange. This library should be at least at > >> > /usr/local/lib directory. Can you show an output of > >> > "pkg_info -W /usr/lib/libGL.so.1"? > >> > > >> That's for a linux glxinfo. > > > > Don't understand you answer. Is it from ports? Or does you installed > > it by hand? > It's from linux_dri, so put there by hand, Can't follow you: "It's from ports, so put it somewhere by hand..." Anyway this configuration is not supported by the FreeBSD-emulation team. > but all Linux binaries linked to > OpenGL crash, act the same, load similar libraries, and get similar crash > dump data. > > > Aside from all of the binaries just crashing, which looks to be from > tryiing to mix with the older X11 libraries from the port, the rendering > issues when trying to use with Gentoo binaries/libraries are still there, > and I can't find any reason for either behavior, but seeing as how Gentoo > libraries get things closer to working, any ideas why it'd keep > complaining about not being able to enable direct rendering? > I can't see anything with my computer or settings that would cause such > different results from anyone else specifically for the linux > compatibility like this. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 09:10:27 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2497C16A46C for ; Fri, 26 Oct 2007 09:10:27 +0000 (UTC) (envelope-from valera@novakom.com.ua) Received: from ns.novakom.com.ua (novakom.com.ua [213.154.219.248]) by mx1.freebsd.org (Postfix) with ESMTP id 34B6B13C4B0 for ; Fri, 26 Oct 2007 09:10:26 +0000 (UTC) (envelope-from valera@novakom.com.ua) Received: from novakom.com.ua (post [192.168.1.254]) by ns.novakom.com.ua (Postfix) with SMTP id 84C1418C0C for ; Fri, 26 Oct 2007 11:53:27 +0300 (EEST) Received: (qmail 31127 invoked by uid 0); 26 Oct 2007 08:53:28 -0000 Received: from 192.168.1.210 by post.novakom.dp.ua (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: devel-20051128/1195. Clear:RC:1(192.168.1.210):. Processed in 0.021917 secs); 26 Oct 2007 08:53:28 -0000 X-Qmail-Scanner-Mail-From: valera@novakom.com.ua via post.novakom.dp.ua X-Qmail-Scanner: 1.25 (Clear:RC:1(192.168.1.210):. Processed in 0.021917 secs) Received: from goliath.novakom.dp.ua (192.168.1.210) by post.novakom.dp.ua with SMTP; 26 Oct 2007 08:53:28 -0000 Message-ID: <4721AB07.20708@novakom.com.ua> Date: Fri, 26 Oct 2007 11:53:27 +0300 From: "Valery V.Chikalov" Organization: Nova-Kom User-Agent: Thunderbird 2.0.0.6 (X11/20070921) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Linux emulation on FreeBSD AMD64 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, 26 Oct 2007 09:10:27 -0000 Hi, list. I have rather generic question. I am exploring some Linux application (especially Oracle 9.0.1) on FreeBSD starting from early RELENG-5.0. During the time I have upgraded FreeBSD in order to 5.1->5.5->6.0->6.1->6.2 and my Oracle database successfully survived all this transitions. Now being inspired the great performance improvements on multiprocessors configurations I am trying to switch to FreeBSD 7.0 version, moreover on AMD64 architecture. Must I expect some regression in support old Linux application here? Are some theoretical obstacles exists that linux application which successfully worked on FreeBSD from 5.0 up to 6.2 can not be running on 7.0 AMD64? Of course I ask this questions because I was encountered some troubles already, when I am trying to start Oracle server I'm getting: ORA-27122: unable to protect memory Linux Error:13: Permission denied the hint from Oracle: oerr ORA 27122 27122, 00000, "unable to protect memory" // *Cause: mprotect() call failed Linux environment which I am using is the same from FreeBSD 5.0 days - rh7. Of course Oracle is a black box and in any way is not intended to run in emulation environment, and possibly it is silly to hope to accomplish this quest. Nevertheless my question is where can I find information about what was changed in linux emulation environment from 6.2 to 7.0 or from i386 to AMD64? What are known limitations(regressions) of linux emulations in 7.0 AMD64? Thank you. Valery. From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 10:46:04 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A36C916A418 for ; Fri, 26 Oct 2007 10:46:04 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 2F9CF13C48E for ; Fri, 26 Oct 2007 10:46:03 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IlMhT-0006Rs-3P for freebsd-emulation@freebsd.org; Fri, 26 Oct 2007 10:45:59 +0000 Received: from c-71-193-243-110.hsd1.or.comcast.net ([71.193.243.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 10:45:59 +0000 Received: from zephiris by c-71-193-243-110.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Oct 2007 10:45:59 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Fri, 26 Oct 2007 03:45:54 -0700 Lines: 97 Message-ID: References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> <44625948@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-193-243-110.hsd1.or.comcast.net User-Agent: KNode/0.10.5 Sender: news Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 26 Oct 2007 10:46:04 -0000 Boris Samorodov wrote: > On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: >> Boris Samorodov wrote: >> > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: >> > >> >> >> >> I've been getting a rather strange issue between Nvidia driver >> >> >> >> and the linux compatibility. >> >> >> > >> >> >> >> I've tried this with default Fedora Core 4 libraries, default >> >> >> >> 2.4 version emulation, 2.6.16, FC6, F7, and now Gentoo. With >> >> >> >> older Linux X11 libraries >> >> >> > >> >> >> > As of 2.6.16: did you follow instructions from >> >> >> > /usr/ports/UPDATING while upgrade to 2.6.16? >> >> > >> >> >> I just tried it again explicitly following those instructions from >> >> >> the start, identical results. >> >> > >> >> >> >> (eg, those from ports), anything trying to use Nvidia's libGL >> >> >> >> that installs into the linux compat area will crash >> >> >> >> immediately. To get this >> >> >> > >> >> >> > Crash... Did you ugrade your system and may be forgot to upgrade >> >> >> > the port? Or did you upgrade the OS without reinstalling ports? >> >> > >> >> >> This was a pretty fresh installation from CURRENT, not a long >> >> >> upgrade chain or from 6.x. Everything's up to date. Via ports >> >> >> itself, there's no way to get newer X11 libraries than 6.8 itself, >> >> >> correct? >> >> > >> >> > If you mean linux libraries then yes. >> >> > >> >> > OK. can you describe in details how do you install >> >> > ports/options/etc to populate /compat/linux from scratch? And which >> >> > options do you use for nvidia-driver port and other *GL* ports? >> > >> >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, >> >> x11/nvidia-driver (with ACPI and LINUX flags), >> >> x11-toolkits/linux-gtk2, then x11-toolkits/linux-gtk. It's enough to >> >> test a number of things. >> > >> > So far so good. Did you try to use a linux-app here? Acrobat Reader or >> > else? > > Nobody can help you if you don't want to. Other non-GL apps work alright when everything is installed via ports, including X11 and otherwise. Acrobat Reader works, linux-firefox works, linux-opera works, etc. > >> >> >> ldd glxinfo >> >> >> glxinfo: >> >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) >> >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) >> >> > >> >> > That is very strange. This library should be at least at >> >> > /usr/local/lib directory. Can you show an output of >> >> > "pkg_info -W /usr/lib/libGL.so.1"? >> >> > >> >> That's for a linux glxinfo. >> > >> > Don't understand you answer. Is it from ports? Or does you installed >> > it by hand? >> It's from linux_dri, so put there by hand, > > Can't follow you: "It's from ports, so put it somewhere by hand..." Okay, a different example then. Neverwinter Night's nwmain installed from ports (against regular FC6 and everything else specifically via ports): nwmain: libm.so.6 => /lib/libm.so.6 (0x28642000) libpthread.so.0 => /lib/libpthread.so.0 (0x2866a000) libGL.so.1 => /usr/lib/libGL.so.1 (0x28680000) libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28716000) libmss.so.6 => not found libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x28796000) libc.so.6 => /lib/libc.so.6 (0x2881c000) /lib/ld-linux.so.2 (0x28623000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x28960000) libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x292f8000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x292fa000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x29309000) libdl.so.2 => /lib/libdl.so.2 (0x293dc000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x293e1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x294ca000) > > Anyway this configuration is not supported by the FreeBSD-emulation > team. > Alright, switching back over to ports everything again, the issues of everything that tries to load OpenGL crashing still persist. Running ktrace+linux_kdump doesn't appear to yield any pattern of behavior or calls before the segfault. From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 11:46:16 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81BB316A418 for ; Fri, 26 Oct 2007 11:46:16 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 12BBC13C4A7 for ; Fri, 26 Oct 2007 11:46:15 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1] helo=ipt.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1IlNdm-0007Zg-C8; Fri, 26 Oct 2007 15:46:14 +0400 Received: from bsam by ipt.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1IlNhH-000OLs-Ng; Fri, 26 Oct 2007 15:49:51 +0400 To: Zephiris References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> <44625948@srv.sem.ipt.ru> From: Boris Samorodov Date: Fri, 26 Oct 2007 15:49:51 +0400 In-Reply-To: (zephiris@gmail.com's message of "Fri\, 26 Oct 2007 03\:45\:54 -0700") Message-ID: <62540272@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 26 Oct 2007 11:46:16 -0000 On Fri, 26 Oct 2007 03:45:54 -0700 Zephiris wrote: > Boris Samorodov wrote: > > On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: > >> Boris Samorodov wrote: > >> > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > >> > > >> >> >> >> I've been getting a rather strange issue between Nvidia driver > >> >> >> >> and the linux compatibility. > >> >> >> > > >> >> >> >> I've tried this with default Fedora Core 4 libraries, default > >> >> >> >> 2.4 version emulation, 2.6.16, FC6, F7, and now Gentoo. With > >> >> >> >> older Linux X11 libraries > >> >> >> > > >> >> >> > As of 2.6.16: did you follow instructions from > >> >> >> > /usr/ports/UPDATING while upgrade to 2.6.16? > >> >> > > >> >> >> I just tried it again explicitly following those instructions from > >> >> >> the start, identical results. > >> >> > > >> >> >> >> (eg, those from ports), anything trying to use Nvidia's libGL > >> >> >> >> that installs into the linux compat area will crash > >> >> >> >> immediately. To get this > >> >> >> > > >> >> >> > Crash... Did you ugrade your system and may be forgot to upgrade > >> >> >> > the port? Or did you upgrade the OS without reinstalling ports? > >> >> > > >> >> >> This was a pretty fresh installation from CURRENT, not a long > >> >> >> upgrade chain or from 6.x. Everything's up to date. Via ports > >> >> >> itself, there's no way to get newer X11 libraries than 6.8 itself, > >> >> >> correct? > >> >> > > >> >> > If you mean linux libraries then yes. > >> >> > > >> >> > OK. can you describe in details how do you install > >> >> > ports/options/etc to populate /compat/linux from scratch? And which > >> >> > options do you use for nvidia-driver port and other *GL* ports? > >> > > >> >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, > >> >> x11/nvidia-driver (with ACPI and LINUX flags), > >> >> x11-toolkits/linux-gtk2, then x11-toolkits/linux-gtk. It's enough to > >> >> test a number of things. > >> > > >> > So far so good. Did you try to use a linux-app here? Acrobat Reader or > >> > else? > > > > Nobody can help you if you don't want to. > Other non-GL apps work alright when everything is installed via ports, > including X11 and otherwise. Acrobat Reader works, linux-firefox works, > linux-opera works, etc. OK, good. Thanks for the answer. > >> >> >> ldd glxinfo > >> >> >> glxinfo: > >> >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) > >> >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > >> >> > > >> >> > That is very strange. This library should be at least at > >> >> > /usr/local/lib directory. Can you show an output of > >> >> > "pkg_info -W /usr/lib/libGL.so.1"? > >> >> > > >> >> That's for a linux glxinfo. > >> > > >> > Don't understand you answer. Is it from ports? Or does you installed > >> > it by hand? > >> It's from linux_dri, so put there by hand, > > > > Can't follow you: "It's from ports, so put it somewhere by hand..." > Okay, a different example then. Neverwinter Night's nwmain installed from > ports (against regular FC6 and everything else specifically via ports): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Seems you are misleading yourself. Take a look at [1]. Those libraries do not belong to the base system. > nwmain: > libm.so.6 => /lib/libm.so.6 (0x28642000) > libpthread.so.0 => /lib/libpthread.so.0 (0x2866a000) > libGL.so.1 => /usr/lib/libGL.so.1 (0x28680000) ^^^^^^^^^^^^^^^^^^^ [1] > libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28716000) > libmss.so.6 => not found > libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x28796000) ^^^^^^^^^^^^^^^^^^^^^^^^ [1] > libc.so.6 => /lib/libc.so.6 (0x2881c000) > /lib/ld-linux.so.2 (0x28623000) > libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x28960000) ^^^^^^^^^^^^^^^^^^^^^^^ [1] > libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x292f8000) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] > libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x292fa000) > libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x29309000) > libdl.so.2 => /lib/libdl.so.2 (0x293dc000) > libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x293e1000) > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x294ca000) > > > > Anyway this configuration is not supported by the FreeBSD-emulation > > team. > > > Alright, switching back over to ports everything again, Hope, it's clear to you that you didn't succeed in it. > the issues of > everything that tries to load OpenGL crashing still persist. Running > ktrace+linux_kdump doesn't appear to yield any pattern of behavior or > calls before the segfault. Actually you get a system which may fault any time (I mean linuxulator). You don't have a control over your system now. Linux (and may be other) libraries are spread here and there. I'd recommend you reinstalling the system from scratch, sorry. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 26 12:00:04 2007 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CED0616A41A for ; Fri, 26 Oct 2007 12:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A4F3E13C494 for ; Fri, 26 Oct 2007 12:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9QC04QU021126 for ; Fri, 26 Oct 2007 12:00:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9QC04Ul021125; Fri, 26 Oct 2007 12:00:04 GMT (envelope-from gnats) Date: Fri, 26 Oct 2007 12:00:04 GMT Message-Id: <200710261200.l9QC04Ul021125@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: sam Cc: Subject: Re: kern/117010: [linuxolator] linux_getdents() get something like buffer overflow or else X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sam List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Oct 2007 12:00:04 -0000 The following reply was made to PR kern/117010; it has been noted by GNATS. From: sam To: bug-followup@FreeBSD.org, samflanker@gmail.com Cc: Subject: Re: kern/117010: [linuxolator] linux_getdents() get something like buffer overflow or else Date: Fri, 26 Oct 2007 15:53:17 +0400 installing Counter-Strike 1.6 (HLDS) http://www.cstrike-planet.com/tutorial/1-Linux-Install-CS-16/6 From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 00:57:25 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2DBD16A417 for ; Sat, 27 Oct 2007 00:57:25 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: from web50312.mail.re2.yahoo.com (web50312.mail.re2.yahoo.com [206.190.39.214]) by mx1.freebsd.org (Postfix) with SMTP id 990D913C4B6 for ; Sat, 27 Oct 2007 00:57:25 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: (qmail 59218 invoked by uid 60001); 27 Oct 2007 00:57:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=v+NL9t/16wemKxJ4K7s0JGEUvzIivWDru0wS3TZ0MNsy2gkBn/zFa/s8QbvcQfngZQ2P0XKPaDX94pCKiSJT22tRc2Zl8VEkS7aXUeVTgbAVrGmx8iwNcbsA1j2QsAdfdlOcsgoFnaJVA2NgsAv8I2GUFhwhADVegbWZQxjcUyA=; X-YMail-OSG: IvC_YagVM1nBK3x0K1KzADwZ3g4DyzNwp5vDdHqr Received: from [203.49.197.51] by web50312.mail.re2.yahoo.com via HTTP; Fri, 26 Oct 2007 17:57:23 PDT Date: Fri, 26 Oct 2007 17:57:23 -0700 (PDT) From: Tim Clewlow To: Rafael Caesar Lenzi , freebsd-emulation@freebsd.org In-Reply-To: <92671.24170.qm@web51011.mail.re2.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <51676.58967.qm@web50312.mail.re2.yahoo.com> Cc: Subject: Re: Res: Which "linux emulation" works with which programs or the inverse? 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, 27 Oct 2007 00:57:26 -0000 --- Rafael Caesar Lenzi wrote: > > # Short and sweet summary: > > > > install www/firefox > > install print/acroread7 > > install java/diablo-jdk15 > > install www/linux-flashplugin7 > > kldload linux > > echo "none /compat/linux/proc linprocfs rw 0 > 0" >> /etc/fstab > > mount -a > > echo "linux_enable=\"YES\"" >> /etc/rc.conf > > nspluginwrapper -v -a -i > > > > Hope this at least gives pointers as to what to do in FreeBSD 7. > Hi, i apply this solution here, but sound in youtube has no sound :( > And acroread7 fail on load. > I'm using FreeBSD 6.2-RELEASE. > > Rafael Lenzi I am suprised, I know it definately works for youtube. Are you installing the packages or from ports? If you are using packages, then make sure the following are also installed (they get installed as dependencies when using ports and may be missing if you are using packages). print/acroreadwrapper - normally installed as dependency for acroread7 java/javavmwrapper - normally installed as dependency for diablo-jdk15 www/nspluginwrapper - normally installed as dependency for linux-flashplugin7 If any were missing, then after you add them you should also do 'nspluginwrapper -v -a -i' again. At the end, if you do 'nspluginwrapper -l' you should see something like this, you really want to see the libflashplayer.so and nppdf.so lines. # nspluginwrapper -l /usr/X11R6/lib/browser_plugins/npwrapper.nphelix.so Original plugin: /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so Wrapper version string: 0.9.91.5 /usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/X11R6/lib/browser_plugins/npwrapper.nppdf.so Original plugin: /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Wrapper version string: 0.9.91.5 # --- If you are using packages, ie not ports, then this might be the problem. As a rule I always use ports, and have them nicely up to date, which means what I have installed may have had fixes applied after the 6.2 release that solve these problems. This also means that I am certain all dependencies are really being installed, because ports wont work without them. If you want to know how to get the latest version of ports, it is in the manual, or I will be happy to show you, it is very easy, but takes a while as it has to download quite a bit the first time through. It will also take quite a while to rebuild/compile many things (and I do mean many) - it will take hours, probably all day really. All I can say is that it definately works - and learning how to keep ports up to date is a relatively safe way of introducing you to the procedures for keeping the kernel/world up to date too. Feel free to email me off the list, or move to questions@, if this is getting rather off topic. :-) Tim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 01:46:58 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CD4316A49A for ; Sat, 27 Oct 2007 01:46:58 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id D1B6E13C4A8 for ; Sat, 27 Oct 2007 01:46:57 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IlalK-0000b5-MZ for freebsd-emulation@freebsd.org; Sat, 27 Oct 2007 01:46:54 +0000 Received: from c-71-193-243-110.hsd1.or.comcast.net ([71.193.243.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 01:46:54 +0000 Received: from zephiris by c-71-193-243-110.hsd1.or.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 01:46:54 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Zephiris Date: Fri, 26 Oct 2007 18:46:49 -0700 Lines: 153 Message-ID: References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> <44625948@srv.sem.ipt.ru> <62540272@srv.sem.ipt.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-71-193-243-110.hsd1.or.comcast.net User-Agent: KNode/0.10.5 Sender: news Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 27 Oct 2007 01:46:58 -0000 Boris Samorodov wrote: > On Fri, 26 Oct 2007 03:45:54 -0700 Zephiris wrote: >> Boris Samorodov wrote: >> > On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: >> >> Boris Samorodov wrote: >> >> > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: >> >> > >> >> >> >> >> I've been getting a rather strange issue between Nvidia >> >> >> >> >> driver and the linux compatibility. >> >> >> >> > >> >> >> >> >> I've tried this with default Fedora Core 4 libraries, >> >> >> >> >> default 2.4 version emulation, 2.6.16, FC6, F7, and now >> >> >> >> >> Gentoo. With older Linux X11 libraries >> >> >> >> > >> >> >> >> > As of 2.6.16: did you follow instructions from >> >> >> >> > /usr/ports/UPDATING while upgrade to 2.6.16? >> >> >> > >> >> >> >> I just tried it again explicitly following those instructions >> >> >> >> from the start, identical results. >> >> >> > >> >> >> >> >> (eg, those from ports), anything trying to use Nvidia's >> >> >> >> >> libGL that installs into the linux compat area will crash >> >> >> >> >> immediately. To get this >> >> >> >> > >> >> >> >> > Crash... Did you ugrade your system and may be forgot to >> >> >> >> > upgrade the port? Or did you upgrade the OS without >> >> >> >> > reinstalling ports? >> >> >> > >> >> >> >> This was a pretty fresh installation from CURRENT, not a long >> >> >> >> upgrade chain or from 6.x. Everything's up to date. Via ports >> >> >> >> itself, there's no way to get newer X11 libraries than 6.8 >> >> >> >> itself, correct? >> >> >> > >> >> >> > If you mean linux libraries then yes. >> >> >> > >> >> >> > OK. can you describe in details how do you install >> >> >> > ports/options/etc to populate /compat/linux from scratch? And >> >> >> > which options do you use for nvidia-driver port and other *GL* >> >> >> > ports? >> >> > >> >> >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, >> >> >> x11/nvidia-driver (with ACPI and LINUX flags), >> >> >> x11-toolkits/linux-gtk2, then x11-toolkits/linux-gtk. It's enough >> >> >> to test a number of things. >> >> > >> >> > So far so good. Did you try to use a linux-app here? Acrobat Reader >> >> > or else? >> > >> > Nobody can help you if you don't want to. > >> Other non-GL apps work alright when everything is installed via ports, >> including X11 and otherwise. Acrobat Reader works, linux-firefox works, >> linux-opera works, etc. > > OK, good. Thanks for the answer. > >> >> >> >> ldd glxinfo >> >> >> >> glxinfo: >> >> >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) >> >> >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) >> >> >> > >> >> >> > That is very strange. This library should be at least at >> >> >> > /usr/local/lib directory. Can you show an output of >> >> >> > "pkg_info -W /usr/lib/libGL.so.1"? >> >> >> > >> >> >> That's for a linux glxinfo. >> >> > >> >> > Don't understand you answer. Is it from ports? Or does you >> >> > installed it by hand? >> >> It's from linux_dri, so put there by hand, >> > >> > Can't follow you: "It's from ports, so put it somewhere by hand..." > >> Okay, a different example then. Neverwinter Night's nwmain installed >> from ports (against regular FC6 and everything else specifically via >> ports): > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > Seems you are misleading yourself. Take a look at [1]. Those libraries > do not belong to the base system. No, that's why they're installed via ports? Pretty clear? Why would any of the linux compatibility libraries be installed as "part of the base system"? > >> nwmain: >> libm.so.6 => /lib/libm.so.6 (0x28642000) >> libpthread.so.0 => /lib/libpthread.so.0 (0x2866a000) >> libGL.so.1 => /usr/lib/libGL.so.1 (0x28680000) > ^^^^^^^^^^^^^^^^^^^ [1] > >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28716000) >> libmss.so.6 => not found >> libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x28796000) > ^^^^^^^^^^^^^^^^^^^^^^^^ [1] >> libc.so.6 => /lib/libc.so.6 (0x2881c000) >> /lib/ld-linux.so.2 (0x28623000) >> libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x28960000) > ^^^^^^^^^^^^^^^^^^^^^^^ [1] >> libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x292f8000) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x292fa000) >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x29309000) >> libdl.so.2 => /lib/libdl.so.2 (0x293dc000) >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x293e1000) >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x294ca000) > >> > >> > Anyway this configuration is not supported by the FreeBSD-emulation >> > team. >> > > >> Alright, switching back over to ports everything again, > > Hope, it's clear to you that you didn't succeed in it. /compat/linux/usr/lib/libSDL-1.2.so.0 was installed by package linux-sdl-1.2.10,1 /compat/linux/usr/lib/libGL.so.100.14.19 was installed by package nvidia-driver-100.14.19 /compat/linux/usr/lib/libGLcore.so.100.14.19 was installed by package nvidia-driver-100.14.19 /compat/linux/usr/lib/libnvidia-tls.so.100.14.19 was installed by package nvidia-driver-100.14.19 (the respective Nvidia libraries are symlinks to the longer versioned ones) > >> the issues of >> everything that tries to load OpenGL crashing still persist. Running >> ktrace+linux_kdump doesn't appear to yield any pattern of behavior or >> calls before the segfault. > > Actually you get a system which may fault any time (I mean > linuxulator). You don't have a control over your system now. > Linux (and may be other) libraries are spread here and there. > > I'd recommend you reinstalling the system from scratch, sorry. > As I've said, I've done that several times already. You suggested that before, and I did it again then. Did it change the result? No. Everything in /compat/linux/ right now is only what's there installed via ports. I'm not mixing and matching or spreading around anything. Again, the only things there right now are official ports, hence no libglut or glxinfo now, either. The only thing thus far which doesn't work as expected is accelerated OpenGL. That's why I'm trying hard to get it working, and have suggested alternatives, but with everything at suggested and stated defaults, all linux apps will apparently do is crash once they try to load libGL.so.1. If I knew why or had been able to find an answer, I'd include it. That's why I suggested that specifically might just be an interaction with the older X11 libraries, too, but I'm not the expert. From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 14:23:22 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48B3C16A4A7 for ; Sat, 27 Oct 2007 14:23:22 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id B60DD13C4B9 for ; Sat, 27 Oct 2007 14:23:21 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from srv.sem.ipt.ru ([192.168.12.1]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1IlmZL-000KSU-Fq; Sat, 27 Oct 2007 18:23:19 +0400 To: Zephiris References: <66147675@ipt.ru> <98294959@ipt.ru> <19713641@serv3.int.kfs.ru> <44625948@srv.sem.ipt.ru> <62540272@srv.sem.ipt.ru> From: Boris Samorodov Date: Sat, 27 Oct 2007 18:27:00 +0400 In-Reply-To: (zephiris@gmail.com's message of "Fri\, 26 Oct 2007 18\:46\:49 -0700") Message-ID: <98203547@srv.sem.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Nvidia LibGL and RELENG_7 linuxulator 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, 27 Oct 2007 14:23:22 -0000 On Fri, 26 Oct 2007 18:46:49 -0700 Zephiris wrote: > Boris Samorodov wrote: > > On Fri, 26 Oct 2007 03:45:54 -0700 Zephiris wrote: > >> Boris Samorodov wrote: > >> > On Thu, 25 Oct 2007 23:31:44 -0700 Zephiris wrote: > >> >> Boris Samorodov wrote: > >> >> > On Sat, 20 Oct 2007 16:44:12 -0700 Zephiris wrote: > >> >> > > >> >> >> >> >> I've been getting a rather strange issue between Nvidia > >> >> >> >> >> driver and the linux compatibility. > >> >> >> >> > > >> >> >> >> >> I've tried this with default Fedora Core 4 libraries, > >> >> >> >> >> default 2.4 version emulation, 2.6.16, FC6, F7, and now > >> >> >> >> >> Gentoo. With older Linux X11 libraries > >> >> >> >> > > >> >> >> >> > As of 2.6.16: did you follow instructions from > >> >> >> >> > /usr/ports/UPDATING while upgrade to 2.6.16? > >> >> >> > > >> >> >> >> I just tried it again explicitly following those instructions > >> >> >> >> from the start, identical results. > >> >> >> > > >> >> >> >> >> (eg, those from ports), anything trying to use Nvidia's > >> >> >> >> >> libGL that installs into the linux compat area will crash > >> >> >> >> >> immediately. To get this > >> >> >> >> > > >> >> >> >> > Crash... Did you ugrade your system and may be forgot to > >> >> >> >> > upgrade the port? Or did you upgrade the OS without > >> >> >> >> > reinstalling ports? > >> >> >> > > >> >> >> >> This was a pretty fresh installation from CURRENT, not a long > >> >> >> >> upgrade chain or from 6.x. Everything's up to date. Via ports > >> >> >> >> itself, there's no way to get newer X11 libraries than 6.8 > >> >> >> >> itself, correct? > >> >> >> > > >> >> >> > If you mean linux libraries then yes. > >> >> >> > > >> >> >> > OK. can you describe in details how do you install > >> >> >> > ports/options/etc to populate /compat/linux from scratch? And > >> >> >> > which options do you use for nvidia-driver port and other *GL* > >> >> >> > ports? > >> >> > > >> >> >> I install in order emulators/linux_base-fc6, x11/linux-xorg-libs, > >> >> >> x11/nvidia-driver (with ACPI and LINUX flags), > >> >> >> x11-toolkits/linux-gtk2, then x11-toolkits/linux-gtk. It's enough > >> >> >> to test a number of things. > >> >> > > >> >> > So far so good. Did you try to use a linux-app here? Acrobat Reader > >> >> > or else? > >> > > >> > Nobody can help you if you don't want to. > > > >> Other non-GL apps work alright when everything is installed via ports, > >> including X11 and otherwise. Acrobat Reader works, linux-firefox works, > >> linux-opera works, etc. > > > > OK, good. Thanks for the answer. > > > >> >> >> >> ldd glxinfo > >> >> >> >> glxinfo: > >> >> >> >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x2806a000) > >> >> >> >> libGL.so.1 => /usr/lib/libGL.so.1 (0x280eb000) > >> >> >> > > >> >> >> > That is very strange. This library should be at least at > >> >> >> > /usr/local/lib directory. Can you show an output of > >> >> >> > "pkg_info -W /usr/lib/libGL.so.1"? I'd like to get an answer for this question. [2] > >> >> >> That's for a linux glxinfo. > >> >> > > >> >> > Don't understand you answer. Is it from ports? Or does you > >> >> > installed it by hand? > >> >> It's from linux_dri, so put there by hand, > >> > > >> > Can't follow you: "It's from ports, so put it somewhere by hand..." > > > >> Okay, a different example then. Neverwinter Night's nwmain installed > >> from ports (against regular FC6 and everything else specifically via > >> ports): > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Seems you are misleading yourself. Take a look at [1]. Those libraries > > do not belong to the base system. > No, that's why they're installed via ports? Pretty clear? Fair enough. But you didn't prove it (give an answer for [2]) and still show that libraries from ports got installed to /usr/lib. If you don't change a default configuration they should go either to /usr/local or /compat/linux. If not then the port is broken and it's worth a PR. > Why would any of > the linux compatibility libraries be installed as "part of the base > system"? This is just the question I wanted to ask you. ;-) With the default configuration they shouldn't. > >> nwmain: > >> libm.so.6 => /lib/libm.so.6 (0x28642000) > >> libpthread.so.0 => /lib/libpthread.so.0 (0x2866a000) > >> libGL.so.1 => /usr/lib/libGL.so.1 (0x28680000) > > ^^^^^^^^^^^^^^^^^^^ [1] Seconded [2] and do you really have /usr/lib/libGL.so.1 (a file or a link etc.)? Or is a linuxbase (/compat/linux) is somehow got stripped? So far seems that it is a main question. 'cause this file can be at /usr/local/lib, /usr/X11R6/lib, /compat/linux/ but not at /usr/lib. > >> libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x28716000) > >> libmss.so.6 => not found > >> libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x28796000) > > ^^^^^^^^^^^^^^^^^^^^^^^^ [1] > >> libc.so.6 => /lib/libc.so.6 (0x2881c000) > >> /lib/ld-linux.so.2 (0x28623000) > >> libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x28960000) > > ^^^^^^^^^^^^^^^^^^^^^^^ [1] > >> libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1 (0x292f8000) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [1] > >> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x292fa000) > >> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x29309000) > >> libdl.so.2 => /lib/libdl.so.2 (0x293dc000) > >> libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x293e1000) > >> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x294ca000) > > > >> > Anyway this configuration is not supported by the FreeBSD-emulation > >> > team. > > > >> Alright, switching back over to ports everything again, > > > > Hope, it's clear to you that you didn't succeed in it. > /compat/linux/usr/lib/libSDL-1.2.so.0 was installed by package > linux-sdl-1.2.10,1 > /compat/linux/usr/lib/libGL.so.100.14.19 was installed by package > nvidia-driver-100.14.19 > /compat/linux/usr/lib/libGLcore.so.100.14.19 was installed by package > nvidia-driver-100.14.19 > /compat/linux/usr/lib/libnvidia-tls.so.100.14.19 was installed by package > nvidia-driver-100.14.19 That's good. > (the respective Nvidia libraries are symlinks to the longer versioned ones) And this is not clear. Symlinked to where? As far as I can see to /usr/lib which shouldn't happen. > >> the issues of > >> everything that tries to load OpenGL crashing still persist. Running > >> ktrace+linux_kdump doesn't appear to yield any pattern of behavior or > >> calls before the segfault. > > > > Actually you get a system which may fault any time (I mean > > linuxulator). You don't have a control over your system now. > > Linux (and may be other) libraries are spread here and there. > > > > I'd recommend you reinstalling the system from scratch, sorry. > As I've said, I've done that several times already. You suggested that > before, and I did it again then. If you give answers to some questions and leave alone others -- I have to deal with it. Hence I may give wrong recommendations, sorry. > Did it change the result? No. Everything > in /compat/linux/ right now is only what's there installed via > ports. Everithing in /compat/linux was never a question at this thread. But /usr/lib has been. > I'm > not mixing and matching or spreading around anything. OK, there is enough questions at this letter to prove your point. > Again, the only things there right now are official ports, hence no libglut > or glxinfo now, either. BTW, about glx. I installed it at a test host (without nvidia stuff) and here it is: ----- # uname -srm FreeBSD 7.0-BETA1 i386 # ldd `which glxinfo` /usr/local/bin/glxinfo: libglut.so.4 => /usr/local/lib/libglut.so.4 (0x28080000) libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0x280b7000) libGL.so.1 => /usr/local/lib/libGL.so.1 (0x28134000) libXext.so.6 => /usr/local/lib/libXext.so.6 (0x28195000) libXmu.so.6 => /usr/local/lib/libXmu.so.6 (0x281a3000) libXi.so.6 => /usr/local/lib/libXi.so.6 (0x281b8000) libX11.so.6 => /usr/local/lib/libX11.so.6 (0x281c0000) libm.so.5 => /lib/libm.so.5 (0x282ac000) libthr.so.3 => /lib/libthr.so.3 (0x282c1000) libc.so.7 => /lib/libc.so.7 (0x282d4000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x283d1000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x284bb000) libXxf86vm.so.1 => /usr/local/lib/libXxf86vm.so.1 (0x284c6000) libXdamage.so.1 => /usr/local/lib/libXdamage.so.1 (0x284cb000) libXfixes.so.3 => /usr/local/lib/libXfixes.so.3 (0x284ce000) libdrm.so.2 => /usr/local/lib/libdrm.so.2 (0x284d3000) libXau.so.6 => /usr/local/lib/libXau.so.6 (0x284e2000) libXt.so.6 => /usr/local/lib/libXt.so.6 (0x284e5000) libSM.so.6 => /usr/local/lib/libSM.so.6 (0x28535000) libICE.so.6 => /usr/local/lib/libICE.so.6 (0x2853d000) libXdmcp.so.6 => /usr/local/lib/libXdmcp.so.6 (0x28554000) librpcsvc.so.4 => /usr/lib/librpcsvc.so.4 (0x28559000) ----- Libraries from ports and base system are at the designed directories. > The only thing thus far which doesn't work as > expected is accelerated OpenGL. That's why I'm trying hard to get it > working, and have suggested alternatives, but with everything at suggested > and stated defaults, all linux apps will apparently do is crash once they > try to load libGL.so.1. If I knew why or had been able to find an answer, > I'd include it. That's why I suggested that specifically might just be an > interaction with the older X11 libraries, too, but I'm not the expert. All you use (but linux_base-fc6) is a default configuration. It should work. Let's find out why it doesn't. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 14:58:57 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34B0D16A421 for ; Sat, 27 Oct 2007 14:58:57 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E749113C465 for ; Sat, 27 Oct 2007 14:58:56 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Iln7a-0005XH-0n for freebsd-emulation@freebsd.org; Sat, 27 Oct 2007 14:58:42 +0000 Received: from r5j156.net.upc.cz ([86.49.9.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 14:58:42 +0000 Received: from gamato by r5j156.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 14:58:42 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: martinko Date: Sat, 27 Oct 2007 16:58:35 +0200 Lines: 14 Message-ID: References: <41348250@bsam.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: r5j156.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.6) Gecko/20070821 SeaMonkey/1.1.4 In-Reply-To: <41348250@bsam.ru> Sender: news Subject: Re: HEADS UP: Fedora 7 is no more Core 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, 27 Oct 2007 14:58:57 -0000 Boris Samorodov wrote: > Hi All, > > > since version 7 Fedora is no more Core, it's Fedora 7. The > corresponding port was renamed from linux_base-fc7 to linux_base-f7. > > > WBR Maybe linux_base-fedora7 would be more clear. (as we have "gentoo", not just "g") M. From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 17:17:33 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ECD616A417 for ; Sat, 27 Oct 2007 17:17:33 +0000 (UTC) (envelope-from thexder2@yahoo.com) Received: from web61313.mail.yahoo.com (web61313.mail.yahoo.com [209.73.179.82]) by mx1.freebsd.org (Postfix) with SMTP id 23F8A13C4A6 for ; Sat, 27 Oct 2007 17:17:33 +0000 (UTC) (envelope-from thexder2@yahoo.com) Received: (qmail 45428 invoked by uid 60001); 27 Oct 2007 17:17:32 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=A9QzO7rrKydKCencZp3+X9JNuiqesvmTjkWAP4L9pseOrkxA0wb5eSj/Fa366w/T5dvF0GxFXoH67IjLrGX3eUNnfx35siRZoPn+9K64XNIDyYr29c2qY6Gjy5JFdDUdSYb8cqftNhjGclBTFqI2c1oyXH/v9dkTAUiLUQJSjME=; X-YMail-OSG: Qw.b4YkVM1muaIQ5JxeUTDSWbIQViIXaRBbUm2oDuXdjf.qbPMEyTjaDcu17Y0lr5_DngTWEy8tTWB9aGKdgMCtYLfUk2YsShQGA24nJNATO07yZJrgK_RvHJALabBg- Received: from [74.226.18.109] by web61313.mail.yahoo.com via HTTP; Sat, 27 Oct 2007 10:17:32 PDT Date: Sat, 27 Oct 2007 10:17:32 -0700 (PDT) From: john carlton To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Message-ID: <338803.43545.qm@web61313.mail.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: still on svgalib 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, 27 Oct 2007 17:17:33 -0000 Has anyone gotten svgalib linux programs to run? If so under what version of linux core and how is it setup? All the stuff I've found was for OpenBSD. I'm using FreeBSD 6.2 and fc-4_9 linux core right now and can't get the console to open. Other linux programs work fine but I can't run any svgalib test programs or anything from linux. The error is the one svgalib gives when your console doesn't have permissions (I think). "Not running in a graphics capable console, and unable to find one." However my FreeBSD svgalib programs work. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 19:47:52 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DEDD16A419 for ; Sat, 27 Oct 2007 19:47:52 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: from web50303.mail.re2.yahoo.com (web50303.mail.re2.yahoo.com [206.190.38.57]) by mx1.freebsd.org (Postfix) with SMTP id 19EE313C4AA for ; Sat, 27 Oct 2007 19:47:52 +0000 (UTC) (envelope-from tim1timau@yahoo.com) Received: (qmail 17322 invoked by uid 60001); 27 Oct 2007 19:47:51 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uFzxBXFSEq8avQ5mTO7zUj+lNsZG8OzKAyHXiEj4ypZtq6fL9GsIwyTWg+Xpj7nXGlSyI+OKrkoUsDk/eD9T9w2k0yYdVwC8f5+H7wEFFHfTlCRxwU1l5VM/fzuGaPMEYS6ug2GEBiFAKbJM08sj29F2adOjt+ZE/yEwEj/Zqzo=; X-YMail-OSG: voIVfmgVM1lGUpMnfiJfMTrszb7zDumJjCuymzDqWVLJc35uIZTYder9S1w1Pnq55zAMSkjZkWV1GAosp5i9BlyxFFkwJwYFcQDHrhGV.B1oG5m0sg8- Received: from [203.49.197.51] by web50303.mail.re2.yahoo.com via HTTP; Sat, 27 Oct 2007 12:47:51 PDT Date: Sat, 27 Oct 2007 12:47:51 -0700 (PDT) From: Tim Clewlow To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <363054.17279.qm@web50303.mail.re2.yahoo.com> Subject: Re: Res: Which "linux emulation" works with which programs or the inverse? 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, 27 Oct 2007 19:47:52 -0000 --- Rafael Caesar Lenzi wrote: > > # Short and sweet summary: > > > > install www/firefox > > install print/acroread7 > > install java/diablo-jdk15 > > install www/linux-flashplugin7 > > kldload linux > > echo "none /compat/linux/proc linprocfs rw 0 > 0" >> /etc/fstab > > mount -a > > echo "linux_enable=\"YES\"" >> /etc/rc.conf > > nspluginwrapper -v -a -i > > > > Hope this at least gives pointers as to what to do in FreeBSD 7. > Hi, i apply this solution here, but sound in youtube has no sound :( > And acroread7 fail on load. > I'm using FreeBSD 6.2-RELEASE. > > Rafael Lenzi I am suprised, I know it definately works for youtube. Are you installing the packages or from ports? If you are using packages, then make sure the following are also installed (they get installed as dependencies when using ports and may be missing if you are using packages). print/acroreadwrapper - normally installed as dependency for acroread7 java/javavmwrapper - normally installed as dependency for diablo-jdk15 www/nspluginwrapper - normally installed as dependency for linux-flashplugin7 If any were missing, then after you add them you should also do 'nspluginwrapper -v -a -i' again. At the end, if you do 'nspluginwrapper -l' you should see something like this, you really want to see the libflashplayer.so and nppdf.so lines. # nspluginwrapper -l /usr/X11R6/lib/browser_plugins/npwrapper.nphelix.so Original plugin: /usr/X11R6/lib/linux-mozilla/plugins/nphelix.so Wrapper version string: 0.9.91.5 /usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so Wrapper version string: 0.9.91.5 /usr/X11R6/lib/browser_plugins/npwrapper.nppdf.so Original plugin: /usr/X11R6/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so Wrapper version string: 0.9.91.5 # --- If you are using packages, ie not ports, then this might be the problem. As a rule I always use ports, and have them nicely up to date, which means what I have installed may have had fixes applied after the 6.2 release that solve these problems. This also means that I am certain all dependencies are really being installed, because ports wont work without them. If you want to know how to get the latest version of ports, it is in the manual, or I will be happy to show you, it is very easy, but takes a while as it has to download quite a bit the first time through. It will also take quite a while to rebuild/compile many things (and I do mean many) - it will take hours, probably all day really. All I can say is that it definately works - and learning how to keep ports up to date is a relatively safe way of introducing you to the procedures for keeping the kernel/world up to date too. Feel free to email me off the list, or move to questions@, if this is getting rather off topic. :-) Tim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 20:05:11 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B87E116A418 for ; Sat, 27 Oct 2007 20:05:11 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 72A9F13C4C2 for ; Sat, 27 Oct 2007 20:05:11 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Ilru8-0007FX-1i for freebsd-emulation@freebsd.org; Sat, 27 Oct 2007 20:05:08 +0000 Received: from 78-1-98-131.adsl.net.t-com.hr ([78.1.98.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 20:05:08 +0000 Received: from ivoras by 78-1-98-131.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Oct 2007 20:05:08 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: Ivan Voras Date: Sat, 27 Oct 2007 22:04:56 +0200 Lines: 41 Message-ID: References: <4721AB07.20708@novakom.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1244B9A99B721CFF6203F321" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-98-131.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <4721AB07.20708@novakom.com.ua> X-Enigmail-Version: 0.95.4 Sender: news Subject: Re: Linux emulation on FreeBSD AMD64 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, 27 Oct 2007 20:05:11 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1244B9A99B721CFF6203F321 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Valery V.Chikalov wrote: > Hi, list. > Now being inspired the great performance improvements on multiprocessor= s > configurations I am trying to switch to FreeBSD 7.0 version, moreover o= n > AMD64 architecture. Must I expect some regression in support old Linux > application here? Are some theoretical obstacles exists that linux > application which successfully worked on FreeBSD from 5.0 up to 6.2 > can not be running on 7.0 AMD64? AFAIK Linux emulation on AMD64 works only for 32-bit code, so you have practically two emulation layers: linux-freebsd and 32-64. There's all kinds of things that might go wrong. This is a "generic" answer, I don't really know the exact answer to your question. --------------enig1244B9A99B721CFF6203F321 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHI5noldnAQVacBcgRApYwAKD1OcizuNeYJwFHpx/WUTaQroZiJgCfam8D QTIn7JQU8V8+51lkr9NepgY= =51F4 -----END PGP SIGNATURE----- --------------enig1244B9A99B721CFF6203F321-- From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 27 21:40:59 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E8F7A16A418; Sat, 27 Oct 2007 21:40:59 +0000 (UTC) (envelope-from valera@chikalov.dp.ua) Received: from halik.com.ua (halik.com.ua [193.178.146.121]) by mx1.freebsd.org (Postfix) with ESMTP id A704413C48A; Sat, 27 Oct 2007 21:40:59 +0000 (UTC) (envelope-from valera@chikalov.dp.ua) Received: from tiger.novakom.dp.ua (unknown [77.109.20.160]) by halik.com.ua (Postfix) with ESMTP id 8AA995C07E; Sun, 28 Oct 2007 00:08:49 +0300 (EEST) Message-ID: <4723A8D6.6020002@chikalov.dp.ua> Date: Sun, 28 Oct 2007 00:08:38 +0300 From: "Valery V.Chikalov" User-Agent: Thunderbird 2.0.0.6 (X11/20070814) MIME-Version: 1.0 To: Ivan Voras , freebsd-emulation@freebsd.org References: <4721AB07.20708@novakom.com.ua> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Linux emulation on FreeBSD AMD64 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, 27 Oct 2007 21:41:00 -0000 Ivan Voras wrote: > Valery V.Chikalov wrote: >> Hi, list. > >> Now being inspired the great performance improvements on multiprocessors >> configurations I am trying to switch to FreeBSD 7.0 version, moreover on >> AMD64 architecture. Must I expect some regression in support old Linux >> application here? Are some theoretical obstacles exists that linux >> application which successfully worked on FreeBSD from 5.0 up to 6.2 >> can not be running on 7.0 AMD64? > > AFAIK Linux emulation on AMD64 works only for 32-bit code, so you have > practically two emulation layers: linux-freebsd and 32-64. There's all > kinds of things that might go wrong. > > This is a "generic" answer, I don't really know the exact answer to your > question. > > Hi, Ivan. Thank you for your answer. Yes I know that Linux emulation is 32 bit ever on AMD64 FreeBSD and that exactly what I need as I own old 32bit 9.0.1 Oracle server. I have investigated this problem little more. Oracle(+ rh7) can be successfully started on FreeBSD 7.0 (i386) SMP capable kernel, SHED_ULE, Core2Duo and so on... I fond this: http://wiki.freebsd.org/linux-kernel/ltp I don't know how actual this info now, it seems little bit old. I did: grep UNIMPL /sys/amd64/linux32/syscalls.master > amd64.unimpl.txt grep UNIMPL /sys/i386/linux/syscalls.master > i386.unimpl.txt diff i386.unimpl.txt amd64.unimpl.txt 6d5 < 28 AUE_FSTAT UNIMPL fstat 14d12 < 86 AUE_USELIB UNIMPL linux_uselib 16d13 < 101 AUE_NULL UNIMPL ioperm 18,19d14 < 113 AUE_NULL UNIMPL vm86old < 123 AUE_NULL UNIMPL modify_ldt 21d15 < 166 AUE_NULL UNIMPL vm86 29d22 < 244 AUE_NULL UNIMPL linux_get_thread_area So there is some regression between i386 and AMD64 in a number of system calls emulated. But Oracle not dumping core with signal 12(non-existent system call) It's saying: ========== 27122, 00000, "unable to protect memory" // *Cause: mprotect() call failed ========== and than dumps core with signal 11. I instrumented mprotect(2) system call in linux32_machdep.c with -return (mprotect(td, &bsd_args)); +ret = mprotect(td, &bsd_args); +printf("mprotect addr:%lx, return %d\n", uap->addr, ret); +return ret; and got something like: Oct 27 19:42:59 tiger kernel: mprotect addr:2a27d000, return 0 Oct 27 19:42:59 tiger kernel: mprotect addr:2a7c1000, return 0 Oct 27 19:42:59 tiger kernel: mprotect addr:2a7cd000, return 0 Oct 27 19:42:59 tiger kernel: mprotect addr:2a7e2000, return 0 Oct 27 19:42:59 tiger kernel: mprotect addr:2a7ef000, return 0 Oct 27 19:43:09 tiger kernel: mprotect addr:55c00000, return 13 Oct 27 19:43:09 tiger kernel: mprotect addr:55c81000, return 13 where 13 is EACCES. So, I think we have some regression in supporting old linux binaries on AMD64 and possibly not connected with missing system calls. Don't know where to move from here. BTW, ktrace don't usable for me on FreeBSD 7.0 any arch, kdump dumping core on freebsd6_mmap system call. Thanks. Valery.