From owner-freebsd-current@FreeBSD.ORG Mon Aug 14 17:04:28 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F87516A4E1; Mon, 14 Aug 2006 17:04:28 +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 DD67843D45; Mon, 14 Aug 2006 17:04:24 +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 k7EH4IQa094217 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 14 Aug 2006 19:04:18 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k7EH4IBY094216; Mon, 14 Aug 2006 19:04:18 +0200 (CEST) Date: Mon, 14 Aug 2006 19:04:18 +0200 From: Divacky Roman To: current@freebsd.org Message-ID: <20060814170418.GA89686@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: emulation@freebsd.org Subject: SoC: linuxolator update: first patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2006 17:04:28 -0000 Hi, I am a student doing SoC linuxolator update. The work involved updating linuxolator to be able to work with 2.6.x (2.6.16 in my case) kernel emulation. To be able to run 2.6.x emulation I had to implement NPTL, which means NPTL, futexes and thread area, pid mangling + various hacks to make it work. This is the first patch meant for public revision/testing: www.stud.fit.vutbr.cz/~xdivac02/linuxolator26-diff.patch What works/doesnt work is described here: http://wikitest.freebsd.org/linuxolator-patch-status This is not finished but its good enough to be commited. The plan now is to commit this soon to src (because of coverity testing and more public testing). How to test: you have to have i386 system (amd64 is WIP now) cd /sys fetch http://www.stud.fit.vutbr.cz/~xdivac02/linuxolator26-diff.patch patch < linuxolator26-diff.patch recompile kernel and boot this patch comes with compat.linux.osrelease=2.6.16 so you dont have to set anything. what will be commited to src will have 2.4.2 default so everything should work like now. please test with both 2.6.16 and 2.4.2. What I care about: - if you see any panics, LORs etc. please report - pls report if something doesnt work for other reason then sleeping on linuxfutex (this is being worked on) thnx Roman Divacky