From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 9 17:18:49 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 4217916A400 for ; Fri, 9 Mar 2007 17:18:49 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id E326D13C441 for ; Fri, 9 Mar 2007 17:18:48 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l29HIfou020219; Fri, 9 Mar 2007 12:18:41 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Fri, 9 Mar 2007 12:18:28 -0500 User-Agent: KMail/1.6.2 References: <45C46416.3020406@melbpc.org.au> <20070309105622.cn1tpp1crw4gsw4g@webmail.leidinger.net> <20070309102300.GA31784@stud.fit.vutbr.cz> In-Reply-To: <20070309102300.GA31784@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200703091218.39593.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2786/Fri Mar 9 07:35:44 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Alexander Leidinger , kpeter@melbpc.org.au 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 17:18:49 -0000 On Friday 09 March 2007 05:23 am, Divacky Roman wrote: > > >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 > > priority to epoll). > > I dont understand why it should use epoll only with 2.6. Epoll has > been around for some 5 years now... I guess Sun didn't think so. Check out: http://java.sun.com/javase/6/docs/technotes/guides/io/enhancements.html#6 'A new java.nio.channels.SelectorProvider implementation that is based on the Linux epoll event notification facility is included. The epoll facility is available in the Linux 2.6, and newer, kernels. The new epoll-based SelectorProvider implementation is more scalable than the traditional poll-based SelectorProvider implementation when there are thousands of SelectableChannels registered with a Selector. The new SelectorProvider implementation will be used by default when the 2.6 kernel is detected. The poll-based SelectorProvider will be used when a pre-2.6 kernel is detected.' BTW, it was backported to 1.5 and available from Update 10: http://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_10 So, you will notice the same problem from 1.5.0_10, which is already in ports tree for almost three months. Jung-uk Kim