Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 16:32:59 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        freebsd-hackers@freebsd.org, xorquewasp@googlemail.com
Subject:   Re: Wine on amd64 in 32 bit jail
Message-ID:  <20091119143259.GC2331@deviant.kiev.zoral.com.ua>
In-Reply-To: <4B0555C6.8020105@elischer.org>
References:  <20091119065742.GA28159@logik.internal.network> <4B04F172.7070803@elischer.org> <20091119073818.GA81272@logik.internal.network> <4B0555C6.8020105@elischer.org>

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

--Px68sada/aQXkwG2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Nov 19, 2009 at 06:27:18AM -0800, Julian Elischer wrote:
> xorquewasp@googlemail.com wrote:
> >On 2009-11-18 23:19:14, Julian Elischer wrote:
> >>Wine is an exceptional bit of software, in many ways.
> >>One way it is exceptional is that it uses the system in a number of
> >>ways that nothing else does. For example it sets various special=20
> >>segment register settings and defines several different
> >>segments on the LDT.  This is something that is different to some=20
> >>extent between i386 and amd64 and it is possible that
> >>the code for 386 LDT syscalls under amd64 may not work correctly.
> >>nothing else would test this.
> >>
> >
> >I agree and would also have likely not even tried if it wasn't for
> >reading on FreeBSD's own wiki (amonst other places) that it should
> >actually work fine. I've tried various versions and always get the
> >same result:
> >
> >  http://wiki.freebsd.org/Wine
> >
> >  "FreeBSD currently lacks support for 32bit ports on a 64bit system.
> >   However, with a little bit of effort you can build and use the 32 bit
> >   wine executable on an amd64 system (Diablo 2 works just fine)."
> >
> >His instructions show an essentially identical setup to mine (apart
> >from the fact that he's running a chroot and I'm running a jail).
>=20
> jail may not alow you to do the LDT system calls.
There are no restrictions for the sysarch(I386_GET/SET_LDT), neither
for root-only, nor for inside the jail.

>=20
> have you tried a chroot?
>=20
> >
> >Even any ideas on how to debug this would help.
> >
> >xw
>=20
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"

--Px68sada/aQXkwG2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAksFVxsACgkQC3+MBN1Mb4hBSgCfRJLwCzO9z8eku23NmX8Ck35B
CtoAmwWPoyHclROafBXVYDfaPEDDze3h
=l4kc
-----END PGP SIGNATURE-----

--Px68sada/aQXkwG2--



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