Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Aug 2008 14:54:06 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Chagin Dmitry <dchagin@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: x86_64 linuxulator patches
Message-ID:  <20080810115406.GR97161@deviant.kiev.zoral.com.ua>
In-Reply-To: <20080810072013.GA15196@dchagin.dialup.corbina.ru>
References:  <20080810072013.GA15196@dchagin.dialup.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080810115406.GR97161>