From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 15 07:53:24 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3EA316A494 for ; Thu, 15 Jun 2006 07:53:24 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D27D443D49 for ; Thu, 15 Jun 2006 07:53:23 +0000 (GMT) (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.7/8.13.7) with ESMTP id k5F7rIOI033169 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 15 Jun 2006 09:53:18 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k5F7rIu8033168 for freebsd-emulation@freebsd.org; Thu, 15 Jun 2006 09:53:18 +0200 (CEST) Date: Thu, 15 Jun 2006 09:53:18 +0200 From: Divacky Roman To: freebsd-emulation@freebsd.org Message-ID: <20060615075318.GB32878@stud.fit.vutbr.cz> References: <200606141245.k5ECjjjY086499@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606141245.k5ECjjjY086499@lurza.secnetix.de> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Subject: Re: HEADS-UP: new dummy syscalls for linuxolator -> new console ?messages 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: Thu, 15 Jun 2006 07:53:25 -0000 On Wed, Jun 14, 2006 at 02:45:45PM +0200, Oliver Fromme wrote: > Alexander Leidinger wrote: > > Quoting Divacky Roman wrote: > > > [...] > > > I doubt anyone will see any messages unless he/she sets > > > compat.linux.osrelease > > > to something higher then 2.6.16 > > > > Which is not recommended except you don't mind running into bugs and > > getting coredumps from some programs. > > That's interesting to know. Is that documented somewhere? > I always set the sysctls like this (e.g. on FreeBSD 6.1): > > compat.linux.osrelease: 6.1 > compat.linux.osname: FreeBSD this setting doesnt make any sense.. the osrelease should be set to the version of linux kernel you want to emulate. ie. 2.4.2 or 2.6.16 etc. I think that if you set it to 6.1 nothing happens because libc (libc reads this and then mangles its internals accordingly) doesnt understand this and choses the safest values... roman