From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 21 11:06:58 2008 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 39FEE16A568 for ; Mon, 21 Jan 2008 11:06:58 +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 2B76913C46B for ; Mon, 21 Jan 2008 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0LB6vPj046964 for ; Mon, 21 Jan 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0LB6u6g046960 for freebsd-emulation@FreeBSD.org; Mon, 21 Jan 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 21 Jan 2008 11:06:56 GMT Message-Id: <200801211106.m0LB6u6g046960@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, 21 Jan 2008 11:06:58 -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 o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 11:42:02 2008 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 E32C016A469; Tue, 22 Jan 2008 11:42:02 +0000 (UTC) (envelope-from nm@web.am) Received: from mx1.web.am (mx1.web.am [217.113.0.68]) by mx1.freebsd.org (Postfix) with ESMTP id 64F2C13C447; Tue, 22 Jan 2008 11:42:02 +0000 (UTC) (envelope-from nm@web.am) Received: from localhost (localhost.web.am [127.0.0.1]) by localhost (Postfix) with SMTP id 7D5E861F60; Tue, 22 Jan 2008 15:09:50 +0400 (AMT) Received: from aldan.web.am (unknown [217.113.20.82]) by mx1.web.am (Postfix) with ESMTP id AAD6D61F79; Tue, 22 Jan 2008 15:09:49 +0400 (AMT) Message-ID: <4795CF12.5010003@web.am> Date: Tue, 22 Jan 2008 15:10:10 +0400 From: Gaspar Chilingarov User-Agent: Thunderbird 2.0.0.9 (X11/20080116) MIME-Version: 1.0 To: Boris Samorodov References: <61386061@bb.ipt.ru> In-Reply-To: <61386061@bb.ipt.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, bug-followup@FreeBSD.org Subject: Re: ports/119880: emulators/linux_base-f7 - [linux] OpenOffice 2.x fails after portupgrade with "error writing file" 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: Tue, 22 Jan 2008 11:42:03 -0000 Boris Samorodov wrote: > The port itself doesn't install LINUXBASE/tmp (it is removed before > install). Take a look at the Makefile: > ----- > ... > REMOVE_DIRS= boot dev home initrd root tmp var/log var/run var/tmp > ... > ----- > > Seems that you have a stale directory. Please check it up. > > WBR I got the source of the problem. If you run OpenOffice using root account, it creates /compat/linux/tmp with illegal permissions. Shouldn't linuxolator report to linux applications that /tmp exists, even if we have no /compat/linux/tmp, but have /tmp ? This is a trace of opeoffice calls 42087 soffice.bin CALL close(0xc) 42087 soffice.bin RET close 0 42087 soffice.bin CALL linux_mkdir(0xffffc5fc,0x1ff) 42087 soffice.bin NAMI "/compat/linux" 42087 soffice.bin NAMI "/compat/linux/tmp" 42087 soffice.bin RET linux_mkdir 0 42087 soffice.bin CALL umask(0x3f) 42087 soffice.bin RET umask 18/0x12 42087 soffice.bin CALL linux_open(0xffffc4e4,0x18800,0xffffc4e8) 42087 soffice.bin NAMI "/compat/linux/tmp" 42087 soffice.bin NAMI "/compat/linux" 42087 soffice.bin NAMI "/compat/linux/tmp" 42087 soffice.bin RET linux_open 12/0xc 42087 soffice.bin CALL linux_fstat64(0xc,0xffffc468,0x2935fff4) 42087 soffice.bin RET linux_fstat64 0 42087 soffice.bin CALL linux_fcntl64(0xc,0x2,0x1) 42087 soffice.bin RET linux_fcntl64 0 42087 soffice.bin CALL umask(0x12) 42087 soffice.bin RET umask 63/0x3f 42087 soffice.bin CALL close(0xc) 42087 soffice.bin RET close 0 42087 soffice.bin CALL gettimeofday(0xffffd4ec,0) 42087 soffice.bin RET gettimeofday 0 42087 soffice.bin CALL linux_mkdir(0xffffc4ec,0x1ff) 42087 soffice.bin NAMI "/compat/linux/tmp" 42087 soffice.bin NAMI "/compat/linux/tmp/sv248.tmp" 42087 soffice.bin RET linux_mkdir 0 42087 soffice.bin CALL linux_mkdir(0xffffbd30,0x1ff) As you can see, mkdir does not check, that fallback directory exists, but creates one under /compat/linux .... is it right? I'm off the -emulation list, so please cc me. Kernel info: FreeBSD aldan.web.am 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jan 10 22:39:43 AMT 2008 root@aldan.web.am:/mnt/ufsflash/src/obj/usr/src1/sys/nm amd64 compat.linux.osrelease: 2.4.20 /Gaspar -- Gaspar Chilingarov System Administrator, Network security consulting t +37493 419763 (mob) i 63174784 e nm@web.am w http://gasparchilingarov.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 12:25:38 2008 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 DF9F616A419 for ; Tue, 22 Jan 2008 12:25:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7C57C13C4D5 for ; Tue, 22 Jan 2008 12:25:38 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57F2D.dip.t-dialin.net [84.165.127.45]) by redbull.bpaserver.net (Postfix) with ESMTP id BB2EE2E347; Tue, 22 Jan 2008 13:25:26 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 13A5C7A6D4; Tue, 22 Jan 2008 13:22:18 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m0MCMHXC013859; Tue, 22 Jan 2008 13:22:17 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Tue, 22 Jan 2008 13:22:17 +0100 Message-ID: <20080122132217.699ex5azgg0oosc8@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Tue, 22 Jan 2008 13:22:17 +0100 From: Alexander Leidinger To: Boris Samorodov References: <61386061@bb.ipt.ru> <4795CF12.5010003@web.am> <64902368@bb.ipt.ru> In-Reply-To: <64902368@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-13.504, required 6, BAYES_00 -15.00, MIME_QP_LONG_LINE 1.40, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Gaspar Chilingarov , freebsd-emulation@freebsd.org Subject: Re: ports/119880: emulators/linux_base-f7 - [linux] OpenOffice 2.x fails after portupgrade with "error writing file" 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: Tue, 22 Jan 2008 12:25:39 -0000 Quoting Boris Samorodov (from Tue, 22 Jan 2008 14:51:27 +0300)= : >> Shouldn't linuxolator report to linux applications that /tmp exists, >> even if we have no /compat/linux/tmp, but have /tmp ? This is a trace >> of opeoffice calls This is an answer which I can not fix to yes or no. Both are valid in =20 some way. I tend to say "yes" for the default case of running as an =20 user without a chroot, but I also see where it may be good to have the =20 current "no" (e.g. chroots are obvious to me, other uses may be valid =20 too). >> 42087 soffice.bin CALL close(0xc) >> 42087 soffice.bin RET close 0 >> 42087 soffice.bin CALL linux_mkdir(0xffffc5fc,0x1ff) >> 42087 soffice.bin NAMI "/compat/linux" >> 42087 soffice.bin NAMI "/compat/linux/tmp" I would say the bug is that OO doesn't try to e.g. cd into or readdir =20 of the directory or something like this before doing a mkdir. Bye, Alexander. --=20 BOFH excuse #313: your process is not ISO 9000 compliant http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 12:29:23 2008 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 BB1D116A417 for ; Tue, 22 Jan 2008 12:29:23 +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 5C6D913C455 for ; Tue, 22 Jan 2008 12:29:23 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from bb.ipt.ru ([194.62.233.89]) by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD)) id 1JHHge-0000b1-7C; Tue, 22 Jan 2008 14:53:04 +0300 To: Gaspar Chilingarov References: <61386061@bb.ipt.ru> <4795CF12.5010003@web.am> From: Boris Samorodov Date: Tue, 22 Jan 2008 14:51:27 +0300 In-Reply-To: <4795CF12.5010003@web.am> (Gaspar Chilingarov's message of "Tue\, 22 Jan 2008 15\:10\:10 +0400") Message-ID: <64902368@bb.ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander@Leidinger.net, freebsd-emulation@freebsd.org Subject: Re: ports/119880: emulators/linux_base-f7 - [linux] OpenOffice 2.x fails after portupgrade with "error writing file" 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: Tue, 22 Jan 2008 12:29:23 -0000 (CCing Alexander Leidinger) On Tue, 22 Jan 2008 15:10:10 +0400 Gaspar Chilingarov wrote: > Boris Samorodov wrote: > > The port itself doesn't install LINUXBASE/tmp (it is removed before > > install). Take a look at the Makefile: > > ----- > > ... > > REMOVE_DIRS= boot dev home initrd root tmp var/log var/run var/tmp > > ... > > ----- > > > > Seems that you have a stale directory. Please check it up. > I got the source of the problem. > If you run OpenOffice using root account, I never use user applications using root account. > it creates /compat/linux/tmp > with illegal permissions. I'd say that this is an openoffice bug (unless it behaves so only under linuxulator but not native linux)... > Shouldn't linuxolator report to linux applications that /tmp exists, > even if we have no /compat/linux/tmp, but have /tmp ? This is a trace > of opeoffice calls > 42087 soffice.bin CALL close(0xc) > 42087 soffice.bin RET close 0 > 42087 soffice.bin CALL linux_mkdir(0xffffc5fc,0x1ff) > 42087 soffice.bin NAMI "/compat/linux" > 42087 soffice.bin NAMI "/compat/linux/tmp" > 42087 soffice.bin RET linux_mkdir 0 > 42087 soffice.bin CALL umask(0x3f) > 42087 soffice.bin RET umask 18/0x12 > 42087 soffice.bin CALL linux_open(0xffffc4e4,0x18800,0xffffc4e8) > 42087 soffice.bin NAMI "/compat/linux/tmp" > 42087 soffice.bin NAMI "/compat/linux" > 42087 soffice.bin NAMI "/compat/linux/tmp" > 42087 soffice.bin RET linux_open 12/0xc > 42087 soffice.bin CALL linux_fstat64(0xc,0xffffc468,0x2935fff4) > 42087 soffice.bin RET linux_fstat64 0 > 42087 soffice.bin CALL linux_fcntl64(0xc,0x2,0x1) > 42087 soffice.bin RET linux_fcntl64 0 > 42087 soffice.bin CALL umask(0x12) > 42087 soffice.bin RET umask 63/0x3f > 42087 soffice.bin CALL close(0xc) > 42087 soffice.bin RET close 0 > 42087 soffice.bin CALL gettimeofday(0xffffd4ec,0) > 42087 soffice.bin RET gettimeofday 0 > 42087 soffice.bin CALL linux_mkdir(0xffffc4ec,0x1ff) > 42087 soffice.bin NAMI "/compat/linux/tmp" > 42087 soffice.bin NAMI "/compat/linux/tmp/sv248.tmp" > 42087 soffice.bin RET linux_mkdir 0 > 42087 soffice.bin CALL linux_mkdir(0xffffbd30,0x1ff) > As you can see, mkdir does not check, that fallback directory exists, > but creates one under /compat/linux .... is it right? ...the bug is not to check for the directory existence. BTW, what version do you use? > I'm off the -emulation list, so please cc me. > Kernel info: > FreeBSD aldan.web.am 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Thu Jan 10 > 22:39:43 AMT 2008 > root@aldan.web.am:/mnt/ufsflash/src/obj/usr/src1/sys/nm amd64 > compat.linux.osrelease: 2.4.20 And this is not a default/supported value. I don't think it should change something here though. While linux_base port is installed we create a link only for LINUXBASE/usr/tmp. That is because a corresponding directory does not exist at FreeBSD. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 12:35:19 2008 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 B00FB16A420 for ; Tue, 22 Jan 2008 12:35:19 +0000 (UTC) (envelope-from nm@web.am) Received: from mx1.web.am (mx1.web.am [217.113.0.68]) by mx1.freebsd.org (Postfix) with ESMTP id D744F13C4DD for ; Tue, 22 Jan 2008 12:35:18 +0000 (UTC) (envelope-from nm@web.am) Received: from localhost (localhost.web.am [127.0.0.1]) by localhost (Postfix) with SMTP id 1E7FF61D2F; Tue, 22 Jan 2008 16:34:56 +0400 (AMT) Received: from aldan.web.am (unknown [217.113.20.82]) by mx1.web.am (Postfix) with ESMTP id 91A3B61D3C; Tue, 22 Jan 2008 16:34:55 +0400 (AMT) Message-ID: <4795E304.3000209@web.am> Date: Tue, 22 Jan 2008 16:35:16 +0400 From: Gaspar Chilingarov User-Agent: Thunderbird 2.0.0.9 (X11/20080116) MIME-Version: 1.0 To: Boris Samorodov References: <61386061@bb.ipt.ru> <4795CF12.5010003@web.am> <64902368@bb.ipt.ru> In-Reply-To: <64902368@bb.ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander@Leidinger.net, freebsd-emulation@freebsd.org Subject: Re: ports/119880: emulators/linux_base-f7 - [linux] OpenOffice 2.x fails after portupgrade with "error writing file" 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: Tue, 22 Jan 2008 12:35:19 -0000 Boris Samorodov wrote: > (CCing Alexander Leidinger) > > On Tue, 22 Jan 2008 15:10:10 +0400 Gaspar Chilingarov wrote: >> Boris Samorodov wrote: >>> The port itself doesn't install LINUXBASE/tmp (it is removed before >>> install). Take a look at the Makefile: >>> ----- >>> ... >>> REMOVE_DIRS= boot dev home initrd root tmp var/log var/run var/tmp >>> ... >>> ----- >>> >>> Seems that you have a stale directory. Please check it up. > >> I got the source of the problem. > >> If you run OpenOffice using root account, > > I never use user applications using root account. I know about this, and I do not use them too. Anyway, there may be another linux app, which behaves in the same way and which should be run under root. > >> it creates /compat/linux/tmp >> with illegal permissions. > > I'd say that this is an openoffice bug (unless it behaves so only > under linuxulator but not native linux)... It won't behave so under linux, because mkdir will report error creating direcory, which really exists. > >> Shouldn't linuxolator report to linux applications that /tmp exists, >> even if we have no /compat/linux/tmp, but have /tmp ? This is a trace >> of opeoffice calls > >> 42087 soffice.bin CALL close(0xc) >> 42087 soffice.bin RET close 0 >> 42087 soffice.bin CALL linux_mkdir(0xffffc5fc,0x1ff) >> 42087 soffice.bin NAMI "/compat/linux" >> 42087 soffice.bin NAMI "/compat/linux/tmp" >> 42087 soffice.bin RET linux_mkdir 0 >> 42087 soffice.bin CALL umask(0x3f) >> 42087 soffice.bin RET umask 18/0x12 >> 42087 soffice.bin CALL linux_open(0xffffc4e4,0x18800,0xffffc4e8) >> 42087 soffice.bin NAMI "/compat/linux/tmp" >> 42087 soffice.bin NAMI "/compat/linux" >> 42087 soffice.bin NAMI "/compat/linux/tmp" >> 42087 soffice.bin RET linux_open 12/0xc >> 42087 soffice.bin CALL linux_fstat64(0xc,0xffffc468,0x2935fff4) >> 42087 soffice.bin RET linux_fstat64 0 >> 42087 soffice.bin CALL linux_fcntl64(0xc,0x2,0x1) >> 42087 soffice.bin RET linux_fcntl64 0 >> 42087 soffice.bin CALL umask(0x12) >> 42087 soffice.bin RET umask 63/0x3f >> 42087 soffice.bin CALL close(0xc) >> 42087 soffice.bin RET close 0 >> 42087 soffice.bin CALL gettimeofday(0xffffd4ec,0) >> 42087 soffice.bin RET gettimeofday 0 >> 42087 soffice.bin CALL linux_mkdir(0xffffc4ec,0x1ff) >> 42087 soffice.bin NAMI "/compat/linux/tmp" >> 42087 soffice.bin NAMI "/compat/linux/tmp/sv248.tmp" >> 42087 soffice.bin RET linux_mkdir 0 >> 42087 soffice.bin CALL linux_mkdir(0xffffbd30,0x1ff) > >> As you can see, mkdir does not check, that fallback directory exists, >> but creates one under /compat/linux .... is it right? > > ...the bug is not to check for the directory existence. > BTW, what version do you use? both OO 2.0 and 2.3 behave in the same way. >> compat.linux.osrelease: 2.4.20 > > And this is not a default/supported value. I don't think it should > change something here though. > I run skype on FreeBSD and /usr/ports/updating file points that 20071101: AFFECTS: users of net/skype-devel AUTHOR: beech@FreeBSD.org The skype-devel port has been upgraded to version 1.4.0.118. This requires a sysctl change to run. After upgrading, please do: "sysctl compat.linux.osrelease=2.4.20" from a terminal. Also add: "compat.linux.osrelease=2.4.20" to your /etc/sysctl.conf to make this change at boot time. > While linux_base port is installed we create a link only for > LINUXBASE/usr/tmp. That is because a corresponding directory > does not exist at FreeBSD. I see. Well, anyway, may be it makes sense to close this bug report. It got documented on the net and some one with similar errors will find it easily on the net :) because solution is as simple as remove /compat/linux/tmp it's enougth I think. PS. I'll nag OO developers a little with this issue -- may be it will be fixed. Thank you all, Gaspar -- Gaspar Chilingarov System Administrator, Network security consulting t +37493 419763 (mob) i 63174784 e nm@web.am w http://gasparchilingarov.com/ From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 12:40:40 2008 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 985AA16A47A for ; Tue, 22 Jan 2008 12:40:40 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from main.pifpaf.pl (main.pifpaf.pl [193.42.218.2]) by mx1.freebsd.org (Postfix) with ESMTP id EF85013C467 for ; Tue, 22 Jan 2008 12:40:39 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from mathom.promienista (err222.neoplus.adsl.tpnet.pl [83.20.111.222]) (authenticated bits=0) by Mail Exchanger main.pifpaf.pl with ESMTP id m0MC2iHL006620; Tue, 22 Jan 2008 13:02:44 +0100 (CET) (envelope-from mathom@pifpaf.pl) Date: Tue, 22 Jan 2008 13:02:41 +0100 From: Tomasz Formanowski X-Mailer: The Bat! (v3.5.26) Professional X-Priority: 3 (Normal) Message-ID: <1096069283.20080122130241@pifpaf.pl> To: freebsd-emulation@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Flag: NO X-Spam-Status: No, score=-102.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,USER_IN_WHITELIST autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on mail.pifpaf.pl X-Virus-Scanned: ClamAV version 0.90.1, clamav-milter version 0.90.1 on main.pifpaf.pl X-Virus-Status: Clean Cc: Subject: getdents() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Formanowski List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 12:40:40 -0000 Hi, Is there any hope that this: http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 will be fixed soon ? Linux emulation is unusable now for newer software, like game servers etc. regards From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 22 15:19:55 2008 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 7B7B616A417 for ; Tue, 22 Jan 2008 15:19:55 +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 4001C13C45B for ; Tue, 22 Jan 2008 15:19:54 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id E25A266C1EB; Tue, 22 Jan 2008 16:19:52 +0100 (CET) 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 1RIyKvTiWgjo; Tue, 22 Jan 2008 16:19:41 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C1A8966C1D3; Tue, 22 Jan 2008 16:19:41 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m0MFJfLu093196; Tue, 22 Jan 2008 16:19:41 +0100 (CET) (envelope-from rdivacky) Date: Tue, 22 Jan 2008 16:19:41 +0100 From: Roman Divacky To: Tomasz Formanowski Message-ID: <20080122151941.GA93141@freebsd.org> References: <1096069283.20080122130241@pifpaf.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1096069283.20080122130241@pifpaf.pl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@FreeBSD.org Subject: Re: getdents() 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: Tue, 22 Jan 2008 15:19:55 -0000 On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote: > Hi, > > Is there any hope that this: > http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 > > will be fixed soon ? > > Linux emulation is unusable now for newer software, like game servers > etc. in private mails we agreed that tomasz/his-company and me will try to cooperate on this on... hopefully this will fruit some results From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 25 12:30:05 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9656016A418 for ; Fri, 25 Jan 2008 12:30:05 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3D413C455 for ; Fri, 25 Jan 2008 12:30:05 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5490E.dip.t-dialin.net [84.165.73.14]) by redbull.bpaserver.net (Postfix) with ESMTP id 9F1EC2E0D3; Fri, 25 Jan 2008 13:12:22 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 166388A964; Fri, 25 Jan 2008 13:08:18 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m0PC8H2q043324; Fri, 25 Jan 2008 13:08:17 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 25 Jan 2008 13:08:17 +0100 Message-ID: <20080125130817.k206b7ugw00wwcos@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 25 Jan 2008 13:08:17 +0100 From: Alexander Leidinger To: Rainer Hurling References: <4798B45D.4080509@gwdg.de> In-Reply-To: <4798B45D.4080509@gwdg.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.5) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: de-acroread8 not starting any more 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, 25 Jan 2008 12:30:05 -0000 Quoting Rainer Hurling (from Thu, 24 Jan 2008 =20 16:53:01 +0100): > Dear list, > > after recent updates of FreeBSD 8.0-CURRENT and some ports (gnome, kde, > xorg etc.) acroread8 (german version) does not start any more. I have > this behaviour on two machines. > > Instead starting the program a message with backtrace information > appears, see below. > > The error message is irritating because libc.so.6 is stored under > /usr/local/lib/compat. On /lib/ there is the newer libc.so.7. Acroread is a linux program, so it is supposed to take the libs from =20 /compat/linux/..., you need to take this as the base path instead of a =20 plain / if you look for libs. > I am working with emulators/linux_base-f7-7. This is not the default linux base. Please revert to the default linux =20 base and the default linux kernel emulation (2.4.2 instead of =20 something else). If the problem persists, then the problem is probably =20 within the userland. If it doesn't persist, then you've hit one of the =20 problems with the non default linux kernel emulation. > ------------------------------------------------------- >> acroread > rm: cannot remove > `/home/rhurlin/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js': > Function not implemented This is strange... I wouldn't expect a "Function not implemented" for an rm. > (acroread:1115): Gtk-WARNING **: Locale not supported by C library. > Using the fallback 'C' locale. > *** glibc detected *** > /usr/local/Adobe/Reader8/DEU/Adobe/Reader8/bin/acroread: double free or > corruption (!prev): 0x002ad9f8 *** This may be the cause of the previous error or not. Bye, Alexander. --=20 Since we have to speak well of the dead, let's knock them while they're alive. =09=09-- John Sloan http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 26 12:01:50 2008 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 34AA116A46E; Sat, 26 Jan 2008 12:01:50 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from main.pifpaf.pl (main.pifpaf.pl [193.42.218.2]) by mx1.freebsd.org (Postfix) with ESMTP id BC45913C4F3; Sat, 26 Jan 2008 12:01:49 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from mathom.promienista (esk32.neoplus.adsl.tpnet.pl [83.20.130.32]) (authenticated bits=0) by Mail Exchanger main.pifpaf.pl with ESMTP id m0QC1mid064353; Sat, 26 Jan 2008 13:01:48 +0100 (CET) (envelope-from mathom@pifpaf.pl) Date: Sat, 26 Jan 2008 13:01:47 +0100 From: Tomasz Formanowski X-Mailer: The Bat! (v3.5.26) Professional X-Priority: 3 (Normal) Message-ID: <157462854.20080126130147@pifpaf.pl> To: Roman Divacky In-Reply-To: <20080122151941.GA93141@freebsd.org> References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Flag: NO X-Spam-Status: No, score=-102.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,USER_IN_WHITELIST autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on mail.pifpaf.pl X-Virus-Scanned: ClamAV version 0.90.1, clamav-milter version 0.90.1 on main.pifpaf.pl X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org Subject: Re[2]: getdents() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Formanowski List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 12:01:50 -0000 RD> On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote: >> Hi, >> >> Is there any hope that this: >> http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 >> >> will be fixed soon ? >> >> Linux emulation is unusable now for newer software, like game servers >> etc. RD> in private mails we agreed that tomasz/his-company and me will try RD> to cooperate on this on... RD> hopefully this will fruit some results We've looked through the code and decided to give linux a try. We've been using freebsd for 5 years in production environment and it's a good system. So we wont be fixing this bugs, sorry. If it were only this one bug, than why not, but ... There were problems with: SMP support, which we hoped would be fixed in 7.x releases. And maybe it were, but linuxolator is a mess there. Bottomline is, that not only 2.6 kernel support is incomplete, there is also faulty 2.4 support. Apart from getdents() problems (which probably is really a deeper problem - looks like programs crash not on getdents() but on closedir(). just as something had freed the descriptor), there seems to be a problem with fork() event in 2.4 kernel and fc4 libs. Programs like team speak 2 and unreal-server crash when trying to fork. With all our sympathy to freebsd, we sadly have to say, that this is going nowhere :( regards tf From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 26 12:10:06 2008 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 CD21816A418 for ; Sat, 26 Jan 2008 12:10:06 +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 8B45713C458 for ; Sat, 26 Jan 2008 12:10:06 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7798966C67C; Sat, 26 Jan 2008 13:10:05 +0100 (CET) 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 3vecVFI3wm4h; Sat, 26 Jan 2008 13:09:54 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B752A66C67A; Sat, 26 Jan 2008 13:09:54 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m0QC9shh068967; Sat, 26 Jan 2008 13:09:54 +0100 (CET) (envelope-from rdivacky) Date: Sat, 26 Jan 2008 13:09:54 +0100 From: Roman Divacky To: Tomasz Formanowski Message-ID: <20080126120954.GA68884@freebsd.org> References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> <157462854.20080126130147@pifpaf.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <157462854.20080126130147@pifpaf.pl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@FreeBSD.org Subject: Re: getdents() 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, 26 Jan 2008 12:10:06 -0000 On Sat, Jan 26, 2008 at 01:01:47PM +0100, Tomasz Formanowski wrote: > RD> On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote: > >> Hi, > >> > >> Is there any hope that this: > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 > >> > >> will be fixed soon ? > >> > >> Linux emulation is unusable now for newer software, like game servers > >> etc. > > RD> in private mails we agreed that tomasz/his-company and me will try > RD> to cooperate on this on... > > RD> hopefully this will fruit some results > > > We've looked through the code and decided to give linux a try. We've > been using freebsd for 5 years in production environment and it's a > good system. So we wont be fixing this bugs, sorry. If it were only > this one bug, than why not, but ... sorry to hear that > There were problems with: SMP support, which we hoped would be fixed > in 7.x releases. And maybe it were, but linuxolator is a mess there. > Bottomline is, that not only 2.6 kernel support is incomplete, there what exactly do you miss int he 2.6 support? there's epoll() and *at syscalls in the queue + some smaller patches > is also faulty 2.4 support. Apart from getdents() problems (which > probably is really a deeper problem - looks like programs crash not on > getdents() but on closedir(). just as something had freed the > descriptor), there seems to be a problem with fork() event in 2.4 > kernel and fc4 libs. Programs like team speak 2 and unreal-server > crash when trying to fork. can you elaborate a little more on the problems you faced? having them documented cant hurt... I still hope to find some time to fix things roman From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 26 19:55:03 2008 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 6BD2A16A41A for ; Sat, 26 Jan 2008 19:55:03 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 31F8513C44B for ; Sat, 26 Jan 2008 19:55:02 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A552E4.dip.t-dialin.net [84.165.82.228]) by redbull.bpaserver.net (Postfix) with ESMTP id 3CB3E2E0D3; Sat, 26 Jan 2008 20:54:53 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 85EBA6753E; Sat, 26 Jan 2008 20:54:49 +0100 (CET) Date: Sat, 26 Jan 2008 20:54:31 +0100 From: Alexander Leidinger To: freebsd-emulation@freebsd.org Message-ID: <20080126205431.682b9401@deskjail> In-Reply-To: <157462854.20080126130147@pifpaf.pl> References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> <157462854.20080126130147@pifpaf.pl> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: Subject: Re: getdents() 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, 26 Jan 2008 19:55:03 -0000 Quoting Tomasz Formanowski (Sat, 26 Jan 2008 13:01:47 +0100): > RD> On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote: > >> Hi, > >> > >> Is there any hope that this: > >> http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 > >> > >> will be fixed soon ? > >> > >> Linux emulation is unusable now for newer software, like game servers > >> etc. > > RD> in private mails we agreed that tomasz/his-company and me will try > RD> to cooperate on this on... > > RD> hopefully this will fruit some results > > > We've looked through the code and decided to give linux a try. We've > been using freebsd for 5 years in production environment and it's a > good system. So we wont be fixing this bugs, sorry. If it were only > this one bug, than why not, but ... > > There were problems with: SMP support, which we hoped would be fixed > in 7.x releases. And maybe it were, but linuxolator is a mess there. Uhm. It works for a lot of people and we even run the linux regression tests form the linux test project (http://wiki.freebsd.org/linux-kernel/ltp), so if you have problems it would be nice if you could provide some more info than just "a mess". Could you please give instructions how to reproduce the problems you have? > Bottomline is, that not only 2.6 kernel support is incomplete, there Which version did you use for compat.linux.osrelease? Anything apart from 2.4.2 and 2.6.16 is not supported ATM. > is also faulty 2.4 support. Apart from getdents() problems (which > probably is really a deeper problem - looks like programs crash not on > getdents() but on closedir(). just as something had freed the > descriptor), there seems to be a problem with fork() event in 2.4 > kernel and fc4 libs. Programs like team speak 2 and unreal-server > crash when trying to fork. I remember reports from users of team speak that it works for them. What is the osrelease value for the tests you did? Which linux base did you use? Is this an install from scratch, or did you test on a system which has seen updates of the linux ports? If it is the later, are you willing to test again with a clean /compat/linux/ (no linux ports installed) and a reinstall of the linux ports? Does the system survive several buildworlds in a row (to rule out hardware problems)? Which FreeBSD version did you test? Bye, Alexander. -- BOFH excuse #102: Power company testing new voltage spike (creation) equipment http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 26 20:39:30 2008 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 4F6A616A41B for ; Sat, 26 Jan 2008 20:39:30 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from main.pifpaf.pl (main.pifpaf.pl [193.42.218.2]) by mx1.freebsd.org (Postfix) with ESMTP id 77AAF13C46A for ; Sat, 26 Jan 2008 20:39:27 +0000 (UTC) (envelope-from mathom@pifpaf.pl) Received: from mathom.promienista (esk32.neoplus.adsl.tpnet.pl [83.20.130.32]) (authenticated bits=0) by Mail Exchanger main.pifpaf.pl with ESMTP id m0QKdNrc017709; Sat, 26 Jan 2008 21:39:23 +0100 (CET) (envelope-from mathom@pifpaf.pl) Date: Sat, 26 Jan 2008 21:39:21 +0100 From: Tomasz Formanowski X-Mailer: The Bat! (v3.5.26) Professional X-Priority: 3 (Normal) Message-ID: <6340678.20080126213921@pifpaf.pl> To: Alexander Leidinger In-Reply-To: <20080126205431.682b9401@deskjail> References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> <157462854.20080126130147@pifpaf.pl> <20080126205431.682b9401@deskjail> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----------331B88E2B1F8CF8" X-Spam-Flag: NO X-Spam-Status: No, score=-102.3 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO,USER_IN_WHITELIST autolearn=ham version=3.1.7 X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on mail.pifpaf.pl X-Virus-Scanned: ClamAV version 0.90.1, clamav-milter version 0.90.1 on main.pifpaf.pl X-Virus-Status: Clean X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re[2]: getdents() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tomasz Formanowski List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jan 2008 20:39:30 -0000 ------------331B88E2B1F8CF8 Content-Type: text/plain; charset=Windows-1250 Content-Transfer-Encoding: 8bit Witaj Alexander, Dnia Saturday, January 26, 2008, 8:54:31 PM, napisałeś : AL> Quoting Tomasz Formanowski (Sat, 26 Jan 2008 13:01:47 +0100): >> RD> On Tue, Jan 22, 2008 at 01:02:41PM +0100, Tomasz Formanowski wrote: >> >> Hi, >> >> >> >> Is there any hope that this: >> >> http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 >> >> >> >> will be fixed soon ? >> >> >> >> Linux emulation is unusable now for newer software, like game servers >> >> etc. >> >> RD> in private mails we agreed that tomasz/his-company and me will try >> RD> to cooperate on this on... >> >> RD> hopefully this will fruit some results >> >> >> We've looked through the code and decided to give linux a try. We've >> been using freebsd for 5 years in production environment and it's a >> good system. So we wont be fixing this bugs, sorry. If it were only >> this one bug, than why not, but ... >> >> There were problems with: SMP support, which we hoped would be fixed >> in 7.x releases. And maybe it were, but linuxolator is a mess there. AL> Uhm. It works for a lot of people and we even run the linux regression AL> tests form the linux test project AL> (http://wiki.freebsd.org/linux-kernel/ltp), so if you have problems it AL> would be nice if you could provide some more info than just "a mess". AL> Could you please give instructions how to reproduce the problems you AL> have? >> Bottomline is, that not only 2.6 kernel support is incomplete, there AL> Which version did you use for compat.linux.osrelease? Anything apart AL> from 2.4.2 and 2.6.16 is not supported ATM. >> is also faulty 2.4 support. Apart from getdents() problems (which >> probably is really a deeper problem - looks like programs crash not on >> getdents() but on closedir(). just as something had freed the >> descriptor), there seems to be a problem with fork() event in 2.4 >> kernel and fc4 libs. Programs like team speak 2 and unreal-server >> crash when trying to fork. AL> I remember reports from users of team speak that it works for them. AL> What is the osrelease value for the tests you did? Which linux base did AL> you use? Is this an install from scratch, or did you test on a system AL> which has seen updates of the linux ports? If it is the later, are you AL> willing to test again with a clean /compat/linux/ (no linux ports AL> installed) and a reinstall of the linux ports? Does the system survive AL> several buildworlds in a row (to rule out hardware problems)? Which AL> FreeBSD version did you test? TS2 and UT works just fine on bsd <=6.2. I'm talking about 7.x (with default linux_base and 2.4 kernel). There wasn't many problems with older bsd's and linuxolator 2.4. Unfortunately some new games require either kernel 2.6 or glibc 2.6. We've tested the following software on *bsd 7 with fc4*: - Team Speak 2 voice server (/usr/ports/audio/teamspeak_server) Problem: This server dies on startup (core dump). Interestingly it runs fine on 7-beta3 with fc7/kernel 2.6. - Unreal Tournament 99 server (/usr/ports/games/ut-server, we didn't try with ut2003, 2004 and ut3, but i'm pretty sure there will be the same problem there) Problem: The server advertises itself with game master servers. There usualy are 3 default master servers set up. In this configuration server crashes on fork (). It works fine with one master server specified. - HLDS/SRCDS (Valve steam engine) on fc6/fc7, both 7-beta and 7-rc1 Problem: getdents() random crashes. What's interesting, this problem seems to depend on files order in the directory. Try moving some files from http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 test programm from and to temp directory to change files order. getdents() works with some files order, and doesn't work with default one (ie. alphabetical order). What's strange, even with core dump, all files are read fine. Program crashes with double free *after* getdents invokation, maybe on closedir. There may be something with frees the descriptor, maybe sth in glibc. Problem 2: we are also struggling with hdsl/srcds (counter-strike and counter-strike:source) random core dumps for some time now. This problem is hard to replicate and trace (we can't trace all production servers), and seems to be nonexistent on linux. This applies to bsd 4.x, 5.x and 6.x. I've pointed ported distros of this software to give you easier environment for problem reproduction. I've attached kdumps from both with sample server.ini config for ut (put it in System directory and run server with utcmdline.sh from server root dir) pozdrawiam Tomek "Mathom" Formanowski ------------331B88E2B1F8CF8-- From owner-freebsd-emulation@FreeBSD.ORG Sat Jan 26 22:46:24 2008 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 0C61016A418 for ; Sat, 26 Jan 2008 22:46:24 +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 BA49213C45A for ; Sat, 26 Jan 2008 22:46:23 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id ABA3766C6E5; Sat, 26 Jan 2008 23:46:21 +0100 (CET) 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 LfyvvTjBudOK; Sat, 26 Jan 2008 23:46:11 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 4A08566C672; Sat, 26 Jan 2008 23:46:11 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.13.8/8.13.8/Submit) id m0QMkA0F088002; Sat, 26 Jan 2008 23:46:10 +0100 (CET) (envelope-from rdivacky) Date: Sat, 26 Jan 2008 23:46:10 +0100 From: Roman Divacky To: Tomasz Formanowski Message-ID: <20080126224610.GA87902@freebsd.org> References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> <157462854.20080126130147@pifpaf.pl> <20080126205431.682b9401@deskjail> <6340678.20080126213921@pifpaf.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6340678.20080126213921@pifpaf.pl> User-Agent: Mutt/1.4.2.3i Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: getdents() 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, 26 Jan 2008 22:46:24 -0000 > TS2 and UT works just fine on bsd <=6.2. I'm talking about 7.x (with > default linux_base and 2.4 kernel). > > There wasn't many problems with older bsd's and linuxolator 2.4. some people reported problem with newer linuxulator and tracked that down to some sound changes... maybe we should investigate this a little bit further, can someone provide a patch to "undo" the sound changes in question so we have "can you try this?" thing when people report problems? that would surely help > Unfortunately some new games require either kernel 2.6 or glibc 2.6. yes... and thats why we have plans to switch to default 2.6 emulation in 8-current (once epoll and *at is commited) I think its quite ready for it and the more its exposed the more bugs will be fixed roman