From owner-freebsd-emulation@FreeBSD.ORG Sun Aug 21 08:22:19 2005 Return-Path: X-Original-To: emulation@hub.freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03F8316A420; Sun, 21 Aug 2005 08:22:19 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B486C43D45; Sun, 21 Aug 2005 08:22:18 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7L8MIqC032470; Sun, 21 Aug 2005 08:22:18 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7L8MIqS032466; Sun, 21 Aug 2005 08:22:18 GMT (envelope-from linimon) Date: Sun, 21 Aug 2005 08:22:18 GMT From: Mark Linimon Message-Id: <200508210822.j7L8MIqS032466@freefall.freebsd.org> To: xdivac02@stud.fit.vutbr.cz, linimon@FreeBSD.org, emulation@FreeBSD.org Cc: Subject: Re: kern/73165: [patch] getting rid of COMPAT_43 dependancy in linux emulation layer 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 Aug 2005 08:22:19 -0000 Synopsis: [patch] getting rid of COMPAT_43 dependancy in linux emulation layer State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun Aug 21 08:21:46 GMT 2005 State-Changed-Why: Superceded by kern/73165. http://www.freebsd.org/cgi/query-pr.cgi?pr=73165 From owner-freebsd-emulation@FreeBSD.ORG Sun Aug 21 08:23:31 2005 Return-Path: X-Original-To: emulation@hub.freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8EBAB16A41F; Sun, 21 Aug 2005 08:23:31 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BA7143D46; Sun, 21 Aug 2005 08:23:31 +0000 (GMT) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7L8NV3x032619; Sun, 21 Aug 2005 08:23:31 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7L8NV3B032615; Sun, 21 Aug 2005 08:23:31 GMT (envelope-from linimon) Date: Sun, 21 Aug 2005 08:23:31 GMT From: Mark Linimon Message-Id: <200508210823.j7L8NV3B032615@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, emulation@FreeBSD.org Cc: Subject: Re: kern/85175: linux emulation layer without COMPAT_43 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 Aug 2005 08:23:31 -0000 Synopsis: linux emulation layer without COMPAT_43 Responsible-Changed-From-To: freebsd-bugs->emulation Responsible-Changed-By: linimon Responsible-Changed-When: Sun Aug 21 08:23:20 GMT 2005 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=85175 From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 22 05:29:37 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A21116A41F for ; Mon, 22 Aug 2005 05:29:37 +0000 (GMT) (envelope-from jan@emmi.physik-pool.TU-Berlin.DE) Received: from mail.zrz.tu-berlin.de (mail.zrz.TU-Berlin.DE [130.149.4.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81A6F43D45 for ; Mon, 22 Aug 2005 05:29:36 +0000 (GMT) (envelope-from jan@emmi.physik-pool.TU-Berlin.DE) Received: from localhost ([127.0.0.1] helo=mail.zrz.TU-Berlin.DE) by mail.zrz.tu-berlin.de with esmtp (exim-4.52) for id 1E74sJ-0003aC-Jf; Mon, 22 Aug 2005 07:29:35 +0200 Received: from mail.zrz.TU-Berlin.DE ([130.149.4.15]) by mail.zrz.TU-Berlin.DE (MailMonitor for SMTP v1.2.2 ) ; Mon, 22 Aug 2005 07:29:34 +0200 (CEST) Received: from emmi.physik-pool.tu-berlin.de ([130.149.57.78]) by mail.zrz.tu-berlin.de with esmtp (exim-4.52) for id 1E74sI-0003a0-Ln; Mon, 22 Aug 2005 07:29:34 +0200 Received: from rosa.physik-pool.TU-Berlin.DE (rosa.physik-pool.TU-Berlin.DE [130.149.57.79]) by emmi.physik-pool.tu-berlin.de (8.13.4/8.13.4) with ESMTP id j7M5TYJ3047094 for ; Mon, 22 Aug 2005 07:29:34 +0200 (CEST) (envelope-from jan@emmi.physik-pool.TU-Berlin.DE) Received: from rosa.physik-pool.TU-Berlin.DE (localhost [127.0.0.1]) by rosa.physik-pool.TU-Berlin.DE (8.13.4/8.13.4) with ESMTP id j7M5TYvd029630 for ; Mon, 22 Aug 2005 07:29:34 +0200 (CEST) (envelope-from jan@rosa.physik-pool.TU-Berlin.DE) Received: (from jan@localhost) by rosa.physik-pool.TU-Berlin.DE (8.13.4/8.12.10/Submit) id j7M5TYRK029629 for freebsd-emulation@freebsd.org; Mon, 22 Aug 2005 07:29:34 +0200 (CEST) (envelope-from jan) Date: Mon, 22 Aug 2005 07:29:34 +0200 From: Jan Riedinger To: freebsd-emulation@freebsd.org Message-ID: <20050822052934.GA29614@rosa.physik.tu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-Accept-Language: de en X-Location: Europe, Germany, Berlin X-Virus-Scanned: Sophos MailMonitor on mail.zrz.tu-berlin.de; Mon, 22 Aug 2005 07:29:34 +0200 Subject: Problems with Linux 32 bit emu at amd64 platform 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 Aug 2005 05:29:37 -0000 I'm trying to run a 32 bit Linux application at my dual Opteron server with amd64 FreeBSD 5.4. Unfortunatly, it crashes 1-2 times per day. I can find the following messages in my /var/log/messages file: kernel: pid 517 (ab_kerneld.x), uid 0: exited on signal 4 (core dumped) If I restart the application after such a crash, it runs very unstable and crashes every some minutes. I have reboot the system to get the prior state. If I start the program from console, I get an error message of "Illegal instruction" . How can I examin, what is causing this problem? Thanks Jan From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 22 11:02:04 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A430616A41F for ; Mon, 22 Aug 2005 11:02:04 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 871C843D46 for ; Mon, 22 Aug 2005 11:02:03 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j7MB23MU036692 for ; Mon, 22 Aug 2005 11:02:03 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j7MB22No036686 for emulation@freebsd.org; Mon, 22 Aug 2005 11:02:02 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 22 Aug 2005 11:02:02 GMT Message-Id: <200508221102.j7MB22No036686@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 11:02:04 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2003/06/28] kern/53874 emulation /usr/ports/emulators/linux_base isn't wor 1 problem total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/09/22] kern/21463 emulation Linux compatability mode should not allow o [2000/11/13] kern/22826 emulation Memory limits have no effect in linux com o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i o [2002/11/07] kern/45023 emulation flexlm does not run with linux-base-7, st o [2003/09/24] kern/57192 emulation linux-ibm-java1.4 freeze o [2004/06/20] kern/68131 emulation java/linux-ibm-jdk14: linux ibm jdk 1.4.1 o [2005/01/25] ports/76644 emulation FreeBSD 5.3 will freeze or crash when run o [2005/02/19] i386/77710 emulation Linux page fault sigcontext information i o [2005/05/05] ports/80679 emulation emulators/linux_base-8: Use ${MACHINE_ARC o [2005/05/09] ports/80837 emulation x11-toolkits/linux-gtk: cannot install by o [2005/05/12] ports/80926 emulation running $PREFIX/etc/rc.d/vmware.sh return 11 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1999/04/16] i386/11165 emulation IBCS2 don't work correctly with PID_MAX 9 o [2000/12/15] kern/23561 emulation Linux compatibility mode does not support o [2001/08/14] kern/29698 emulation linux ipcs doesn'work o [2002/06/12] kern/39201 emulation ptrace(2) and rfork(RFLINUXTHPN) confuse o [2002/08/11] kern/41543 emulation Easier wine/w23 support p [2002/09/04] kern/42404 emulation TIOCSCTTY not implemented in linuxulator s [2002/09/06] kern/42466 emulation linux: 'ipc' typ=258 not implemented p [2003/01/22] kern/47349 emulation Fake a sound ioctl (plus linux hook) o [2003/08/21] kern/55835 emulation Linux IPC emulation missing SETALL syscal o [2004/10/19] ports/72865 emulation emulators/vmware3 crashes on 5.3-STABLE o [2004/10/20] kern/72920 emulation linux emulation : path "prefixing" is not o [2004/11/08] kern/73663 emulation [ibcs2] module_register_init: MOD_LOAD (i o [2004/11/10] kern/73777 emulation [patch] linux emulation: root dir special o [2004/11/15] kern/73978 emulation [ibsc2] an error message appears during l o [2005/02/08] kern/77253 emulation [linprocfs] meminfo in linprocfs returns o [2005/03/19] ports/79009 emulation [patch] Some linux ports are incorrectly o [2005/04/07] ports/79655 emulation linux_base-8 fails to install as non-root o [2005/06/08] kern/82026 emulation [ibcs2] module_register_init: MOD_LOAD (i s [2005/07/01] ports/82853 emulation [wish] working linux_base port for alpha o [2005/08/21] kern/85175 emulation [patch] linux emulation layer without COM 20 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 22 19:09:12 2005 Return-Path: X-Original-To: emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FB4116A420 for ; Mon, 22 Aug 2005 19:09:12 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id CFB4C43D45 for ; Mon, 22 Aug 2005 19:09:10 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 31505 invoked from network); 22 Aug 2005 19:09:07 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 22 Aug 2005 19:09:07 -0000 Received: (qmail 20083 invoked by uid 89); 22 Aug 2005 19:09:06 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 22 Aug 2005 19:09:06 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id DD3541141A; Mon, 22 Aug 2005 22:09:01 +0300 (EEST) Date: Mon, 22 Aug 2005 22:09:01 +0300 From: Ion-Mihai Tetcu To: emulation@FreeBSD.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Message-ID: <20050822220901.5ca28e3c@it.buh.tecnik93.com> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: shared libs trouble with linux binaries 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 Aug 2005 19:09:12 -0000 [ please keep the cc ] Hi, this is a clean 5.4 desktop with latest ports, installed with -DBATCH and probably I've missed something, because: > acroread /usr/X11R6/Acrobat5/Reader/intellinux/bin/acroread: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory > linux-opera /usr/X11R6/share/linux-opera/bin/opera: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory > locate libXt.so /usr/X11R6/lib/libXt.so /usr/X11R6/lib/libXt.so.6 /usr/compat/linux/usr/X11R6/lib/libXt.so.6 /usr/compat/linux/usr/X11R6/lib/libXt.so.6.0 > ll /usr/compat/linux/usr/X11R6/lib/libXt.so.6 lrwxr-xr-x 1 root wheel 12 Jul 25 19:59 /usr/compat/linux/usr/X11R6/lib/libXt.so.6 -> libXt.so.6.0 Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh access to the machine now), hence now it dies with Error: Can't open display: I guess I could create a /etc/ld-elf.so.conf to fix the problem, but on other desktops I don't have it and I can't find the difference with this one. Could anyone point me in the right direction ? Thanks, -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 08:41:13 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07A7C16A41F; Tue, 23 Aug 2005 08:41:13 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F8A843D49; Tue, 23 Aug 2005 08:41:11 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D60A.dip.t-dialin.net [84.165.214.10]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j7N8Xbch046650; Tue, 23 Aug 2005 10:33:50 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j7N8e9KA007097; Tue, 23 Aug 2005 10:40:09 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Tue, 23 Aug 2005 10:40:08 +0200 Message-ID: <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 23 Aug 2005 10:40:08 +0200 From: Alexander Leidinger To: Ion-Mihai Tetcu References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> In-Reply-To: <20050822220901.5ca28e3c@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 08:41:13 -0000 Ion-Mihai Tetcu wrote: > Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH > in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh > access to the machine now), hence now it dies with Error: Can't open display: > > I guess I could create a /etc/ld-elf.so.conf to fix the problem, > but on other desktops I don't have it and I can't find the difference > with this one. > > Could anyone point me in the right direction ? Do you use a non-default linux-base port? This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain the X11 lib dir. If you use the default linux_base port, I'm interested in a list of all installed linux ports in case the ld-elf.so.conf file doesn't contains the dir. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The closest to perfection a person ever comes is when he fills out a job application form. -- Stanley J. Randall From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 08:58:22 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A22216A41F for ; Tue, 23 Aug 2005 08:58:22 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id DA5F943D45 for ; Tue, 23 Aug 2005 08:58:20 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 4413 invoked from network); 23 Aug 2005 08:58:13 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 23 Aug 2005 08:58:13 -0000 Received: (qmail 23963 invoked by uid 89); 23 Aug 2005 08:58:13 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 23 Aug 2005 08:58:13 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id AC4E81141A; Tue, 23 Aug 2005 11:58:07 +0300 (EEST) Date: Tue, 23 Aug 2005 11:58:07 +0300 From: Ion-Mihai Tetcu To: Alexander Leidinger Message-ID: <20050823115807.45cebbf1@it.buh.tecnik93.com> In-Reply-To: <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 08:58:22 -0000 On Tue, 23 Aug 2005 10:40:08 +0200 Alexander Leidinger wrote: > Ion-Mihai Tetcu wrote: > > > Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH > > in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh > > access to the machine now), hence now it dies with Error: Can't > > open display: > > > > I guess I could create a /etc/ld-elf.so.conf to fix the problem, > > but on other desktops I don't have it and I can't find the > > difference with this one. > > > > Could anyone point me in the right direction ? > > Do you use a non-default linux-base port? No. > This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain > the X11 lib dir. # cat /compat/linux/etc/ld-elf.so.conf cat: /compat/linux/etc/ld-elf.so.conf: No such file or directory > If you use the default linux_base port, I'm interested in a list of > all installed linux ports in case the ld-elf.so.conf file doesn't > contains the dir. # pkg_info -I linux\* linux-XFree86-libs-4.3.99.902_3 XFree86 libraries, Linux binary linux-aspell-0.50.4.1_1 Spelling checker with better logic than ispell (linux versi linux-atk-1.2.0_3 Accessibility Toolkit, Linux/i386 binary linux-expat-1.95.5_3 Linux/i386 binary port of Expat XML-parsing library linux-flashplugin-7.0r25_2 The official Macromedia Flash Player for Linux Mozilla and linux-fontconfig-2.1_3 Linux/i386 binary of Fontconfig linux-glib2-2.2.1_3 Version 2.X Linux/i386 binary port of GLib linux-jpeg-6b.15_4 RPM of the JPEG lib linux-openmotif-2.2.4_2 Motif toolkit Linux libraries linux-opera-8.01.20050615_2 A blazingly fast, full-featured, standards-compliant browse linux-png-1.2.7_6 RPM of the PNG lib linux-sun-jdk-1.4.2.08_2 Sun Java Development Kit 1.4 for Linux linux-tiff-3.6.1_2 TIFF library, Linux/i386 binary linux_base-8-8.0_6 Base set of packages needed in Linux mode (only for i386) # pkg_info -R linux_base-8-8.0_6 Information for linux_base-8-8.0_6: Required by: apache-ant-1.6.5 linux-XFree86-libs-4.3.99.902_3 linux-aspell-0.50.4.1_1 linux-atk-1.2.0_3 linux-expat-1.95.5_3 linux-fontconfig-2.1_3 linux-glib2-2.2.1_3 linux-jpeg-6b.15_4 linux-openmotif-2.2.4_2 linux-opera-8.01.20050615_2 linux-png-1.2.7_6 linux-sun-jdk-1.4.2.08_2 linux-tiff-3.6.1_2 acroread-5.10_2,1 linux-flashplugin-7.0r25_2 # grep linux /etc/rc.conf linux_enable="YES" linprocfs on /usr/compat/linux/proc (linprocfs, local) Thanks Alexander, -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 10:14:28 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 87A8C16A41F; Tue, 23 Aug 2005 10:14:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD6F443D48; Tue, 23 Aug 2005 10:14:27 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D60A.dip.t-dialin.net [84.165.214.10]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j7NA6qHt047360; Tue, 23 Aug 2005 12:07:06 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j7NADO2I020504; Tue, 23 Aug 2005 12:13:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Tue, 23 Aug 2005 12:13:24 +0200 Message-ID: <20050823121324.40b1gnxkqow0k8cc@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 23 Aug 2005 12:13:24 +0200 From: Alexander Leidinger To: Ion-Mihai Tetcu References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> <20050823115807.45cebbf1@it.buh.tecnik93.com> In-Reply-To: <20050823115807.45cebbf1@it.buh.tecnik93.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 10:14:28 -0000 Ion-Mihai Tetcu wrote: >> This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain >> the X11 lib dir. > > # cat /compat/linux/etc/ld-elf.so.conf > cat: /compat/linux/etc/ld-elf.so.conf: No such file or directory Ooops... ld.so.conf, without the "-elf" part. And this example relies on the /compat symlink (should be there by default) to /usr/compat. Sorry, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 If you talk to God, you are praying; if God talks to you, you have schizophrenia. -- Thomas Szasz From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 11:28:06 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CCF816A41F for ; Tue, 23 Aug 2005 11:28:06 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id F1C8F43D48 for ; Tue, 23 Aug 2005 11:28:04 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 19060 invoked from network); 23 Aug 2005 11:27:54 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 23 Aug 2005 11:27:54 -0000 Received: (qmail 16177 invoked by uid 89); 23 Aug 2005 11:27:53 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 23 Aug 2005 11:27:53 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 89469114C6; Tue, 23 Aug 2005 14:27:51 +0300 (EEST) Date: Tue, 23 Aug 2005 14:27:51 +0300 From: Ion-Mihai Tetcu To: Alexander Leidinger Message-ID: <20050823142751.5da6a872@it.buh.tecnik93.com> In-Reply-To: <20050823121324.40b1gnxkqow0k8cc@netchild.homeip.net> References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> <20050823115807.45cebbf1@it.buh.tecnik93.com> <20050823121324.40b1gnxkqow0k8cc@netchild.homeip.net> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 11:28:06 -0000 On Tue, 23 Aug 2005 12:13:24 +0200 Alexander Leidinger wrote: > Ion-Mihai Tetcu wrote: > > >> This sounds as if /compat/linux/etc/ld-elf.so.conf doesn't contain > >> the X11 lib dir. > > > > # cat /compat/linux/etc/ld-elf.so.conf > > cat: /compat/linux/etc/ld-elf.so.conf: No such file or directory > > Ooops... ld.so.conf, without the "-elf" part. And this example relies > on the /compat symlink (should be there by default) to /usr/compat. Sorry, that machine is now off and I'm leaving town for a week. Alex, please check the file when you get there this week and post the results. Thanks, -- IOnut Unregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 13:42:31 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB2616A41F; Tue, 23 Aug 2005 13:42:31 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [213.132.78.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C01943D45; Tue, 23 Aug 2005 13:42:31 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.52 (FreeBSD)) id 1E7Z2k-000OaO-D0; Tue, 23 Aug 2005 17:42:22 +0400 To: Alexander Leidinger References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> From: Boris Samorodov Date: Tue, 23 Aug 2005 17:42:22 +0400 In-Reply-To: <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> (Alexander Leidinger's message of "Tue, 23 Aug 2005 10:40:08 +0200") Message-ID: <53322497@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: "B.Samorodow" Cc: emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 13:42:31 -0000 On Tue, 23 Aug 2005 10:40:08 +0200 Alexander Leidinger wrote: > Ion-Mihai Tetcu wrote: > > Adding /usr/compat/linux/usr/X11R6/lib/ to the LD_CONFIG_PATH > > in /usr/X11R6/bin/acroread seems to fix the problem (I have only ssh > > access to the machine now), hence now it dies with Error: Can't open display: > > > > I guess I could create a /etc/ld-elf.so.conf to fix the problem, > > but on other desktops I don't have it and I can't find the difference > > with this one. > > > > Could anyone point me in the right direction ? > Do you use a non-default linux-base port? This sounds as if After removing old linux port (rh-7) and installing a new one (rh-9): I had similar problem with non-default port: linux_base-rh-9. After adding "/usr/X11R6/lib" to /compat/linux/etc/ld.so.conf and running /compat/linux/sbin/ldconfig the problem disappeared. WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 15:20:47 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D91616A41F; Tue, 23 Aug 2005 15:20:47 +0000 (GMT) (envelope-from seb@struchtrup.com) Received: from mail.struchtrup.com (mail.struchtrup.com [80.190.247.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id E02A443D45; Tue, 23 Aug 2005 15:20:46 +0000 (GMT) (envelope-from seb@struchtrup.com) Received: from p508b86d8.dip0.t-ipconnect.de ([80.139.134.216] helo=mail.intranet.struchtrup.com) by mail.struchtrup.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.51 (FreeBSD)) id 1E7aZF-0004hf-Oc; Tue, 23 Aug 2005 15:20:01 +0000 Received: from [2001:470:1f00:257:1::2] (helo=[IPv6:2001:470:1f00:257:1::2]) by mail.intranet.struchtrup.com with esmtp (Exim 4.50 (FreeBSD)) id 1E7aYM-0006kJ-Ps; Tue, 23 Aug 2005 15:19:06 +0000 Message-ID: <430B3E69.5040102@struchtrup.com> Date: Tue, 23 Aug 2005 17:19:05 +0200 From: Sebastian Schulze Struchtrup User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050727) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Boris Samorodov References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> <53322497@serv3.int.kfs.ru> In-Reply-To: <53322497@serv3.int.kfs.ru> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Struchtrup-MailScanner-Information: Please contact the ISP for more information X-Struchtrup-MailScanner: Found to be clean X-Struchtrup-MailScanner-From: seb@struchtrup.com Cc: Alexander Leidinger , emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 15:20:47 -0000 Boris Samorodov wrote: >>Do you use a non-default linux-base port? This sounds as if >> >> > >After removing old linux port (rh-7) and installing a new one (rh-9): > >I had similar problem with non-default port: linux_base-rh-9. >After adding "/usr/X11R6/lib" to /compat/linux/etc/ld.so.conf and >running /compat/linux/sbin/ldconfig the problem disappeared. > > > I did exactly the same. Removing linux rh-7 and installing rh-9. The same problem with acroread. This solved the issue for me too. Thanks! I was just running /sbin/ldconfig in a ``chroot /compat/linux /bin/bash'' From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 16:59:19 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAAF816A41F; Tue, 23 Aug 2005 16:59:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33E4C43D45; Tue, 23 Aug 2005 16:59:19 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D60A.dip.t-dialin.net [84.165.214.10]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j7NGolUx049384; Tue, 23 Aug 2005 18:50:58 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j7NGvOTQ077644; Tue, 23 Aug 2005 18:57:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Tue, 23 Aug 2005 18:57:24 +0200 Message-ID: <20050823185724.2480cdy79us80w48@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 23 Aug 2005 18:57:24 +0200 From: Alexander Leidinger To: Sebastian Schulze Struchtrup References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> <53322497@serv3.int.kfs.ru> <430B3E69.5040102@struchtrup.com> In-Reply-To: <430B3E69.5040102@struchtrup.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: trevor@freebsd.org, emulation@freebsd.org, Boris Samorodov , freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 16:59:20 -0000 Sebastian Schulze Struchtrup wrote: > I did exactly the same. > Removing linux rh-7 and installing rh-9. > The same problem with acroread. > This solved the issue for me too. Thanks! This is a known problem in the non-default linux_base ports. I've told Trevor about it, but I haven't received an answer and he didn't fixed the problem. Maybe someone can file a PR on it... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 "Tank, I need a pilot program for a V-212 helicopter. Hurry...." "Let's go." -- Trinity, "The Matrix" From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 17:43:06 2005 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4C1F16A41F; Tue, 23 Aug 2005 17:43:06 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from ns.kfs.ru (kfs.kfs.ru [213.132.78.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35BF543D58; Tue, 23 Aug 2005 17:43:06 +0000 (GMT) (envelope-from bsam@ns.kfs.ru) Received: from bsam by ns.kfs.ru with local (Exim 4.52 (FreeBSD)) id 1E7cnc-000P3z-MD; Tue, 23 Aug 2005 21:43:00 +0400 To: Alexander Leidinger References: <20050822220901.5ca28e3c@it.buh.tecnik93.com> <20050823104008.tbso5ka28s4008wo@netchild.homeip.net> <53322497@serv3.int.kfs.ru> <430B3E69.5040102@struchtrup.com> <20050823185724.2480cdy79us80w48@netchild.homeip.net> From: Boris Samorodov Date: Tue, 23 Aug 2005 21:43:00 +0400 In-Reply-To: <20050823185724.2480cdy79us80w48@netchild.homeip.net> (Alexander Leidinger's message of "Tue, 23 Aug 2005 18:57:24 +0200") Message-ID: <21168059@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: "B.Samorodow" Cc: trevor@freebsd.org, Sebastian Schulze Struchtrup , emulation@freebsd.org, freebsd-ports@freebsd.org, alex2@tecnik93.com Subject: Re: shared libs trouble with linux binaries 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, 23 Aug 2005 17:43:07 -0000 On Tue, 23 Aug 2005 18:57:24 +0200 Alexander Leidinger wrote: > Sebastian Schulze Struchtrup wrote: > > I did exactly the same. > > Removing linux rh-7 and installing rh-9. > > The same problem with acroread. > > This solved the issue for me too. Thanks! > This is a known problem in the non-default linux_base ports. I've told Trevor > about it, but I haven't received an answer and he didn't fixed the problem. > Maybe someone can file a PR on it... Sure. I've just done it: ----- You can access the state of your problem report at any time via this link: http://www.freebsd.org/cgi/query-pr.cgi?pr=85254 >Category: ports >Responsible: freebsd-ports-bugs >Synopsis: [patch] emulators/linux_base-rh-9: add /usr/X11R6/lib to etc/ld.so.conf >Arrival-Date: Tue Aug 23 17:40:17 GMT 2005 ----- WBR -- bsam From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 23 18:45:14 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA1B416A41F; Tue, 23 Aug 2005 18:45:14 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E84543D46; Tue, 23 Aug 2005 18:45:05 +0000 (GMT) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3) with ESMTP id j7NIirPa015267; Tue, 23 Aug 2005 20:44:53 +0200 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id j7NIiruO015265; Tue, 23 Aug 2005 20:44:53 +0200 Received: from saturn.kn-bremen.de (localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.1/8.13.1) with ESMTP id j7NIYk4r007883; Tue, 23 Aug 2005 20:34:46 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.1/8.13.1/Submit) id j7NIYkEL007882; Tue, 23 Aug 2005 20:34:46 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 23 Aug 2005 20:34:46 +0200 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Message-ID: <20050823183446.GA7406@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org, freebsd-amd64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: FreeBSD qemu port update - need testing and help with kqemu/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: Tue, 23 Aug 2005 18:45:14 -0000 Here is a new iteration of the FreeBSD qemu port update. I have added the kqemu free functions now (and changed kqemu_vmalloc to just allocate kernel memory like the old wrapper did.) kqemu seems to work on 5.4 i386, still crashes on amd64 :( Also 4.x still needs testing. - kqemu wrapper update - disabled the win98 hack - added notes about net.link.tap.user_open sysctl and about the win98 hack to pkg-message Removed files: files/BSDmakefile files/kmod_bsd.c New files: files/kqemu-freebsd-patch files/patch-libmath2 files/patch-vl.c files/patch-exec-all.h Index: Makefile =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- Makefile 19 Jul 2005 06:06:56 -0000 1.27 +++ Makefile 23 Aug 2005 17:06:13 -0000 @@ -6,12 +6,12 @@ # PORTNAME= qemu -PORTVERSION= 0.7.0s.20050717 +PORTVERSION= 0.7.1s.20050822 CATEGORIES= emulators MASTER_SITES= http://www.qemu.org/ \ http://people.fruitsalad.org/nox/qemu/ \ http://dad-answers.com/qemu/ -DISTNAME= ${PORTNAME}-snapshot-2005-07-17_23 +DISTNAME= ${PORTNAME}-snapshot-2005-08-22_23 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= nox@jelal.kn-bremen.de @@ -23,8 +23,9 @@ .endif .if defined(WITH_KQEMU) -DISTKQEMU= kqemu-0.6.2-1.tar.gz +DISTKQEMU= kqemu-0.7.1-1.tar.gz DISTFILES= ${EXTRACT_ONLY} ${DISTKQEMU} +EXTRA_PATCHES= ${FILESDIR}/kqemu-freebsd-patch .endif HAS_CONFIGURE= yes @@ -40,9 +41,11 @@ ONLY_FOR_ARCHS= amd64 i386 .if defined(WITH_KQEMU) NO_PACKAGE= Depends on kernel, and module not redistributable +CONFIGURE_ARGS+= --enable-kqemu PLIST_SUB= WITH_KQEMU="" PLIST_SUB+= KMODDIR=${KMODDIR} .else +CONFIGURE_ARGS+= --disable-kqemu PLIST_SUB= WITH_KQEMU="@comment " .endif @@ -52,7 +55,7 @@ .if ${ARCH} == "amd64" ARCH= x86_64 -.if ${OSVERSION} >= 502126 +.if ${OSVERSION} >= 502126 && ${OSVERSION} <= 600029 BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34 GCCVERSION= 030402 CC= gcc34 @@ -63,16 +66,12 @@ USE_GCC= 3.4 .endif -.if defined(WITH_KQEMU) && ${ARCH} != "i386" -IGNORE= kqemu only supported on i386 -.endif - .if defined(WITH_KQEMU) && !exists(${SRC_BASE}/sys/Makefile) IGNORE= kqemu requires kernel source to be installed .endif pre-everything:: -.if !defined(WITH_KQEMU) && ${ARCH} == "i386" +.if !defined(WITH_KQEMU) @${ECHO_MSG} "Notice: you can build qemu with the (alpha!) kqemu accelerator kernel module" @${ECHO_MSG} "by defining WITH_KQEMU." .endif @@ -85,7 +84,7 @@ .if defined(WITH_KQEMU) post-extract: @cd ${WRKSRC} && ${TAR} xfz ${_DISTDIR}/${DISTKQEMU} - @${CP} ${FILESDIR}/BSDmakefile ${FILESDIR}/kmod_bsd.c ${WRKSRC}/kqemu + @${LN} -s Makefile.freebsd ${WRKSRC}/kqemu/BSDmakefile .endif pre-patch: Index: distinfo =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/distinfo,v retrieving revision 1.20 diff -u -r1.20 distinfo --- distinfo 19 Jul 2005 06:06:56 -0000 1.20 +++ distinfo 23 Aug 2005 17:06:55 -0000 @@ -1,4 +1,4 @@ -MD5 (qemu-snapshot-2005-07-17_23.tar.bz2) = 5d21295c1f328ea00de19a54715ee7c3 -SIZE (qemu-snapshot-2005-07-17_23.tar.bz2) = 1114748 -MD5 (kqemu-0.6.2-1.tar.gz) = c6bb3b40fb3d526d731eb0f1f9dee7ee -SIZE (kqemu-0.6.2-1.tar.gz) = 21002 +MD5 (qemu-snapshot-2005-08-22_23.tar.bz2) = 10840c688a6f41ca1dc84e35ee43cfdd +SIZE (qemu-snapshot-2005-08-22_23.tar.bz2) = 1121573 +MD5 (kqemu-0.7.1-1.tar.gz) = 012498dac620eb8c212bf5f622414dd0 +SIZE (kqemu-0.7.1-1.tar.gz) = 76427 Index: pkg-message =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/pkg-message,v retrieving revision 1.8 diff -u -r1.8 pkg-message --- pkg-message 1 May 2005 07:39:10 -0000 1.8 +++ pkg-message 12 Aug 2005 16:31:34 -0000 @@ -1,6 +1,9 @@ ==== FreeBSD host notes: - needs to run as root in order to use /dev/tap* networking (why?) +(actually RELENG_6 and above now has a sysctl net.link.tap.user_open +to allow users to use it too. don't forget to adjust device node +permissions in /etc/devfs.conf.) - slirp (usermode networking) is fixed now in cvs, on FreeSBIE 1.0 guests you still have to manually do: echo nameserver 10.0.2.3 >/etc/resolv.conf @@ -18,4 +21,8 @@ ioctl.) - the -smb option (smb-export local dir to guest) needs the net/samba port/package installed in addition to qemu. +- the kqemu win98 hack has been disabled because it interferes with +FreeBSD guests. if you have kqemu installed and want to run a win98 +guest start qemu with -no-kqemu (which essentially is the effect of +the removed hack.) ==== Index: files/patch-fbsd =================================================================== RCS file: /home/ncvs/ports/emulators/qemu/files/patch-fbsd,v retrieving revision 1.2 diff -u -r1.2 patch-fbsd --- files/patch-fbsd 5 May 2005 12:41:10 -0000 1.2 +++ files/patch-fbsd 11 Aug 2005 16:38:42 -0000 @@ -13,7 +13,7 @@ $(MAKE) -C kqemu -f Makefile.winnt else - $(MAKE) -C kqemu -+ cd kqemu && $(BSD_MAKE) ++ ( cd kqemu && $(BSD_MAKE) ) endif endif Index: files/kqemu-freebsd-patch @@ -0,0 +1,501 @@ +Index: qemu/kqemu/Makefile.freebsd +@@ -1,9 +1,13 @@ ++# $Id: Makefile.freebsd,v 1.1 2005/04/17 17:21:31 bellard Exp $ + KMOD= kqemu + SRCS= kqemu-freebsd.c + .if ${MACHINE_ARCH} == "i386" + OBJS= kqemu-mod-i386.o + .elif ${MACHINE_ARCH} == "amd64" + OBJS= kqemu-mod-x86_64.o ++.endif ++.if ${OSVERSION} >= 500000 ++CC= cc + .endif + WERROR= + +Index: qemu/kqemu/kqemu-freebsd.c +@@ -3,20 +3,33 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include + #include + #include ++#include ++#if __FreeBSD_version >= 500000 + #include ++#endif + #include + #include ++#include ++#include ++#if __FreeBSD_version < 500000 ++#include ++#endif ++ + #include + #include + #include + #include + #include + #include ++#include ++ + #include + #include + +@@ -27,10 +40,14 @@ + MALLOC_DECLARE(M_KQEMU); + MALLOC_DEFINE(M_KQEMU, "kqemu", "kqemu buffers"); + ++int kqemu_debug; ++SYSCTL_INT(_debug, OID_AUTO, kqemu_debug, CTLFLAG_RW, &kqemu_debug, 0, ++ "kqemu debug flag"); ++ + #define USER_BASE 0x1000 + + /* lock the page at virtual address 'user_addr' and return its +- physical page index. Return -1 if error */ ++ physical page index. Return NULL if error */ + struct kqemu_user_page *CDECL kqemu_lock_user_page(unsigned long *ppage_index, + unsigned long user_addr) + { +@@ -39,14 +56,18 @@ + vm_paddr_t pa = 0; + int ret; + pmap_t pmap; ++#if __FreeBSD_version >= 500000 + ret = vm_map_wire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, FALSE); ++#endif + if (ret != KERN_SUCCESS) { +- printf("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); ++ kqemu_log("kqemu_lock_user_page(%08lx) failed, ret=%d\n", user_addr, ret); + return NULL; + } + pmap = vm_map_pmap(&vm->vm_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); ++ // kqemu_log("kqemu_lock_user_page(%08lx) va=%08x pa=%08x\n", user_addr, va, pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_user_page *)va; + } +@@ -56,12 +77,16 @@ + struct vmspace *vm = curproc->p_vmspace; + vm_offset_t va; + int ret; +- // printf("kqemu_unlock_user_page(%08lx)\n", page_index); ++ // kqemu_log("kqemu_unlock_user_page(%08lx)\n", page_index); + va = (vm_offset_t)page; ++#if __FreeBSD_version >= 500000 + ret = vm_map_unwire(&vm->vm_map, va, va+PAGE_SIZE, VM_MAP_WIRE_USER); ++#else ++ ret = vm_map_user_pageable(&vm->vm_map, va, va+PAGE_SIZE, TRUE); ++#endif + #if 0 + if (ret != KERN_SUCCESS) { +- printf("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); ++ kqemu_log("kqemu_unlock_user_page(%08lx) failed, ret=%d\n", page_index, ret); + } + #endif + } +@@ -78,20 +103,21 @@ + + va = kmem_alloc(kernel_map, PAGE_SIZE); + if (va == 0) { +- printf("kqemu_alloc_zeroed_page: NULL\n"); +- return -1; ++ kqemu_log("kqemu_alloc_zeroed_page: NULL\n"); ++ return NULL; + } + pmap = vm_map_pmap(kernel_map); + pa = pmap_extract(pmap, va); +- // printf("kqemu_alloc_zeroed_page: %08x\n", pa); ++ // kqemu_log("kqemu_alloc_zeroed_page: %08x\n", pa); + *ppage_index = pa >> PAGE_SHIFT; + return (struct kqemu_page *)va; + } + + void CDECL kqemu_free_page(struct kqemu_page *page) + { +- // printf("kqemu_free_page(%08lx)\n", page_index); +- /* XXX: do it */ ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_free_page(%p)\n", page); ++ kmem_free(kernel_map, (vm_offset_t) page, PAGE_SIZE); + } + + /* return kernel address of the physical page page_index */ +@@ -105,42 +131,29 @@ + GB of physical memory */ + void * CDECL kqemu_vmalloc(unsigned int size) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_offset_t va = USER_BASE; +- int rv; +- if (size % PAGE_SIZE != 0) { +- printf("kqemu_vmalloc(%d) not a multiple of page size\n", size); +- return NULL; +- } +- rv = vm_map_find(&vm->vm_map, NULL, 0, &va, size, 1, +- VM_PROT_ALL, VM_PROT_ALL, 0); +- if (rv != KERN_SUCCESS) { +- printf("kqemu_vmalloc(%d) failed rv=%d\n", size, rv); +- return NULL; +- } +- printf("kqemu_vmalloc(%d): %08x\n", size, va); +- return (void *)va; ++ void *ptr = malloc(size, M_KQEMU, M_WAITOK); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc(%d): %p\n", size, ptr); ++ return ptr; + } + + void CDECL kqemu_vfree(void *ptr) + { +- printf("kqemu_vfree(%p)\n", ptr); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vfree(%p)\n", ptr); ++ free(ptr, M_KQEMU); + } + + /* return the physical page index for a given virtual page */ + unsigned long CDECL kqemu_vmalloc_to_phys(const void *vaddr) + { +- struct vmspace *vm = curproc->p_vmspace; +- vm_paddr_t pa; +- pmap_t pmap; +- +- pmap = vm_map_pmap(&vm->vm_map); +- pa = pmap_extract(pmap, (vm_offset_t)vaddr); ++ vm_paddr_t pa = vtophys(vaddr); + if (pa == 0) { +- printf("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->error\n", vaddr); + return -1; + } +- printf("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); ++ if (kqemu_debug > 0) ++ kqemu_log("kqemu_vmalloc_to_phys(%p)->%08x\n", vaddr, pa); + return pa >> PAGE_SHIFT; + } + +@@ -156,16 +169,48 @@ + { + } + ++#if __FreeBSD_version < 500000 ++static int ++curpriority_cmp(struct proc *p) ++{ ++ int c_class, p_class; ++ ++ c_class = RTP_PRIO_BASE(curproc->p_rtprio.type); ++ p_class = RTP_PRIO_BASE(p->p_rtprio.type); ++ if (p_class != c_class) ++ return (p_class - c_class); ++ if (p_class == RTP_PRIO_NORMAL) ++ return (((int)p->p_priority - (int)curpriority) / PPQ); ++ return ((int)p->p_rtprio.prio - (int)curproc->p_rtprio.prio); ++} ++ ++/* return TRUE if a signal is pending (i.e. the guest must stop ++ execution) */ ++int CDECL kqemu_schedule(void) ++{ ++ struct proc *p = curproc; ++ if (curpriority_cmp(p) > 0) { ++ int s = splhigh(); ++ p->p_priority = MAXPRI; ++ setrunqueue(p); ++ p->p_stats->p_ru.ru_nvcsw++; ++ mi_switch(); ++ splx(s); ++ } ++ return issignal(curproc) != 0; ++} ++#else + /* return TRUE if a signal is pending (i.e. the guest must stop + execution) */ + int CDECL kqemu_schedule(void) + { +- // printf("kqemu_schedule\n"); ++ // kqemu_log("kqemu_schedule\n"); + mtx_lock_spin(&sched_lock); + mi_switch(SW_VOL, NULL); + mtx_unlock_spin(&sched_lock); + return SIGPENDING(curthread); + } ++#endif + + static char log_buf[4096]; + +@@ -178,47 +223,149 @@ + va_end(ap); + } + ++#define KQEMU_MAX_INSTANCES 4 ++ + struct kqemu_instance { ++#if __FreeBSD_version >= 500000 ++ TAILQ_ENTRY(kqemu_instance) kqemu_ent; ++ struct cdev *kqemu_dev; ++#endif + // struct semaphore sem; + struct kqemu_state *state; + }; + ++static int kqemu_ref_count = 0; ++static int max_locked_pages; ++ ++#if __FreeBSD_version < 500000 ++static dev_t kqemu_dev; ++#else ++static struct clonedevs *kqemuclones; ++static TAILQ_HEAD(,kqemu_instance) kqemuhead = TAILQ_HEAD_INITIALIZER(kqemuhead); ++static eventhandler_tag clonetag; ++#endif ++ + static d_close_t kqemu_close; + static d_open_t kqemu_open; + static d_ioctl_t kqemu_ioctl; + + static struct cdevsw kqemu_cdevsw = { ++#if __FreeBSD_version < 500000 ++ /* open */ kqemu_open, ++ /* close */ kqemu_close, ++ /* read */ noread, ++ /* write */ nowrite, ++ /* ioctl */ kqemu_ioctl, ++ /* poll */ nopoll, ++ /* mmap */ nommap, ++ /* strategy */ nostrategy, ++ /* name */ "kqemu", ++ /* maj */ KQEMU_MAJOR, ++ /* dump */ nodump, ++ /* psize */ nopsize, ++ /* flags */ 0, ++ /* bmaj */ -1 ++#else + .d_version = D_VERSION, + .d_flags = D_NEEDGIANT, + .d_open = kqemu_open, + .d_ioctl = kqemu_ioctl, + .d_close = kqemu_close, + .d_name = "kqemu" ++#endif + }; + +-/* For use with make_dev(9)/destroy_dev(9). */ +-static struct cdev *kqemu_dev; ++#if __FreeBSD_version >= 500000 ++static void ++kqemu_clone(void *arg, char *name, int namelen, struct cdev **dev) ++{ ++ int unit, r; ++ if (*dev != NULL) ++ return; ++ ++ if (strcmp(name, "kqemu") == 0) ++ unit = -1; ++ else if (dev_stdclone(name, NULL, "kqemu", &unit) != 1) ++ return; /* Bad name */ ++ if (unit != -1 && unit > KQEMU_MAX_INSTANCES) ++ return; ++ ++ r = clone_create(&kqemuclones, &kqemu_cdevsw, &unit, dev, 0); ++ if (r) { ++ *dev = make_dev(&kqemu_cdevsw, unit2minor(unit), ++ UID_ROOT, GID_WHEEL, 0660, "kqemu%d", unit); ++ if (*dev != NULL) { ++ dev_ref(*dev); ++ (*dev)->si_flags |= SI_CHEAPCLONE; ++ } ++ } ++} ++#endif ++ ++static void kqemu_destroy(struct kqemu_instance *ks) ++{ ++ struct cdev *dev = ks->kqemu_dev; ++ ++ if (ks->state) { ++ kqemu_delete(ks->state); ++ ks->state = NULL; ++ } ++ ++ free(ks, M_KQEMU); ++ dev->si_drv1 = NULL; ++#if __FreeBSD_version >= 500000 ++ TAILQ_REMOVE(&kqemuhead, ks, kqemu_ent); ++ destroy_dev(dev); ++#endif ++ --kqemu_ref_count; ++} + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_open(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_open(struct cdev *dev, int flags, int fmt __unused, + struct thread *td) + { ++ struct proc *p = td->td_proc; ++#endif + struct kqemu_instance *ks; ++ ++ if (dev->si_drv1 || kqemu_ref_count >= KQEMU_MAX_INSTANCES) ++ return(EBUSY); ++ ++ if ((flags & (FREAD|FWRITE)) == FREAD) ++ return(EPERM); ++ + ks = malloc(sizeof(struct kqemu_instance), M_KQEMU, M_WAITOK); + if (ks == NULL) { +- printf("malloc failed\n"); ++ kqemu_log("malloc failed\n"); + return ENOMEM; + } +- ks->state = NULL; ++ memset(ks, 0, sizeof *ks); ++#if __FreeBSD_version >= 500000 ++ ks->kqemu_dev = dev; ++ TAILQ_INSERT_TAIL(&kqemuhead, ks, kqemu_ent); ++#endif ++ kqemu_ref_count++; ++ + dev->si_drv1 = ks; ++ if (kqemu_debug > 0) ++ kqemu_log("opened by pid=%d\n", p->p_pid); + return 0; + } + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_ioctl(dev_t dev, u_long cmd, caddr_t addr, ++ int flags __unused, struct proc *p) ++#else + kqemu_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, + int flags __unused, struct thread *td) ++#endif + { + int error = 0; + int ret; +@@ -233,8 +380,9 @@ + break; + } + d1 = *(struct kqemu_init *)addr; +- printf("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); +- s = kqemu_init(d, 16000); ++ if (kqemu_debug > 0) ++ kqemu_log("ram_base=%p ram_size=%ld\n", d1.ram_base, d1.ram_size); ++ s = kqemu_init(d, max_locked_pages); + if (s == NULL) { + error = ENOMEM; + break; +@@ -250,9 +398,16 @@ + } + ctx = kqemu_get_cpu_state(s); + *ctx = *(struct kqemu_cpu_state *)addr; ++#if __FreeBSD_version >= 500000 + DROP_GIANT(); ++#endif + ret = kqemu_exec(s); ++#if __FreeBSD_version >= 500000 + PICKUP_GIANT(); ++ td->td_retval[0] = ret; ++#else ++ p->p_retval[0] = ret; ++#endif + *(struct kqemu_cpu_state *)addr = *ctx; + break; + } +@@ -267,10 +422,22 @@ + + /* ARGSUSED */ + static int ++#if __FreeBSD_version < 500000 ++kqemu_close(dev_t dev, int flags, int fmt __unused, struct proc *p) ++{ ++#else + kqemu_close(struct cdev *dev __unused, int flags, int fmt __unused, + struct thread *td) + { +- return 0; ++ struct proc *p = td->td_proc; ++#endif ++ struct kqemu_instance *ks = (struct kqemu_instance *) dev->si_drv1; ++ ++ kqemu_destroy(ks); ++ ++ if (kqemu_debug > 0) ++ kqemu_log("closed by pid=%d\n", p->p_pid); ++ return 0; + } + + /* ARGSUSED */ +@@ -278,15 +445,55 @@ + kqemu_modevent(module_t mod __unused, int type, void *data __unused) + { + int error = 0; ++#if __FreeBSD_version < 500000 ++ int rc; ++#else ++ struct kqemu_instance *ks; ++#endif + + switch (type) { + case MOD_LOAD: + printf("kqemu version 0x%08x\n", KQEMU_VERSION); ++ max_locked_pages = physmem / (2 * KQEMU_MAX_INSTANCES); ++ if (max_locked_pages > 32768) ++ max_locked_pages = 32768; ++#if __FreeBSD_version < 500000 ++ if ((rc = cdevsw_add(&kqemu_cdevsw))) { ++ kqemu_log("error registering cdevsw, rc=%d\n", rc); ++ error = ENOENT; ++ break; ++ } + kqemu_dev = make_dev(&kqemu_cdevsw, 0, +- UID_ROOT, GID_WHEEL, 0666, "kqemu"); ++ UID_ROOT, GID_WHEEL, 0660, "kqemu"); ++#else ++ clone_setup(&kqemuclones); ++ clonetag = EVENTHANDLER_REGISTER(dev_clone, kqemu_clone, 0, 1000); ++ if (!clonetag) { ++ error = ENOMEM; ++ break; ++ } ++#endif ++ kqemu_log("KQEMU installed, max_instances=%d max_locked_mem=%dkB.\n", ++ KQEMU_MAX_INSTANCES, max_locked_pages * 4); ++ ++ kqemu_ref_count = 0; + break; + case MOD_UNLOAD: ++ if (kqemu_ref_count > 0) { ++ error = EBUSY; ++ break; ++ } ++#if __FreeBSD_version < 500000 + destroy_dev(kqemu_dev); ++ if ((rc = cdevsw_remove(&kqemu_cdevsw))) ++ kqemu_log("error unregistering, rc=%d\n", rc); ++#else ++ EVENTHANDLER_DEREGISTER(dev_clone, clonetag); ++ while ((ks = TAILQ_FIRST(&kqemuhead)) != NULL) { ++ kqemu_destroy(ks); ++ } ++ clone_cleanup(&kqemuclones); ++#endif + break; + case MOD_SHUTDOWN: + break; Index: files/patch-libmath2 @@ -0,0 +1,67 @@ +Index: qemu/bsd/Makefile +@@ -16,7 +16,8 @@ + ${MACHINE_ARCH}/s_rintl.c \ + ${MACHINE_ARCH}/s_round.c \ + ${MACHINE_ARCH}/s_sinl.S \ +- ${MACHINE_ARCH}/s_tanl.S ++ ${MACHINE_ARCH}/s_tanl.S \ ++ ${MACHINE_ARCH}/s_ldexpl.c + + OBJS= ${SRCS:R:S/$/.o/} + +Index: qemu/bsd/i386/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/bsd/amd64/s_ldexpl.c +@@ -0,0 +1,21 @@ ++#include ++#include ++#include ++ ++long double __ldexpl(long double x, int expn) ++{ ++ long double res; ++ if (!isfinite (x) || x == 0.0L) ++ return x; ++ ++ __asm__ ("fscale" ++ : "=t" (res) ++ : "0" (x), "u" ((long double) expn)); ++ ++ if (!isfinite (res) || res == 0.0L) ++ errno = ERANGE; ++ ++ return res; ++} ++ ++weak_alias(__ldexpl,ldexpl) +Index: qemu/target-i386/helper.c +@@ -2886,6 +2886,8 @@ + ST0 = floatx_round_to_int(ST0, &env->fp_status); + } + ++long double ldexpl(long double, int); ++ + void helper_fscale(void) + { + ST0 = ldexp (ST0, (int)(ST1)); Index: files/patch-vl.c @@ -0,0 +1,21 @@ +Index: qemu/vl.c +@@ -40,6 +40,10 @@ + #include + #include + #include ++#ifdef __FreeBSD__ ++#include ++#include ++#endif + #ifdef _BSD + #include + #ifndef __APPLE__ +@@ -1280,7 +1284,7 @@ + return chr; + } + +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + CharDriverState *qemu_chr_open_pty(void) + { + char slave_name[1024]; Index: files/patch-exec-all.h @@ -0,0 +1,10 @@ +Index: qemu/exec-all.h +@@ -620,7 +620,7 @@ + (env->cr[0] & CR0_PE_MASK) && + (env->eflags & IF_MASK) && + !(env->eflags & VM_MASK) +-#if 1 ++#if 0 + && (env->ldt.limit == 0 || env->ldt.limit == 0x27) + #endif + ); From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 25 13:20:00 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 583D116A41F for ; Thu, 25 Aug 2005 13:20:00 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id B35A143D58 for ; Thu, 25 Aug 2005 13:19:58 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5FB09.dip.t-dialin.net [84.165.251.9]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id j7PDCE8j065630 for ; Thu, 25 Aug 2005 15:12:25 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id j7PDJCno056097 for ; Thu, 25 Aug 2005 15:19:13 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from 141.113.101.31 ([141.113.101.31]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Thu, 25 Aug 2005 15:19:12 +0200 Message-ID: <20050825151912.gxib33vugwgwg84k@netchild.homeip.net> X-Priority: 3 (Normal) Date: Thu, 25 Aug 2005 15:19:12 +0200 From: Alexander Leidinger To: freebsd-emulation@freebsd.org References: <20050822052934.GA29614@rosa.physik.tu-berlin.de> In-Reply-To: <20050822052934.GA29614@rosa.physik.tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Subject: Re: Problems with Linux 32 bit emu at amd64 platform 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 Aug 2005 13:20:00 -0000 Jan Riedinger wrote: > If I restart the application after such a crash, it runs very unstable > and crashes every some minutes. I have reboot the system to get the > prior state. If I start the program from console, I get an error > message of "Illegal instruction" . > > How can I examin, what is causing this problem? "Illegal instruction" sounds like the program tries to use a CPU-instruction which isn't supported by the processor. An instruction which is available on some Intel CPU's but not on AMD CPU's. Does the same program run flawlessly if you run an x86 FreeBSD instead of the amd64 FreeBSD on this machine? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 The fortune program is supported, in part, by user contributions and by a major grant from the National Endowment for the Inanities. From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 25 18:54:14 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCE6D16A41F for ; Thu, 25 Aug 2005 18:54:14 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2832043D46 for ; Thu, 25 Aug 2005 18:54:13 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9943 helo=mail.aseed.antenna.nl) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1E8Mrc-0003vF-Vd for freebsd-emulation@freebsd.org; Thu, 25 Aug 2005 18:54:13 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 915C7154536 for ; Thu, 25 Aug 2005 21:03:18 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 59E7559053B for ; Thu, 25 Aug 2005 20:54:44 +0200 (CEST) Date: Thu, 25 Aug 2005 20:54:10 +0200 From: "albi@scii.nl" To: freebsd-emulation@freebsd.org Message-Id: <20050825205410.33738d0a.albi@scii.nl> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.4; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: qemu-questions 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 Aug 2005 18:54:15 -0000 hi, i've been very interested in qemu for a while, happily used it from time to time, now i have the following questions : - i'd like to use qemu with the -nographic option in a virtual console in FreeBSD (i have a serial console here but without keyboard and proper serial cable hence the question) or : is it possible to redirect the qemu-output that it can be read with a program like minicom on the virtual console ? - if i'm using the kqemu-module, how do i know qemu is actually using it ? From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 25 19:03:05 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BD1B16A41F for ; Thu, 25 Aug 2005 19:03:05 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-22.mail.nl.demon.net (post-22.mail.nl.demon.net [194.159.73.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id B077343D46 for ; Thu, 25 Aug 2005 19:03:04 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9946 helo=mail.aseed.antenna.nl) by post-22.mail.nl.demon.net with esmtp (Exim 4.51) id 1E8N0B-000Jz8-KK for freebsd-emulation@freebsd.org; Thu, 25 Aug 2005 19:03:03 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id 44437154536 for ; Thu, 25 Aug 2005 21:12:09 +0200 (CEST) Received: from localhost.localdomain (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 1898A5904F3 for ; Thu, 25 Aug 2005 21:03:34 +0200 (CEST) Date: Thu, 25 Aug 2005 21:03:00 +0200 From: "albi@scii.nl" To: freebsd-emulation@freebsd.org Message-Id: <20050825210300.7f68bb5f.albi@scii.nl> In-Reply-To: <20050825205410.33738d0a.albi@scii.nl> References: <20050825205410.33738d0a.albi@scii.nl> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.4; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: qemu-questions 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 Aug 2005 19:03:05 -0000 On Thu, 25 Aug 2005 20:54:10 +0200 "albi@scii.nl" wrote: > - i'd like to use qemu with the -nographic option in a virtual console > in FreeBSD (i have a serial console here but without keyboard and > proper serial cable hence the question) just found this page http://m2.dad-answers.com/qemu-forum/viewtopic.php?t=103 which talks about "This patch allow pty creating for serial console redirect." --- vl.c.orig Sat Apr 30 20:10:35 2005 +++ vl.c Sun Jul 24 16:42:14 2005 @@ -40,6 +40,10 @@ #include #include #include +#ifdef __FreeBSD__ +#include +#include +#endif #ifdef _BSD #include #ifndef __APPLE__ @@ -1280,7 +1284,7 @@ return chr; } -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD__) CharDriverState *qemu_chr_open_pty(void) { char slave_name[1024]; From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 25 20:58:22 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 39A3916A41F for ; Thu, 25 Aug 2005 20:58:22 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0065943D46 for ; Thu, 25 Aug 2005 20:58:21 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 7E5A13130D; Thu, 25 Aug 2005 16:58:20 -0400 (EDT) Date: Thu, 25 Aug 2005 16:58:20 -0400 (EDT) From: user To: freebsd-emulation@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: vmware3 license code needed ... suggestions ? 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 Aug 2005 20:58:22 -0000 vmware3 is the latest version of vmware that runs on FreeBSD. vmware will not sell me a vmware3 license code. The license code that XYZ bot on #serialz/efnet spits out is for v3.2, and does not work. I am happy to pay for this - I just need to know who is willing to take my money (apparently vmware isn't). Suggestions ? From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 26 05:37:57 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5BCD16A41F for ; Fri, 26 Aug 2005 05:37:57 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from mail.rdu.kirov.ru (ns.rdu.kirov.ru [217.9.151.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EF7C43D45 for ; Fri, 26 Aug 2005 05:37:56 +0000 (GMT) (envelope-from bu7cher@yandex.ru) Received: from kirov.so-cdu.ru (kirov [172.21.81.1]) by mail.rdu.kirov.ru (Postfix) with ESMTP id 8A8D3115641; Fri, 26 Aug 2005 09:37:53 +0400 (MSD) Received: from kirov.so-cdu.ru (localhost [127.0.0.1]) by rdu.kirov.ru (Postfix) with SMTP id 822CC15C5A; Fri, 26 Aug 2005 09:37:53 +0400 (MSD) Received: by rdu.kirov.ru (Postfix, from userid 1014) id 49F2715C59; Fri, 26 Aug 2005 09:37:53 +0400 (MSD) Received: from [172.21.81.52] (elsukov.kirov.so-cdu.ru [172.21.81.52]) by rdu.kirov.ru (Postfix) with ESMTP id 1C76915C4B; Fri, 26 Aug 2005 09:37:53 +0400 (MSD) Message-ID: <430EAA9A.1060700@yandex.ru> Date: Fri, 26 Aug 2005 09:37:30 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "albi@scii.nl" References: <20050825205410.33738d0a.albi@scii.nl> In-Reply-To: <20050825205410.33738d0a.albi@scii.nl> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: qemu-questions 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 Aug 2005 05:37:58 -0000 albi@scii.nl wrote: > - if i'm using the kqemu-module, how do i know qemu is actually using > it ? Before run qemu you must load kqemu module with kldload. When qemu uses kernel module it put messages to /dev/console, you can see this messages in /var/log/message. -- WBR, Andrey V. Elsukov From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 26 19:11:05 2005 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B6D9C16A41F for ; Fri, 26 Aug 2005 19:11:05 +0000 (GMT) (envelope-from albi@scii.nl) Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5469543D45 for ; Fri, 26 Aug 2005 19:11:05 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:9852 helo=mail.aseed.antenna.nl) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1E8jbU-0000h6-82; Fri, 26 Aug 2005 19:11:04 +0000 Received: from http.aseed.antenna.nl (unknown [192.168.0.50]) by mail.aseed.antenna.nl (Postfix) with ESMTP id A5D63154297; Fri, 26 Aug 2005 21:20:18 +0200 (CEST) Received: from amandla.scii.nl (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.antenna.nl (Postfix) with ESMTP id 841CF58FC88; Fri, 26 Aug 2005 21:10:32 +0200 (CEST) Date: Fri, 26 Aug 2005 21:10:59 +0200 From: "albi@scii.nl" To: freebsd-emulation@FreeBSD.org Message-Id: <20050826211059.35bcfc73.albi@scii.nl> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: nox@jelal.kn-bremen.de Subject: qemu + kqemu reboots machine 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 Aug 2005 19:11:05 -0000 hi, yesterday i tried kqemu + qemu on FreeBSD 6.0-BETA2, and after loading the kqemu-module and then trying qemu my machine rebooted instantly (qemu worked fine without kqemu loaded, and it worked fine some months ago with kqemu loaded afair) today i upgraded (world+kernel) to BETA-3 and recompiled qemu + kqemu, and the same thing happened what can i do to help to fix this bug ? From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 26 19:19:29 2005 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0DC9116A41F for ; Fri, 26 Aug 2005 19:19:29 +0000 (GMT) (envelope-from appaquet@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id D96D343D45 for ; Fri, 26 Aug 2005 19:19:27 +0000 (GMT) (envelope-from appaquet@gmail.com) Received: by wproxy.gmail.com with SMTP id 55so207996wri for ; Fri, 26 Aug 2005 12:19:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:subject:cc:in-reply-to:mime-version:content-type:references; b=GQFa7XqUQZLKyuv2/Z2ErUDcC5ikMIP81fcBTbkRDG1DZcCN1VzH1b+y32lb3Zfw7qMOLEu+SY1hkL91VEq9tyye8rMnjvzT3WmuXWxzieSKiMxkCx6EzYq6phjFDRaxBwffDUh7BUnStORkRcZcwW/NzbowLKgwpjXpeQZFdFE= Received: by 10.54.149.17 with SMTP id w17mr3612528wrd; Fri, 26 Aug 2005 12:19:25 -0700 (PDT) Received: by 10.54.138.6 with HTTP; Fri, 26 Aug 2005 12:19:23 -0700 (PDT) Message-ID: <704206640508261219667c162f@mail.gmail.com> Date: Fri, 26 Aug 2005 15:19:24 -0400 From: =?ISO-8859-1?Q?Andr=E9-Philippe_Paquet?= Cc: freebsd-emulation@freebsd.org In-Reply-To: <20050826211059.35bcfc73.albi@scii.nl> Mime-Version: 1.0 References: <20050826211059.35bcfc73.albi@scii.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: qemu + kqemu reboots machine 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 Aug 2005 19:19:29 -0000 Same here on 5.3-stable On 8/26/05, albi@scii.nl wrote: >=20 >=20 > hi, >=20 > yesterday i tried kqemu + qemu on FreeBSD 6.0-BETA2, and after loading > the kqemu-module and then trying qemu my machine rebooted instantly > (qemu worked fine without kqemu loaded, and it worked fine some months > ago with kqemu loaded afair) >=20 > today i upgraded (world+kernel) to BETA-3 and recompiled qemu + kqemu, > and the same thing happened >=20 > what can i do to help to fix this bug ? >=20 > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to " > freebsd-emulation-unsubscribe@freebsd.org" >