From owner-freebsd-emulation Tue Apr 27 18:42: 2 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id 809C4150FD for ; Tue, 27 Apr 1999 18:42:00 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id VAA29678; Tue, 27 Apr 1999 21:41:22 -0400 (EDT) (envelope-from luoqi) Date: Tue, 27 Apr 1999 21:41:22 -0400 (EDT) From: Luoqi Chen Message-Id: <199904280141.VAA29678@lor.watermarkgroup.com> To: andrew@lake.com.au, nox@jelal.kn-bremen.de Subject: Re: Wine, Win32 stripped executables vs FreeBSD mmap() Cc: freebsd-emulation@FreeBSD.ORG Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hi Jurgen, -emulators, > > As a simultaneous expert in Wine and FreeBSD, do you have any > thoughts on the problem I reported last week: I found that Wine > could not execute any of my Win32 programs, because the FreeBSD mmap > system call refused to allocate a block of VM at 0x4000000 for > the executable. I poked around in /proc a little, and it didn't > nothing appeared to use virtual addresses lower than 0x8048000. > Is there some architectural reason for that space to be off > limmits in FreeBSD? > You should be able to mmap at any address in user space (currently address <0xc0000000). I wrote a test program to map one anonymous page at 0x4000000 and it worked. What's the errno from the mmap() call? How big is the block wine tried to allocate? What's the flag argument passed to mmap()? > -- > Andrew > -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message