Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2008 16:01:43 +0100
From:      Marcus von Appen <mva@sysfault.org>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        Alexander Leidinger <Alexander@Leidinger.net>, freebsd-emulation@freebsd.org
Subject:   Re: getdents()
Message-ID:  <20080127150143.GA26639@medusa.sysfault.org>
In-Reply-To: <20080127132538.GA8810@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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <mva@sysfault.org> 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 <defunct>
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
<defunct> 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--



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