From owner-freebsd-emulation@FreeBSD.ORG Sun Aug 10 11:54:11 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32E571065679 for ; Sun, 10 Aug 2008 11:54:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (skuns.zoral.com.ua [91.193.166.194]) by mx1.freebsd.org (Postfix) with ESMTP id A31D38FC20 for ; Sun, 10 Aug 2008 11:54:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7ABs6VK039069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 10 Aug 2008 14:54:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2) with ESMTP id m7ABs6Sw010006; Sun, 10 Aug 2008 14:54:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.2/8.14.2/Submit) id m7ABs6OY010005; Sun, 10 Aug 2008 14:54:06 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 10 Aug 2008 14:54:06 +0300 From: Kostik Belousov To: Chagin Dmitry Message-ID: <20080810115406.GR97161@deviant.kiev.zoral.com.ua> References: <20080810072013.GA15196@dchagin.dialup.corbina.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="djsmrO0QNMuttZWM" Content-Disposition: inline In-Reply-To: <20080810072013.GA15196@dchagin.dialup.corbina.ru> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, NORMAL_HTTP_TO_IP autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-emulation@freebsd.org Subject: Re: x86_64 linuxulator patches 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: Sun, 10 Aug 2008 11:54:11 -0000 --djsmrO0QNMuttZWM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 10, 2008 at 11:20:13AM +0400, Chagin Dmitry wrote: > Hi, as promised, I place x86_64 linuxulator patches. >=20 > here the basic patch: > http://78.107.232.239/linuxulator64-current.patch >=20 > here recvmsg && sendmsg patch (not tested with really applications): > http://78.107.232.239/send-recv-msg.patch >=20 > here master repository: > git://78.107.232.239/linuxulator >=20 > and ports used for testing (and only for testing): > git://78.107.232.239/linux_base-f8 > git://78.107.232.239/linux_devel-f8 > git://78.107.232.239/linux_kdump-1.6 >=20 > by default on amd64 builds i386 linuxulator, for build x86_64 use > cd sys/modules/linux > make -D COMPAT_LINUX64 >=20 > for correct recognition of what linuxulator version is used > added new sysctl compat.linux.platform > for example use in ports Makefile's: >=20 > LINUX_PLATFORM!=3D /sbin/sysctl -n compat.linux.platform 2>/dev/nu= ll >=20 > .if ${LINUX_PLATFORM}x =3D=3D "x" > IGNORE=3D linuxulator is not (kld)loaded > .elif ${LINUX_PLATFORM} =3D=3D "i386" > LINUX_RPM_ARCH=3D i386 > .elif ${LINUX_PLATFORM} =3D=3D "x86_64" > LINUX_RPM_ARCH=3D x86_64 > SFX=3D 64 > .else > IGNORE=3D ${LINUX_PLATFORM} is not supported > .endif >=20 > I shal glad to remarks, proposals and results of testing. > thnx Reading your email, I got an impression that i386/linux and x86_64/linux ABI emulators are mutually exclusive. Is this right ? I think it would be most useful to be able to have them both in one kernel. --djsmrO0QNMuttZWM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkie1t0ACgkQC3+MBN1Mb4iyAACfXOaYiGb3msCiVfg6lftA0tI/ pkoAoKT9nu6/YcUvOBgEejZiSIdDS7H+ =NFps -----END PGP SIGNATURE----- --djsmrO0QNMuttZWM--