From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 20 16:19:46 2007 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 161B216A417; Fri, 20 Jul 2007 16:19:46 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id C7B3313C457; Fri, 20 Jul 2007 16:19:45 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A562D6.dip.t-dialin.net [84.165.98.214]) by redbull.bpaserver.net (Postfix) with ESMTP id 34D132E33E; Fri, 20 Jul 2007 18:19:37 +0200 (CEST) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 242B55B5B7F; Fri, 20 Jul 2007 18:17:25 +0200 (CEST) Date: Fri, 20 Jul 2007 18:21:17 +0200 From: Alexander Leidinger To: Mikhail Teterin Message-ID: <20070720182117.08016bcc@deskjail> In-Reply-To: <200707201013.13391@aldan> References: <200707192341.59940@aldan> <200707200853.28425@aldan> <20070720152138.47b2e4b5@deskjail> <200707201013.13391@aldan> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.9, required 8, BAYES_00 -15.00, DKIM_POLICY_SIGNSOME 0.00, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-emulation@freebsd.org, ariff@freebsd.org Subject: Re: something wrong with Linux on 6.2-stable/amd64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 16:19:46 -0000 Quoting Mikhail Teterin (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