From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 6 02:26:59 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B0E1065674 for ; Sun, 6 Jul 2008 02:26:59 +0000 (UTC) (envelope-from kpeter@melbpc.org.au) Received: from hosted07.westnet.com.au (hosted07.westnet.com.au [203.10.1.223]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEC88FC13 for ; Sun, 6 Jul 2008 02:26:59 +0000 (UTC) (envelope-from kpeter@melbpc.org.au) Received: from hosted07.westnet.com.au (hosted07.westnet.com.au [127.0.0.1]) by hosted07.westnet.com.au (Postfix) with SMTP id 453CF33D8E6 for ; Sun, 6 Jul 2008 09:55:27 +0800 (WST) Received: from baron.from.hell (dsl-124-150-124-134.vic.westnet.com.au [124.150.124.134]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hosted07.westnet.com.au (Postfix) with ESMTP id D38CD33D84F for ; Sun, 6 Jul 2008 09:55:26 +0800 (WST) Message-ID: <4870260D.1080203@melbpc.org.au> Date: Sun, 06 Jul 2008 01:55:25 +0000 From: Peter Kostouros Organization: Melbourne PC User Group User-Agent: Thunderbird 2.0.0.14 (X11/20080421) MIME-Version: 1.0 To: emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Branch: TNG-Outgoing Cc: Subject: Linux 2.6 emulation and Linux Java problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kpeter@melbpc.org.au List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2008 02:26:59 -0000 Hi Is anyone having difficulty running Java applications (specifically linux-netbeans 6.1, linux-glassfish V2 and some Java applets) using linux-sun-jdk1.6.0_xx under CURRENT with Linux 2.6 emulation? I am running CURRENT as of 21JUN2008 with linux_base-f8. Invoking linux-netbeans causes a java instance to crash during startup, with ktrace on that instance showing 1860 java RET open 97/0x61 1860 java CALL freebsd6_mmap(0x61, 0x2b639970, PROT_EXEC, MAP_FILE, 0xa5a5a5a5, ..., 0xa5a5a5a5, 0, ..., 0, 0xc, 0xdead0002, ... Note 1. These applications ran successfully with linux_base-fc4 and compat.linux.osrelease set to 2.4.2; 2. The success of running java applications also depends on debug.witness.watch: I get more mileage from java applications when this sysctl is 0. What can I do to help resolve the matter? Note, I do not know if my system is somehow corrupted or that I may have some stale libraries. -- Regards Peter As always the organisation disavows knowledge of this email