Date: Sun, 8 Jul 2007 22:42:30 +0800 From: Ariff Abdullah <ariff@FreeBSD.org> To: Alexander Leidinger <Alexander@Leidinger.net> 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) Message-ID: <20070708224230.3fef0844.ariff@FreeBSD.org> In-Reply-To: <20070708144947.7acb42ac@deskjail> References: <20070708144947.7acb42ac@deskjail>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <Alexander@Leidinger.net> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070708224230.3fef0844.ariff>