From owner-freebsd-emulation@FreeBSD.ORG Sun Jan 27 15:01:42 2008 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 F00C216A475; Sun, 27 Jan 2008 15:01:42 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.44]) by mx1.freebsd.org (Postfix) with ESMTP id 7799113C47E; Sun, 27 Jan 2008 15:01:42 +0000 (UTC) (envelope-from mail@sysfault.org) Received: from [89.182.67.115] (helo=medusa.sysfault.org) by smtprelay06.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JJ90u-0003KG-3m; Sun, 27 Jan 2008 16:01:40 +0100 Received: from localhost ([127.0.0.1] helo=medusa.sysfault.org) by medusa.sysfault.org with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JJ914-0006x8-Of; Sun, 27 Jan 2008 16:01:52 +0100 Received: (from marcus@localhost) by medusa.sysfault.org (8.14.2/8.14.2/Submit) id m0RF1kTS026729; Sun, 27 Jan 2008 16:01:46 +0100 (CET) (envelope-from marcus) Date: Sun, 27 Jan 2008 16:01:43 +0100 From: Marcus von Appen To: Roman Divacky Message-ID: <20080127150143.GA26639@medusa.sysfault.org> Mail-Followup-To: Roman Divacky , Alexander Leidinger , Tomasz Formanowski , freebsd-emulation@freebsd.org References: <1096069283.20080122130241@pifpaf.pl> <20080122151941.GA93141@freebsd.org> <157462854.20080126130147@pifpaf.pl> <20080126205431.682b9401@deskjail> <6340678.20080126213921@pifpaf.pl> <20080126224610.GA87902@freebsd.org> <20080127121405.69ef58f2@deskjail> <20080127132538.GA8810@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20080127132538.GA8810@freebsd.org> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Score: -4.4 (----) X-Df-Sender: 936934 Cc: Alexander Leidinger , freebsd-emulation@freebsd.org Subject: Re: getdents() X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcus von Appen List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2008 15:01:43 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On, Sun Jan 27, 2008, Roman Divacky wrote: > On Sun, Jan 27, 2008 at 12:14:05PM +0100, Alexander Leidinger wrote: [...] > >=20 > > A "sysctl hw.snd.compat_linux_mmap=3D1" does this "undo". >=20 > no it does not... Marcus von Appen reported > this to me and Ariff... I thought it made it to the mailing list > too... marcus, can you share what you discovered with emulation@? >=20 After ports/118213 came up, we were able to track the issue down to some mmap changes made on CURRENT between 2007-02-15 and 2007-02-16. Those changes cause some linux games (currently I only verified this for games/rt2-demo and games/HeroesOfMightAndMagic) to spawn a porcess state for the games causing them to lock up, if the sound for them is enabled. I think that any older Lokigames game might be affected. A further investigation and much patience of Roman turned out that the mmap changes just changed the behaviour of this bug. CURRENT versions between 2006-11-26 and the mmap changes from 2007-02-15 will cause an instant crash including a forced reboot. As it turned out, the sound changes made on 2006-11-26 caused this bug to occur. However, it is currently unclear, whether this is directly related to the sound changes or if those only trigger some bug in the linuxulator code. I'm still waiting for some feedback from Ariff here. Switching the linux sound mmap or the linux emulator version from 2.4 to 2.6 sysctls does not have any influence on the behaviour. games/rt2-demo works fine with the -s option, which disables the sound completely. games/HeroesOfMightAndMagic however uses smpeg (I think) to play some videos, so it'll constantly crash or get into a locked up state (depending on the CVS version), the -s option does not change this behaviour as it does not have any impact on the video playback. Regards Marcus --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkecnNcACgkQo/JpszXavhyzlACggDbIlVulWDsPlxKE9OGgQuXx nJAAn0IGlTcGukueK+S1wlEmXawe0cdC =L+j9 -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--