From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 16 21:33:17 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 758) id D34261065670; Wed, 16 Apr 2008 21:33:17 +0000 (UTC) Date: Wed, 16 Apr 2008 21:33:17 +0000 From: Kris Kennaway To: kama Message-ID: <20080416213317.GB25623@hub.freebsd.org> References: <200804161256.56633.jkim@FreeBSD.org> <20080416172825.GA81674@freebsd.org> <20080416223801.T19507@ns1.as.pvp.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080416223801.T19507@ns1.as.pvp.se> User-Agent: Mutt/1.4.2.1i Cc: Roman Divacky , freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: Re: [PATCH] Add stubs for Linux 2.6.17 syscalls 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: Wed, 16 Apr 2008 21:33:17 -0000 On Wed, Apr 16, 2008 at 10:48:16PM +0200, kama wrote: > > > On Wed, 16 Apr 2008, Roman Divacky wrote: > > > On Wed, Apr 16, 2008 at 12:56:50PM -0400, Jung-uk Kim wrote: > > > The attached patch adds stubs for Linux 2.6.17 syscalls. Even though > > > some syscalls were not in official 2.6.16 kernel (e.g., > > > [gs]et_robust_list() showed up in 2.6.17-rc1), GNU libc started using > > > them for NPTL and FC4 updated 2.6 kernel to 2.6.17 later. > > > > > > If you have any concern or objection, please speak up now. > > > > please do commit... no objection from me > > wouldnt it be good to add a rc.conf tunable to say what type of kernel to > use? > > Like: > linux_enable="YES" > linux_version="2.6" > > And let '/etc/rc.d/abi start' handle the sysctl setting. This way you may > update the kernel versions whenever you feel like it to whatever version > you want and we (the users) dont need to care about it, we just specify > 2.4 or 2.6. > > I also want to thank you all for working on the linuxulator. I use it > mainly for gameservers and the newer gameservers needs 2.6 to operate. You just set compat.linux.osrelease="2.6.18" (or 2.6.anything) in sysctl.conf. An rc script would be overkill. Note that last time I checked we didn't support enough 2.6 syscalls to run common binaries though (e.g. a recent fedora rpm(1)). Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe