Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2007 18:21:17 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc:        freebsd-emulation@freebsd.org, ariff@freebsd.org
Subject:   Re: something wrong with Linux on 6.2-stable/amd64
Message-ID:  <20070720182117.08016bcc@deskjail>
In-Reply-To: <200707201013.13391@aldan>
References:  <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Mikhail Teterin <mi+kde@aldan.algebra.com> (Fri, 20 Jul 2007 10:13:=
12 -0400):

> On =D0=BF'=D1=8F=D1=82=D0=BD=D0=B8=D1=86=D1=8F 20 =D0=BB=D0=B8=D0=BF=D0=
=B5=D0=BD=D1=8C 2007, Alexander Leidinger wrote:
> =3D Do you have sound output? The mmap changes result in a problem with
> =3D some sound stuff.
>=20
> Yes, I do.
>=20
> =3D There's a new sysctl for this, but AFAIK there's no UPDATING entry (y=
et):
> =3D ---snip---
> =3D New sysctl: "hw.snd.compat_linux_mmap" to allow PROT_EXEC page
> =3D mapping, due to recent changes in linux compatibility layer which
> =3D require it. All linux applications that using sound + mmap() (mostly
> =3D games) require this to be enabled. Disabled by default.
> =3D ---snip---
>=20
> There must be very good reasons for breaking compatibility so...

Is improving compatibility for other use cases a reason which is good
enough?

> =3D This may or may not solve your problem. I don't remember changes to
> =3D linux_select, so this is the only thing I can up with to help you...
>=20
> No,  setting hw.snd.compat_linux_mmap did not change anything. Did I have=
 to=20
> reboot or something for it to have effect?
>=20
> =3D If it doesn't work, you have to have a look at my linux changes in
> =3D stable (5 or 6 in total) and binary search between them for the
> =3D problematic one.
>=20
> Could you identify them for me, please?

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/?only_with_tag=
=3DRELENG_6#dirlist
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/?only_with_tag=3DR=
ELENG_6#dirlist
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/?only_with_tag=
=3DRELENG_6#dirlist

MFC 1 is only style. MFC 2 and 4 may be a candidate. For MFC 2 I don't
see how it can affect this. MFC 5 is the mmap stuff + errno changes
(additional errno translations). MFC 4 handles also some more socket
options.

> P.S. Frankly, should not the burden of debugging be on you, actually?

You are the one with the problem at hand, and I'm the one with not
enough time ATM...

Bye,
Alexander.

--=20
The pills to be taken with meals will be the least
appetizing ones.
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID =3D B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID =3D 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070720182117.08016bcc>