From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 9 09:56:32 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 336EC16A400; Fri, 9 Mar 2007 09:56:32 +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 AE19113C494; Fri, 9 Mar 2007 09:56:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5FAB9.dip.t-dialin.net [84.165.250.185]) by redbull.bpaserver.net (Postfix) with ESMTP id 516462E14E; Fri, 9 Mar 2007 10:56:26 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 21C315B4817; Fri, 9 Mar 2007 10:56:23 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l299uM2J009413; Fri, 9 Mar 2007 10:56:22 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Fri, 09 Mar 2007 10:56:22 +0100 Message-ID: <20070309105622.cn1tpp1crw4gsw4g@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 09 Mar 2007 10:56:22 +0100 From: Alexander Leidinger To: kpeter@melbpc.org.au References: <45C46416.3020406@melbpc.org.au> <20070306140643.ddq9n3k68ksggs40@webmail.leidinger.net> <200703061137.04993.jkim@FreeBSD.org> <200703061807.05744.jkim@FreeBSD.org> <45F0FDB9.1010007@melbpc.org.au> In-Reply-To: <45F0FDB9.1010007@melbpc.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 8, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: Re: linux-2.6.16 emulation: linux-sun-jdk1.6.0 program 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: Fri, 09 Mar 2007 09:56:32 -0000 Quoting Peter Kostouros (from Fri, 09 Mar 2007 =20 17:24:57 +1100): > Jung-uk Kim wrote: >> On Tuesday 06 March 2007 11:37 am, Jung-uk Kim wrote: >> >>> On Tuesday 06 March 2007 08:06 am, Alexander Leidinger wrote: >>> >>>> Quoting Peter Kostouros (from Sat, 03 Feb >>>> 2007 >>>> >>>> 21:29:42 +1100): >>>> >>>>> Hi >>>>> >>>>> On my system (CURRENT as of 03FEB2007) linux-sun-jdk1.5.0 and >>>>> linux-sun-jdk1.6.0 applications do not run under linux 2.6.16 >>>>> emulation whereas they do under linux 2.4.2 emulation. >>>>> >>>> Could you please update to a recent current and check if this >>>> problem is still there or not? >>>> >>> As far as I know, they don't work, i.e., they crash with internal >>> error. Both require sched_getaffinity (and maybe more) and that is >>> not implemented. I believe JDK breakage is serious blocker for the >>> 2.6.16. Since we cannot support the syscall directly (i.e., we >>> don't have user process affinity), we may have to fake it. >>> >> >> FYI, it's fixed in perforce. >> >> Jung-uk Kim >> >> > Hi > > I applied linuxolator-p4.diff to CURRENT (as of about 24 hours ago). > Unfortunately the patch did not apply cleanly, so the rejected files > were replaced by appropriate p4 files. Unfortunately I still had the > same problem that I originally reported. It is not up-to-date. > Over this code base, I copied what I thought were the relevant files > from p4 that provided support for (linux_)sched_getaffinity as mentined > by jkim. I had positive results with this setup! However, I also have > some odd observations: > > 1. Compiling using javac ends in a signal 9 even though it looks like > the program successfully completed compilation. > 2. Running sample applications, e.g., > demo/jfc/SwingSet2/SwingSet2.jar, results in an empty pane, where it > was expected to be populated with controls (not sure if this is a > toolkit problem); applications also core dump. > 3. Running ftpserver (java application) displays a GUI window but > terminates abruptly when the server is started (syscall epoll_create > not implemented). epoll* is not implemented. So this is expected (and gives more =20 priority to epoll). Can you do the same tests with jdk 1.5? > Everything seems to run OK with compat.linux.osrelease to 2.4.2. Good. Bye, Alexander. --=20 When we are planning for posterity, we ought to remember that virtue is not hereditary. =09=09-- Thomas Paine http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137