From owner-freebsd-emulation@FreeBSD.ORG Mon Jun 4 03:16:22 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 A464716A421 for ; Mon, 4 Jun 2007 03:16:22 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from qsrv02ps.mx.bigpond.com (qsrv02ps.mx.bigpond.com [144.140.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3FA0E13C44B for ; Mon, 4 Jun 2007 03:16:21 +0000 (UTC) (envelope-from andrew@areilly.bpa.nu) Received: from oaamta07ps.mx.bigpond.com ([144.132.228.157]) by omta05ps.mx.bigpond.com with ESMTP id <20070604013414.SRAR23363.omta05ps.mx.bigpond.com@oaamta07ps.mx.bigpond.com> for ; Mon, 4 Jun 2007 01:34:14 +0000 Received: from areilly.bpa.nu ([144.132.228.157]) by oaamta07ps.mx.bigpond.com with ESMTP id <20070604013413.DPMS16304.oaamta07ps.mx.bigpond.com@areilly.bpa.nu> for ; Mon, 4 Jun 2007 01:34:13 +0000 Received: (qmail 18452 invoked by uid 501); 4 Jun 2007 01:34:13 -0000 Date: Mon, 4 Jun 2007 11:34:13 +1000 From: Andrew Reilly To: "Marc G. Fournier" Message-ID: <20070604013413.GA18304@duncan.reilly.home> References: <3ADCDD3D6FF7FB9B690ACE80@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ADCDD3D6FF7FB9B690ACE80@ganymede.hub.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Wine 'works very bad' under FreeBSD ... 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: Mon, 04 Jun 2007 03:16:22 -0000 On Sat, Jun 02, 2007 at 02:01:35AM -0300, Marc G. Fournier wrote: > I'm not out to start a Linux vs FreeBSD discussion here, I'm > only interested in finding out if there is anyone on these > lists that is working 'under the hood' with FreeBSD/wine that > is interested in determining why this software does run under > Linux, but not under FreeBSD ... I'm by no means an expert, but I have used Wine successfully in the past, on an ia32 machine. (My main machines are PPC and amd64 now, so it's not an option for me, so I don't bother to keep track of progress.) The two main problems, which distinguish Wine from all other applications is that in order to successfully emulate Windows it needs to (a) manage one of the segment registers that Windows uses for (I think) thread-local storage differently from the way FreeBSD uses it, and (b) be able to map specific virtual memory address ranges with mmap(). In particular, I believe that Wine needs to be able to map some ranges that FreeBSD maintains for kernel memory, or somthing like that. Both seem to require architectural change in FreeBSD, rather than just code-tweaking in Wine. I don't think that many of the FreeBSD architects need or use Wine, so not much is happening... Cheers, -- Andrew