From owner-freebsd-current@FreeBSD.ORG  Sat Sep 11 17:34:20 2004
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Delivered-To: freebsd-current@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7AE4A16A4CE
	for <freebsd-current@freebsd.org>;
	Sat, 11 Sep 2004 17:34:20 +0000 (GMT)
Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net
	[66.42.172.210])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EA15443D55
	for <freebsd-current@freebsd.org>;
	Sat, 11 Sep 2004 17:34:17 +0000 (GMT)
	(envelope-from mistry.7@osu.edu)
Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210])
	(authenticated bits=0)i8BHKPjr001525
	(version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO);
	Sat, 11 Sep 2004 13:20:25 -0400 (EDT)
	(envelope-from mistry.7@osu.edu)
From: Anish Mistry <mistry.7@osu.edu>
To: Gerald Pfeifer <gerald@pfeifer.com>
Date: Sat, 11 Sep 2004 13:36:14 -0400
User-Agent: KMail/1.6.2
References: <47158390.20040827112834@ulstu.ru>
	<200409060149.35764.mistry.7@osu.edu>
	<Pine.BSF.4.61.0409111903130.75276@acrux.dbai.tuwien.ac.at>
In-Reply-To: <Pine.BSF.4.61.0409111903130.75276@acrux.dbai.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: multipart/signed;
  protocol="application/pgp-signature";
  micalg=pgp-sha1;
  boundary="Boundary-02=_YezQBsZ0YT1QhQk";
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200409111336.24239.mistry.7@osu.edu>
X-Spam-Status: No, hits=-0.4 required=5.0
	tests=EMAIL_ATTRIBUTION,IN_REP_TO,J_CHICKENPOX_82,
	      PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,
	      RCVD_IN_OSIRUSOFT_COM,REFERENCES,REPLY_WITH_QUOTES,
	      USER_AGENT_KMAIL,X_OSIRU_OPEN_RELAY
	version=2.55
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
cc: freebsd-current@freebsd.org
Subject: Re: Wine and mmap
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.1
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
	<freebsd-current.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-current>,
	<mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Sep 2004 17:34:20 -0000


--Boundary-02=_YezQBsZ0YT1QhQk
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Saturday 11 September 2004 01:05 pm, you wrote:
> On Mon, 6 Sep 2004, Anish Mistry wrote:
> > Well I guess this is my lucky day.  Apply the attached patch for vm_mmap
> > to your kernel and patch the August wine sources with the wine-mmap.pat=
ch
> > and compile and install wine (be sure to use gmake).  This is working on
> > my dev system with 6-CURRENT as of Saturday night.
>
> I currently do not have a 6-CURRENT (or recent 5-STABLE) machine
> available, and we probably can't require users of our wine port to
> patch their kernel, so we'd really need to see that in a stock kernel.
>
> Is there any chance someone could review/apply that patch=3D
You're the first to reply, and we need a few other people with RELENG_5 or=
=20
HEAD to test.
>
> > The wine mmap patch just doesn't reserve the DOS area so DOS programs m=
ay
> > not work.  This seems to just work around a side effect of the kernel
> > mmap patch.
>
> This i can get into Wine quite easily.
>
A proper patch for this would be just to #ifdef __FreeBSD__ around that lin=
e.
> > I still think that the kernel mmap patch has issues so I'm hoping Alan
> > can give us some feedback.
>
> Alan?
>
> > Anyway this worked for me, YMMV.
>
> Thanks a lot!
>
> Gerald

=2D-=20
Anish Mistry

--Boundary-02=_YezQBsZ0YT1QhQk
Content-Type: application/pgp-signature
Content-Description: signature

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

iD8DBQBBQzeYxqA5ziudZT0RAnboAKCkSLrixbvjI0Ehp2jWXFGXHQXJJwCgjud7
j+RvtuQW+hPsMfJPKjtUMb8=
=jM7R
-----END PGP SIGNATURE-----

--Boundary-02=_YezQBsZ0YT1QhQk--