From owner-freebsd-emulation@FreeBSD.ORG Sun Jul 6 07:41:31 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 C8CFA106567E for ; Sun, 6 Jul 2008 07:41:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 7618D8FC14 for ; Sun, 6 Jul 2008 07:41:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57B92.dip.t-dialin.net [84.165.123.146]) by redbull.bpaserver.net (Postfix) with ESMTP id 040C02E21B; Sun, 6 Jul 2008 09:41:25 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 161D3132E70; Sun, 6 Jul 2008 09:41:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1215330072; bh=ExUa8Vuf6N/yFa4D90wt3kJkmTWw5J8yo ZCMBM7OA9I=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To: References:Mime-Version:Content-Type:Content-Transfer-Encoding; b=DTTLGV+hfdlewj8TjgsEOCcFH4m0+u4tVGsWSivpjnXVsDCNzEh43ap5sGtyRUaZ0 YlGWb/k2tWYQ16JVFkfGhu91FUP/Or9SvxJBYUbRSjVefbxX8UUxyeJn5HB2hMWYH52 8afyIPfs3bs++zJ9HxVInnmiUCMDgloCD0pPYyvbUn07fczgIQl1D6cPaszcI1t1fAe mLEmrldN5HTiFnDiZYUo12FGqNOFOx0Kd/qE+tFWc0Dg2SSGfeTQMN3MW2HTS70HQlL z2EBS0RDKQD4o3Zal9kO9BAXxAMzEAKdnbrjW4KeTtTSqxsEYVDDTpoZfnIPXGaH1mW 3zusJuitw== Date: Sun, 6 Jul 2008 09:43:32 +0200 From: Alexander Leidinger To: kpeter@melbpc.org.au Message-ID: <20080706094332.4de443b0@deskjail> In-Reply-To: <4870260D.1080203@melbpc.org.au> References: <4870260D.1080203@melbpc.org.au> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.4, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: Linux 2.6 emulation and Linux Java problem 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, 06 Jul 2008 07:41:31 -0000 Quoting Peter Kostouros (Sun, 06 Jul 2008 01:55:25 +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 Are you using linux_kdump, or the normal kdump? If the later, you need to use the former. There's also the possibility to use dtrace (new feature in current, so no HOWTO for the linux dtrace script available yet). > 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. Do you get witness warning/errors on the console? Please check and report them if there are any. Bye, Alexander. -- Everybody is ignorant, only on different subjects. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137