From owner-freebsd-stable@FreeBSD.ORG Sun Jul 8 14:42:35 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from misaki (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 159E216A400; Sun, 8 Jul 2007 14:42:33 +0000 (UTC) (envelope-from ariff@FreeBSD.org) Date: Sun, 8 Jul 2007 22:42:30 +0800 From: Ariff Abdullah To: Alexander Leidinger Message-Id: <20070708224230.3fef0844.ariff@FreeBSD.org> In-Reply-To: <20070708144947.7acb42ac@deskjail> References: <20070708144947.7acb42ac@deskjail> Organization: FreeBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Sun__8_Jul_2007_22_42_30_+0800_SERvbS0pAk279dWP" Cc: emulation@freebsd.org, stable@freebsd.org Subject: Re: mini-heads-up: linuxulator fixes (Fw: cvs commit: src/sys/amd64/linux32 linux.h linux32_machdep.c linux32_sysvec.c syscalls.master src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_misc.c src/sys/i386/linux linux.h linux_machdep.c linux_sysvec.c) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 14:42:35 -0000 --Signature=_Sun__8_Jul_2007_22_42_30_+0800_SERvbS0pAk279dWP Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, 8 Jul 2007 14:49:47 +0200 Alexander Leidinger wrote: > Hi, >=20 > I MFCed some fixes to the linuxulator today. One major change is > correcting the handling of the linux mmap function. This may break > some not so good programmed audio programs (mostly some few bad > behaving games). If you get hit by this, don't be afraid. The MFC of > a change to the sound system (and an entry to UPDATING) will be done > "soon" by Ariff. > Technically, this is not the fault of that particular audio apps. Latest mmap changes in linuxlator apparently force PROT_EXEC mapping on all _typical_ mmap invocations, and this affecting not just sound, but bktr(4) as well. Well, bktr a bit lucky since I haven't encounter any linux-binary + bktr apps. Anyway, I've added sysctl hw.snd.compat_linux_mmap, where it is disabled by default. linux mmap breakage: http://lists.freebsd.org/pipermail/freebsd-current/2007-June/073437.html solution: http://lists.freebsd.org/pipermail/cvs-src/2007-July/080531.html > Except for those audio apps, all programs which had problems because > of this should work better now. If you stumble upon a problem, > please report to emulation@FreeBSD.org. >=20 > Note: while more MFCs of fixes and missing linux syscalls are > planned (before 6.3), the MFC of the linux-2.6 compatibility is not > planned (if you need it, you have to update to 7.0 release when it > comes out). >=20 > If someone wants to help test some more patches for the linuxulator > in -stable, please contact me and I take you into the loop (the more > testers, the faster -stable will see the MFCs). What I need are > people which compile and runtest the changes. Most of the changes > are straight forward, we only have one part which causes a problem > because of an unknown reason (either bad testing hardware or a > missing change in my patches). >=20 -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ --Signature=_Sun__8_Jul_2007_22_42_30_+0800_SERvbS0pAk279dWP Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGkPfWlr+deMUwTNoRApM4AKCGQhiMjVZmC33grFYoxdh1v4I1KgCggfBH MmASoQIlcwqxlD2YBtHqSZw= =AGh3 -----END PGP SIGNATURE----- --Signature=_Sun__8_Jul_2007_22_42_30_+0800_SERvbS0pAk279dWP--