From owner-freebsd-emulation@FreeBSD.ORG Tue Mar 20 10:46:20 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 5F75216A401 for ; Tue, 20 Mar 2007 10:46:20 +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 E55CB13C458 for ; Tue, 20 Mar 2007 10:46:19 +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 l2KAkHf2026596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Mar 2007 11:46:17 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id l2KAkHg2026595; Tue, 20 Mar 2007 11:46:17 +0100 (CET) Date: Tue, 20 Mar 2007 11:46:17 +0100 From: Divacky Roman To: Alexander Leidinger Message-ID: <20070320104617.GA26189@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> <20070319183544.GA29670@stud.fit.vutbr.cz> <20070320104624.bkyzs8llkws4ogk8@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070320104624.bkyzs8llkws4ogk8@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 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: Tue, 20 Mar 2007 10:46:20 -0000 > >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. > > It depends on what is used. 2.6 in the kernel changes how some stuff > is handled. If LD_...=2.4.20 expect that the kernel behaves in those > areas like 2.6.16 and at the same times disallows the use of epoll() > and other stuff we don't want to be used, this would be an option. But > this depends upon how java determines how to use epoll() and upon the > expectations of glibc with LD_...=2.4.20. I didn't verified this but > it is easy to verify. no.. this just wont work. this will break if you do this... the linux_use26 mainly mangles pids which are vital for threading. feel free to prove me wrong but I am not going to waste a single second trying this :) > A thought which just crossed my mind is: is an user able to panic the > kernel when 2.6.16 is in effect in the kernel and LD_... is set to > 2.4.x and vice versa? highly unlikely approaching "definitely no"