From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 19 14:27:19 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BB4C1065679 for ; Thu, 19 Nov 2009 14:27:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 74A6D8FC12 for ; Thu, 19 Nov 2009 14:27:19 +0000 (UTC) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 654FE14E03F; Thu, 19 Nov 2009 06:27:19 -0800 (PST) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (h-67-100-89-137.snfccasy.static.covad.net [67.100.89.137]) by idiom.com (Postfix) with ESMTP id D08EB2D6020; Thu, 19 Nov 2009 06:27:18 -0800 (PST) Message-ID: <4B0555C6.8020105@elischer.org> Date: Thu, 19 Nov 2009 06:27:18 -0800 From: Julian Elischer User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: xorquewasp@googlemail.com References: <20091119065742.GA28159@logik.internal.network> <4B04F172.7070803@elischer.org> <20091119073818.GA81272@logik.internal.network> In-Reply-To: <20091119073818.GA81272@logik.internal.network> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Wine on amd64 in 32 bit jail X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 14:27:19 -0000 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 >> segment register settings and defines several different >> segments on the LDT. This is something that is different to some >> 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). jail may not alow you to do the LDT system calls. have you tried a chroot? > > Even any ideas on how to debug this would help. > > xw