From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 14 09:39:20 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C745816A412; Sat, 14 Oct 2006 09:39:20 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 857F043D6B; Sat, 14 Oct 2006 09:39:18 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id k9E9dGZY089012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Oct 2006 11:39:16 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id k9E9dGm7089011; Sat, 14 Oct 2006 11:39:16 +0200 (CEST) Date: Sat, 14 Oct 2006 11:39:16 +0200 From: Divacky Roman To: Scot Hetzel Message-ID: <20061014093916.GA88836@stud.fit.vutbr.cz> References: <790a9fff0610132255k5c3b08fcrb550fa308d31752d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <790a9fff0610132255k5c3b08fcrb550fa308d31752d@mail.gmail.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@freebsd.org, gerald@freebsd.org Subject: Re: emulators/linux-wine: Help in porting to 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: Sat, 14 Oct 2006 09:39:20 -0000 On Sat, Oct 14, 2006 at 12:55:17AM -0500, Scot Hetzel wrote: > I'm trying to create a port for emulators/linux-wine, so that we can > at least have wine running on FreeBSD/amd64 using the linuxator. This > would then silence users who want wine (amd64/104311) to run under > FreeBSD/amd64. > > Currently, I am having a problem running linux-wine. When it is run > as either root or as a user I get the following error: > > $ /compat/linux/usr/bin/wine > wine: failed to initialize: /usr/lib/wine/ntdll.dll.so: failed to map > segment from shared object: Cannot allocate memory iirc we have some problems with wine with regards to mapping memory. I dont know details but this is not trivial to solve - search the mailing lists for more info > Any idea as to how to solve this problem? > > Would anyone be willing to test this port under FreeBSD/i386 and see > if your getting the same error? > > I'm also seeing:in /var/log/messages: > > Oct 14 00:15:48 hp010 kernel: linux: pid 1351 (wine-preloader): > syscall prctl not implemented we in fact dont implement this syscall. I just looked at what it does and it doesnt look it its hard to implement... I might do it when time permits (maybe today, maybe next year :) ) are you willing to test patches? roman