From owner-freebsd-emulation@FreeBSD.ORG Wed Mar 28 21:24:08 2007 Return-Path: X-Original-To: freebsd-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 0247916A401 for ; Wed, 28 Mar 2007 21:24:08 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from mail.kuban.ru (mail.kuban.ru [62.183.66.246]) by mx1.freebsd.org (Postfix) with ESMTP id 80CF513C468 for ; Wed, 28 Mar 2007 21:24:04 +0000 (UTC) (envelope-from bsam@bsam.ru) Received: from bsam.ru ([85.172.12.165]) by mail.kuban.ru (8.9.1/8.9.1) with ESMTP id l2SLNh2t032658; Thu, 29 Mar 2007 01:23:54 +0400 (MSD) Received: from bsam by bsam.ru with local (Exim 4.62 (FreeBSD)) (envelope-from ) id 1HWfcO-0000Qv-9K; Thu, 29 Mar 2007 01:23:44 +0400 To: Yuri Pankov References: <33186202@bsam.ru> <20070328193650.GA872@darklight.abyss.local> From: Boris Samorodov Date: Thu, 29 Mar 2007 01:23:44 +0400 In-Reply-To: <20070328193650.GA872@darklight.abyss.local> (Yuri Pankov's message of "Wed, 28 Mar 2007 23:36:51 +0400") Message-ID: <02771311@bsam.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: Boris Samorodov Cc: freebsd-emulation@freebsd.org Subject: Re: [HEADS UP] a new EXPERIMENTAL port emulators/linux_base-fc6 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, 28 Mar 2007 21:24:08 -0000 On Wed, 28 Mar 2007 23:36:51 +0400 Yuri Pankov wrote: > On Wed, Mar 28, 2007 at 12:16:37AM +0400, Boris Samorodov wrote: > > I've just committed a new EXPERIMENTAL port emulators/linux_base-fc6. > > > > ATTENTION! The port is experimental for now. Use it at your own risk. This > > port may be used only with 7-CURRENT and compat.linux.osrelease=2.6.16. > > > > Said that I should admit that I've been using this port with FC4 > > infrastructure ports successfully at -CURRENT for about several months > > with following applications: > > - print/acroread7 > > - www/linux-opera > > - www/linux-firefox > > - www/linux-flashplugin7 > > - mail/linux-thunderbird > > - multimedia/linux-realplayer > > - net/skype (works fine but coredumps when exitting -- under investigation) > > - www/linux-mozilla -- doesn't run (some new... or old libraries are needed) > > > > To use/test the port (along with linux FC4 infrastructure ports) you > > should do: > > > > 0. Backup all your vital information! > > 1. Remove the current linux base port. > > 2. Add to your /etc/make.conf "OVERRIDE_LINUX_BASE_PORT=fc6". > > 3. Make sure no linux application is running. > > 4. Set apropriate sysctl (compat.linux.osrelease=2.6.16). > > 5. Install emulation/linux_base-fc6. > > 5a. Those who use linux ports with automatic plist building should > > apply the following patch: > > ftp://mail.ipt.ru/pub/FreeBSD/patches/bsd.linux-rpm.mk-autoplist.diff > > > Done. > > That should be enough at most circumstances. If you have difficulties, > > please be sure to expand item 1 to: > > > > 1a. Remove all ports which depends on linux base port. > > 1b. Remove linux base port. > > 1c. Clean /compat/linux/ directory. > > > > In case you want to get rid of the port, deinstall it, then return > > back compat.linux.osrelease to 2.4.2 (as usual make sure that no > > linux application is running) and remove from /etc/make.conf the line > > containing the OVERRIDE_LINUX_BASE_PORT variable. > > > > All questions, reports, suggestions etc. please route to > > freebsd-emulation@. > # sysctl compat.linux.osrelease=2.6.16 > compat.linux.osrelease: 2.6.16 -> 2.6.16 > # /compat/linux/bin/bash > cannot set up thread-local storage: set_thread_area failed when setting > up thread-local storage > Same for all programs in /compat/linux/bin. > FreeBSD darklight.abyss.local 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed > Mar 28 22:06:08 MSD 2007 > root@darklight.abyss.local:/usr/obj/usr/src/sys/DARKLIGHT amd64 > linux_base-fc6-6 Base set of packages needed in Linux mode (for > i386/amd64) > What am I missing? The code for amd64-current to use TLS is not committed from perforce. That code needs some additional testing. The patch against -CURRENT is available at: http://www.leidinger.net/FreeBSD/linuxolator/linuxolator-p4.diff WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve