From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 18 16:06:23 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48AD8106566B; Tue, 18 Jan 2011 16:06:23 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id EF2AF8FC19; Tue, 18 Jan 2011 16:06:22 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3B6BF.dip.t-dialin.net [87.179.182.191]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id E2937844167; Tue, 18 Jan 2011 17:06:05 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 848562EA1; Tue, 18 Jan 2011 17:06:02 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p0IG5lmW017973; Tue, 18 Jan 2011 17:05:47 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 18 Jan 2011 17:05:46 +0100 Message-ID: <20110118170546.90956ot2dywm9og0@webmail.leidinger.net> Date: Tue, 18 Jan 2011 17:05:46 +0100 From: Alexander Leidinger To: Andrew Gallatin References: <4D3363A5.9000207@cs.duke.edu> <20110117132443.12425wsnnktdbvk0@webmail.leidinger.net> <4D34BAA9.4020709@cs.duke.edu> In-Reply-To: <4D34BAA9.4020709@cs.duke.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: E2937844167.A7708 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.274, required 6, autolearn=disabled, RDNS_NONE 1.27) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1295971566.76748@50QfannYKKTF+8Bgd005ag X-EBL-Spam-Status: No Cc: freebsd-emulation@freebsd.org, rdivacky@freebsd.org Subject: Re: epoll workaround for linux java? 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, 18 Jan 2011 16:06:23 -0000 Quoting Andrew Gallatin (from Mon, 17 Jan 2011 16:54:49 -0500): > On 01/17/11 07:24, Alexander Leidinger wrote: >> Quoting Andrew Gallatin (from Sun, 16 Jan 2011 > >>> Last, is there any workaround to be able to use a linux >>> jvm? Perhaps by using a different linux base? What >>> would I be giving up? >> >> Normally it is a combination of linux_base and the sysctl >> compat.linux.osrelease. In our kernel there is a difference between > > I think I *may* have found a workaround. If I start java with the > argument > -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider > I get much, much, much farther along. I added this as a workaround for such cases to the wiki page (http://wiki.freebsd.org/linux-kernel). > It would still be nice to have epoll support. :) I agree. Feel free to improve it so that it works after fork()ing. Bye, Alexander. -- Argue for your limitations, and sure enough, they're yours. -- Messiah's Handbook: Reminders for the Advanced Soul http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137