From owner-freebsd-hackers Tue Nov 26 15:15:25 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 867A837B401 for ; Tue, 26 Nov 2002 15:15:23 -0800 (PST) Received: from alpha.yumyumyum.org (dsl092-171-091.wdc1.dsl.speakeasy.net [66.92.171.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DE0A43EAF for ; Tue, 26 Nov 2002 15:15:16 -0800 (PST) (envelope-from culverk@yumyumyum.org) Received: from alpha.yumyumyum.org (localhost [127.0.0.1]) by alpha.yumyumyum.org (8.12.6/8.12.6) with ESMTP id gAQNCcrv034282; Tue, 26 Nov 2002 18:12:39 -0500 (EST) (envelope-from culverk@yumyumyum.org) Received: from localhost (culverk@localhost) by alpha.yumyumyum.org (8.12.6/8.12.6/Submit) with ESMTP id gAQNCbAS034279; Tue, 26 Nov 2002 18:12:38 -0500 (EST) (envelope-from culverk@yumyumyum.org) X-Authentication-Warning: alpha.yumyumyum.org: culverk owned process doing -bs Date: Tue, 26 Nov 2002 18:12:37 -0500 (EST) From: Kenneth Culver To: Michael Reifenberger Cc: freebsd-hackers@freebsd.org Subject: Re: Warcraft3 on FreeBSD In-Reply-To: <20021126235714.Y800-100000@nihil> Message-ID: <20021126180337.U34164-100000@alpha.yumyumyum.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=-2.3 required=5.0 tests=IN_REP_TO,X_AUTH_WARNING,NO_MX_FOR_FROM,AWL version=2.31 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I havn't submitted them to anyone b/c I wanted more people to test them. > > The patches work fine with everything I've tried though (using the > > linux_base-7.1 package). I've tested linux-mozilla, quake3, Unreal > > Tournament 2003, Return to castle Wolfenstein, and now winex. (winex won't > > work without the patches). So I take it you're interested in messing with > > the patches I have? > Yes. > I'm using suse8. > I had the impression that glibc had fallbacks to the old (non64) functions > when not present in kernel.... > I could get it commited but Im not shure when. > Current is under code freeze yet. > Either we get re@ approval or have to wait until 5.0 is out. > Well the kernel patches MIGHT not even be necessary, I'm not sure because I only tried a little bit without them. There could be a fallback. Almost nothing would run right without the mmap2, it would run and crash at one place or another. For all the syscalls, I noticed that they weren't implemented, and they were easy enough to implement (ftruncate64 and truncate64 were similar to truncate, and mmap2 was almost a complete cut 'n paste from the mmap that's already there, just used ctob(pgoff) for pos I believe), so I did it. My patches are to a -STABLE machine though, so there'd probably be a little work necessary in getting them on to -CURRENT unless the linuxulators have stayed the same between the two versions of FreeBSD. I had help from a few people from the lists with the mmap2, although I can't remember who helped. Anyway, I'll submit a PR once I clean up the patches a bit. Ken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message