From owner-freebsd-emulation@FreeBSD.ORG Mon Aug 2 11:07:31 2004 Return-Path: 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 CDF6016A4CF for ; Mon, 2 Aug 2004 11:07:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABFCA43D4C for ; Mon, 2 Aug 2004 11:07:31 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i72B7VJE007525 for ; Mon, 2 Aug 2004 11:07:31 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i72B7Tdm007108 for emulation@freebsd.org; Mon, 2 Aug 2004 11:07:29 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 2 Aug 2004 11:07:29 GMT Message-Id: <200408021107.i72B7Tdm007108@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 Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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, 02 Aug 2004 11:07:32 -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 [2000/12/15] misc/23561 emulation Linux compatibility mode does not support o [2001/03/28] kern/26171 emulation not work Linux-emulator, but hi is work i f [2004/03/04] ports/63747 emulation vmmon is not performing o [2004/06/18] kern/68079 emulation linux ibm jdk 1.4.1 fails with: JVMLH050: o [2004/06/22] ports/68202 emulation [patch] Make vmware2 compile on -current o [2004/06/24] ports/68265 emulation [patch] Make rtc compile on -current (nee 8 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/06/20] misc/19391 emulation Evilness with Linux Terminus, causes X to o [2001/08/14] kern/29698 emulation linux ipcs doesn'work p [2002/04/16] misc/37161 emulation ext2 linux file system, error handling la 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 o [2002/11/27] kern/45785 emulation Linux WineX seems to require a few new li 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 [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 f [2004/06/30] ports/68532 emulation Add support for multiple VMWare instances 12 problems total. From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 3 11:22:59 2004 Return-Path: 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 DD52E16A4CE for ; Tue, 3 Aug 2004 11:22:59 +0000 (GMT) Received: from vil.com.ua (vil.com.ua [195.69.134.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACBA743D39 for ; Tue, 3 Aug 2004 11:22:58 +0000 (GMT) (envelope-from feobsd@ukr.net) Received: from FEO œby vil.com.ua (8.12.11/8.12.10) with ESMTP id i73BMsVe075510 for ; Tue, 3 Aug 2004 14:22:54 +0300 (EEST) Date: Tue, 3 Aug 2004 14:22:53 +0300 From: feobsd@ukr.net X-Mailer: The Bat! (v2.10.03) Educational X-Priority: 3 (Normal) Message-ID: <1863787521.20040803142253@ukr.net> To: freebsd-emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version 0.72, clamav-milter version 0.72 on vil.com.ua X-Virus-Status: Clean Subject: vmware 3.x port and FreeBSD-5.2.1-Release. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: feobsd@ukr.net List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2004 11:23:00 -0000 Please, help me. I installed vmware 3.x port as of 2004-08-01 (2004-07-27, 2004-07-07 also) on FreeBSD-5.2.1-Release and FreeBSD-5.2-Release. It's all the same. XFree86 version 4.3.0 KDE Release 3.1.4 I run vmware in console, create new VM, try to run it but see message "Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device." I try recopmile kernel with disabled options SMP and device apic but the message is also. What do I have to do for run my VM on FreeBSD? Please, give me help or link to read about it. Thank you. -- <>< -- Feonik feobsd@ukr.net From owner-freebsd-emulation@FreeBSD.ORG Tue Aug 3 12:19:22 2004 Return-Path: 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 D5D2516A4CE for ; Tue, 3 Aug 2004 12:19:22 +0000 (GMT) Received: from 194-185-53-242.f5.ngi.it (194-185-53-242.f5.ngi.it [194.185.53.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id A696443D66 for ; Tue, 3 Aug 2004 12:19:21 +0000 (GMT) (envelope-from mark@remotelab.org) Received: from vaio.lab (localhost. [127.0.0.1])i73CJJ6b087368; Tue, 3 Aug 2004 14:19:19 +0200 (CEST) (envelope-from mark@remotelab.org) Received: from vaio.lab (localhost.lab [127.0.0.1]) by vaio.lab (8.12.11/8.12.11) with ESMTP id i73CIx2v001060; Tue, 3 Aug 2004 14:18:59 +0200 (CEST) (envelope-from mark@vaio.lab) Received: (from mark@localhost) by vaio.lab (8.12.11/8.12.11/Submit) id i73CIx3E001059; Tue, 3 Aug 2004 14:18:59 +0200 (CEST) (envelope-from mark) Date: Tue, 3 Aug 2004 14:18:58 +0200 From: Marco Trentini To: feobsd@ukr.net Message-ID: <20040803121858.GA777@vaio.lab> References: <1863787521.20040803142253@ukr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1863787521.20040803142253@ukr.net> X-Operating-System: FreeBSD vaio.lab 5.2-CURRENT i386 User-Agent: Mutt/1.5.6i cc: freebsd-emulation@freebsd.org Subject: Re: vmware 3.x port and FreeBSD-5.2.1-Release. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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, 03 Aug 2004 12:19:22 -0000 On Tue, Aug 03, 2004 at 02:22:53PM +0300, feobsd@ukr.net wrote: > Please, help me. I installed vmware 3.x port as of 2004-08-01 > (2004-07-27, 2004-07-07 also) on FreeBSD-5.2.1-Release and > FreeBSD-5.2-Release. It's all the same. > > XFree86 version 4.3.0 > KDE Release 3.1.4 > > I run vmware in console, create new VM, try to run it but see message > "Cannot attach shared memory segment: Invalid argument. > Failed to initialize SVGA device." > > I try recopmile kernel with disabled options SMP and device apic but > the message is also. > > What do I have to do for run my VM on FreeBSD? Please, give me help or > link to read about it. root@vaio # cat pkg-message ************************************************************ Get Linux procfs ready and initialize vmmon/vmnet as follows: ${PREFIX}/etc/rc.d/vmware.sh start then you'll be ready to start vmware. If you experience freezes on power on, be sure that the ACPI module is not loaded. Don't forget to load the kernel module aio.ko, or options VFS_AIO in the kernel. Otherwise expect problems. If you have fairly recent 5.x system or running vmware3 on FreeBSD 4.x, make sure that you have sysctl kern.ipc.shm_allow_removed set to 1, otherwise you will get Cannot attach shared memory segment: Invalid argument. Failed to initialize SVGA device. errors on "Power On". You can add the following to /etc/sysctl.conf: --- cut here --- kern.ipc.shm_allow_removed=1 --- cut here --- Don't miss the documents installed: vmware(1) ${PREFIX}/share/doc/vmware/* If you want to learn more on how to configure vmnet interfaces for multiple instances of VMware, please refer to ${PREFIX}/share/doc/vmware/MultipleInstances.FreeBSD ************************************************************ -- Marco Trentini mark@remotelab.org http://www.remotelab.org/ From owner-freebsd-emulation@FreeBSD.ORG Wed Aug 4 08:20:23 2004 Return-Path: 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 A9A9916A4CE for ; Wed, 4 Aug 2004 08:20:23 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1BCE43D60 for ; Wed, 4 Aug 2004 08:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i748KNh3030204 for ; Wed, 4 Aug 2004 08:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i748KNqL030203; Wed, 4 Aug 2004 08:20:23 GMT (envelope-from gnats) Date: Wed, 4 Aug 2004 08:20:23 GMT Message-Id: <200408040820.i748KNqL030203@freefall.freebsd.org> To: emulation@FreeBSD.org From: Michael Joyner Subject: Re: misc/19391: Evilness with Linux Terminus, causes X to dump core. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michael Joyner List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Aug 2004 08:20:23 -0000 The following reply was made to PR misc/19391; it has been noted by GNATS. From: Michael Joyner To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: misc/19391: Evilness with Linux Terminus, causes X to dump core. Date: Wed, 04 Aug 2004 04:12:36 +0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD08BBD80DEE82A0D6A5D0E76 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Please close this PR. I don't have the game anymore. and it is old, can't tell if it still needs fixing. --------------enigD08BBD80DEE82A0D6A5D0E76 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBEGI0OElk0ppmOXwRAshJAJ9GTKfyZmQGa2gODXfeZHVgOKYy8wCgrr/0 TQv+MpU8DRPk5bYPirK1ffc= =l3rT -----END PGP SIGNATURE----- --------------enigD08BBD80DEE82A0D6A5D0E76-- From owner-freebsd-emulation@FreeBSD.ORG Thu Aug 5 05:53:11 2004 Return-Path: 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 B115D16A4CE for ; Thu, 5 Aug 2004 05:53:11 +0000 (GMT) Received: from mail.postmark.net (postmark.net [199.227.76.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 531D543D67 for ; Thu, 5 Aug 2004 05:53:11 +0000 (GMT) (envelope-from themask@postmark.net) Received: by mail.postmark.net (Postfix, from userid 500) id C461C143634; Thu, 5 Aug 2004 01:40:53 -0400 (EDT) Received: from 202.149.214.109 by www.postmark.net with HTTP; 05 Aug 2004 05:40:53 -0000 Mime-Version: 1.0 From: The Mask To: freebsd-emulation Date: Thu, 05 Aug 2004 11:10:53 +0530 Content-Type: text/plain; charset="iso-8859-1" Message-Id: <20040805054053.C461C143634@mail.postmark.net> Subject: Req for help: ELF File OS ABI Invalid X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 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, 05 Aug 2004 05:53:11 -0000 Hi, I am searching really hard for a solution regarding the "ELF file OS ABI Invalid" error. I am running Simple Jni example (to test jni I am getting same error in my project)on FreeBSD but I am getting the following error while executing my java program: %java Sample1 Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/home/smgusr/mangesh/libSample1.so.1.0.1: /usr/home/smgusr/mangesh/libSample1.so.1.0.1: ELF file OS ABI invalid at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1456) at java.lang.Runtime.load0(Runtime.java:737) at java.lang.System.load(System.java:811) at Sample1.main(Sample1.java:10) if I use the ldd command it refer like this %ldd /usr/home/smgusr/mangesh/libSample1.so.1.0.1 /usr/home/smgusr/mangesh/libSample1.so.1.0.1: libc.so.4 => /usr/lib/libc.so.4 (0x2806a000) I have made libSample1.so.1.0.1 in the following way: gcc -o2 -fPIC -g -I/usr/local/linux-sun-jdk1.4.2/include -I/usr/local/linux-sun-jdk1.4.2/include/linux -c Sample1.c -o Sample1.o for linking and making shared library gcc -o2 -shared -fPIC -pthread -Wl -I/usr/local/linux-sun-jdk1.4.2/include -I/usr/local/linux-sun-jdk1.4.2/include/linux -soname,libSample1.so.1 -o libSample1.so.1.0.1 Sample1.o -L/usr/compat/linux/lib -L/usr/lib -L/usr/home/smgusr/mangesh -lc Even though I try to load standard shared library from /usr/lib the error persists. What is going wrong? Is it the Linux emulator problemor my shared lirary problem?? We have installed linux_base to set linux environment set linux_base="yes" (/etc/rc.conf) set kern.fallback_brand=3 (/etc/sysctl.conf) Running kldstat is giving the following result %kldstat Id Refs Address Size Name 1 4 0xc0100000 44fbf8 kernel 2 1 0xc33e3000 7000 linprocfs.ko 3 1 0xc3455000 15000 linux.ko 4 1 0xc3646000 3000 snp.ko Running following command to check linux binary compatibility layer is loaded: %kldstat -v | grep linuxelf 219 linuxelf I am getting the above output which means the linux emulator is loaded. Running following command to check if the layer is compiled into the kernel or loaded as a module: % kldstat | grep linux.ko 3 1 0xc3455000 15000 linux.ko I am getting the above output (Ref link:http://www.merlinobbs.net/modules.php?name=News&file=article&sid= 483 Does it means it needs some more settings like setting options compat_linux in kernel config? Is there any issue related to configuring ld.so files on FreeBSD?? linprocfs is mounted and showing entry in the (/etc/fstab) and kldstat command. Configuration is : FreeBSD 4.10-BETA (GENERIC) I am using the following packages linux-sun-jdk-1.4.2.04 Sun Java Development Kit 1.4 for Linux linux_base-8-8.0_4 Base set of packages needed in Linux mode (only for i386) linux_devtools-8.0_1 Packages needed for doing development in Linux mode libtool-1.3.5_1 Generic shared library support script gmake-3.80_1 GNU version of 'make' utility automake-1.4.5_9 GNU Standards-compliant Makefile generator (legacy version GCC 2.95.4 gdb 4.18 ld 2.12.1 supported emulation elf_i386 I am awaiting your valuable suggestions. Thanks in advance. Regards, Mangesh From owner-freebsd-emulation@FreeBSD.ORG Fri Aug 6 20:20:36 2004 Return-Path: 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 3926516A4CF for ; Fri, 6 Aug 2004 20:20:36 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2347143D60 for ; Fri, 6 Aug 2004 20:20:36 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i76KKZS2051001 for ; Fri, 6 Aug 2004 20:20:35 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i76KKZi5051000; Fri, 6 Aug 2004 20:20:35 GMT (envelope-from gnats) Date: Fri, 6 Aug 2004 20:20:35 GMT Message-Id: <200408062020.i76KKZi5051000@freefall.freebsd.org> To: emulation@FreeBSD.org From: "Georg-W. Koltermann" Subject: Re: kern/68079: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal stack registration failed (errno=22) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Georg-W. Koltermann" List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Aug 2004 20:20:36 -0000 The following reply was made to PR kern/68079; it has been noted by GNATS. From: "Georg-W. Koltermann" To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/68079: linux ibm jdk 1.4.1 fails with: JVMLH050: Signal stack registration failed (errno=22) Date: Fri, 06 Aug 2004 22:19:41 +0200 Update: The IBM JRE can be made to work by setting IBM_NOLDT=1 in the environment. So the remaining problem is definitely a problem with our LDT usage, conflicting with Linux emulation. I assume the port could be fixed by installing a wrapper script which sets this. Or at least we could add a message to the port asking the user to do it. As a prereq we still have to apply the patch from this PR, to get around the first problem. So could someone with a commit bit please commit it? Tnx, Georg.