From owner-freebsd-emulation@FreeBSD.ORG Mon Mar 19 18:35:54 2007 Return-Path: X-Original-To: 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 8732216A400; Mon, 19 Mar 2007 18:35:54 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.freebsd.org (Postfix) with ESMTP id EF15313C489; Mon, 19 Mar 2007 18:35:53 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id l2JIZiF6030457 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Mar 2007 19:35:44 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l2JIZidh030453; Mon, 19 Mar 2007 19:35:44 +0100 (CET) Date: Mon, 19 Mar 2007 19:35:44 +0100 From: Divacky Roman To: Alexander Leidinger Message-ID: <20070319183544.GA29670@stud.fit.vutbr.cz> References: <20070316120038.2iizia24mc4wcw8s@webmail.leidinger.net> <20070316122658.GA31977@stud.fit.vutbr.cz> <20070316164225.v74k3m97vuow00c0@webmail.leidinger.net> <20070316174812.GB64778@dan.emsphone.com> <20070319164907.GA6461@stud.fit.vutbr.cz> <20070319180618.aqgavlri1c8cc4gs@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070319180618.aqgavlri1c8cc4gs@webmail.leidinger.net> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: emulation@freebsd.org, kib@freebsd.org, rdivacky@freebsd.org, jkim@freebsd.org Subject: Re: 2.6.16 for linuxulator & 7.0 release 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: Mon, 19 Mar 2007 18:35:54 -0000 On Mon, Mar 19, 2007 at 06:06:18PM +0100, Alexander Leidinger wrote: > Quoting Divacky Roman (from Mon, 19 Mar > 2007 17:49:07 +0100): > > >On Fri, Mar 16, 2007 at 12:48:12PM -0500, Dan Nelson wrote: > >>In the last episode (Mar 16), Alexander Leidinger said: > >>> Quoting Divacky Roman (from Fri, 16 Mar > >>> 2007 13:26:58 +0100): > >>> > >>> >as java is regarded I think its not a big problem to patch java > >>> >shell script to set emulation to 2.4 etc. but I agree that 2.6 is > >>> >not ready for 7.0R > >>> > >>> This would require to run every java programs as root. Very impractical. > >> > >>Wouldn't setting LD_ASSUME_KERNEL=2.4.20 (or any 2.4.x release) > >>suffice? > > > >no... we act differenly in the kernel depending on how > >compat.linux.osrelease > >is set... setting LD_ASSUME_KERNEL wont change a thing and it WILL > >SCREW THINGS > > > >dont do this > > Even when we set it to .20 as he suggested instead to .2 as I > suggested? With .20 we get the NPTL stuff and maybe not the epoll > stuff in the jdk. I was talking about setting LD_ASSUME_KERNEL.. this DOES NOT work in our current linuxulator and will BREAK things. the linux_use26() function works on the sysctl compat.linux.osrelease and doesnt care about LD_ASSUME_KERNEL so kernel things its running 2.6 and userland thinks its running 2.4 -> things must break. we dont support per-process emulation version setting. and I am not keen about implementing it as I consider the transition temporary and think after some time we will be using 2.6 emulation only. roman