From owner-freebsd-emulation@FreeBSD.ORG Fri Mar 30 13:48:27 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 E17ED16A400 for ; Fri, 30 Mar 2007 13:48:26 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from mail.irbis.net.ru (mail.irbis.net.ru [194.186.18.2]) by mx1.freebsd.org (Postfix) with ESMTP id 189E713C48C for ; Fri, 30 Mar 2007 13:48:26 +0000 (UTC) (envelope-from yuri@darklight.org.ru) Received: from darklight.org.ru (darklight.local [192.168.0.64]) by mail.irbis.net.ru (Postfix) with ESMTP id 448F062D455; Fri, 30 Mar 2007 17:37:49 +0400 (MSD) Received: from darklight.org.ru (yuri@localhost [127.0.0.1]) by darklight.org.ru (8.13.8/8.13.8) with ESMTP id l2UDbdgK029481; Fri, 30 Mar 2007 17:37:40 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Received: (from yuri@localhost) by darklight.org.ru (8.13.8/8.13.8/Submit) id l2UDbclA029480; Fri, 30 Mar 2007 17:37:38 +0400 (MSD) (envelope-from yuri@darklight.org.ru) Date: Fri, 30 Mar 2007 17:37:38 +0400 From: Yuri Pankov To: Boris Samorodov Message-ID: <20070330133736.GB1004@darklight.org.ru> References: <33186202@bsam.ru> <20070328193650.GA872@darklight.abyss.local> <02771311@bsam.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TakKZr9L6Hm6aLOc" Content-Disposition: inline In-Reply-To: <02771311@bsam.ru> User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: ClamAV 0.90.1/2965/Fri Mar 30 03:03:35 2007 on mail.irbis.net.ru X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.irbis.net.ru [194.186.18.2]); Fri, 30 Mar 2007 17:37:50 +0400 (MSD) 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: Fri, 30 Mar 2007 13:48:27 -0000 --TakKZr9L6Hm6aLOc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 29, 2007 at 01:23:44AM +0400, Boris Samorodov wrote: > 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: >=20 > > > I've just committed a new EXPERIMENTAL port emulators/linux_base-fc6. > > >=20 > > > 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=3D2.6= =2E16. > > >=20 > > > 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 invest= igation) > > > - www/linux-mozilla -- doesn't run (some new... or old libraries ar= e needed) > > >=20 > > > To use/test the port (along with linux FC4 infrastructure ports) you > > > should do: > > >=20 > > > 0. Backup all your vital information! > > > 1. Remove the current linux base port. > > > 2. Add to your /etc/make.conf "OVERRIDE_LINUX_BASE_PORT=3Dfc6". > > > 3. Make sure no linux application is running. > > > 4. Set apropriate sysctl (compat.linux.osrelease=3D2.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 > > >=20 >=20 > > Done. >=20 > > > That should be enough at most circumstances. If you have difficulties, > > > please be sure to expand item 1 to: > > >=20 > > > 1a. Remove all ports which depends on linux base port. > > > 1b. Remove linux base port. > > > 1c. Clean /compat/linux/ directory. > > >=20 > > > 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. > > >=20 > > > All questions, reports, suggestions etc. please route to > > > freebsd-emulation@. >=20 > > # sysctl compat.linux.osrelease=3D2.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 >=20 > > Same for all programs in /compat/linux/bin. >=20 > > 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 >=20 > > linux_base-fc6-6 Base set of packages needed in Linux mode (for > > i386/amd64) >=20 > > What am I missing? >=20 > 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 >=20 >=20 > WBR > --=20 > Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD committer, http://www.FreeBSD.org The Power To Serve > _______________________________________________ > freebsd-emulation@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-emulation > To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.o= rg" After jkim's commits, I was able to install and use print/acroread7. No problems so far, only messages in dmesg (I guess about those yet unimplemented *at syscalls): linux: pid 29367 (pwd): syscall fstatat64 not implemented linux: pid 29370 (pwd): syscall fstatat64 not implemented linux: pid 29373 (pwd): syscall fstatat64 not implemented Thank you. --=20 Yuri --TakKZr9L6Hm6aLOc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGDRKg8hBlB0qMSXYRAkJhAJ4+TpU5UEwn03DTHeHBNv/zlj14PgCeImcZ LTgpbHwhMIvklmlULLKR6Mo= =nPIf -----END PGP SIGNATURE----- --TakKZr9L6Hm6aLOc--