Date: Wed, 30 Jun 2010 13:50:27 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: "Sam Fourman Jr." <sfourman@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: kernel patch needed for wine? Message-ID: <20100630105027.GJ13238@deviant.kiev.zoral.com.ua> In-Reply-To: <AANLkTik5Owwpk5O6eUbSKgHxpjvcEXwilGECgtX0hx5a@mail.gmail.com> References: <AANLkTik5Owwpk5O6eUbSKgHxpjvcEXwilGECgtX0hx5a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--WyG/i6Mg9for+jdq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 29, 2010 at 06:54:11PM -0500, Sam Fourman Jr. wrote: > Hello FreeBSD hackers. >=20 > Last Tuesday blizzard release World of Warcraft 3.3.5, and with this patch > World of warcraft stopped working in FreeBSD 8.1 amd64, it crashes > right after login. >=20 > details here: > http://bugs.winehq.org/show_bug.cgi?id=3D23323 >=20 > in the above thread a wine developer stated the problem is this: >=20 > WoW uses opcode 0xf1 (icebp) and expects to see a single step exception, > probably as a way to detect hardware debuggers. With the kernel change ic= ebp is > no longer raising a SIGTRAP since it doesn't set any dr6 bits, so WoW doe= sn't > get its exception. >=20 > Linux fixed this with this kernel patch > https://bugzilla.kernel.org/show_bug.cgi?id=3D16315 >=20 >=20 > I have been playing World of Warcraft on FreeBSD amd64 since December of = 2009 > using the beta Nvidia 64bit drivers and this wine how-to >=20 > http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d >=20 > I can verify that on PCBSD 8.1 RC1 32bit World of warcraft works post 3.3= .5 > so far as I can tell it is only broken on amd64. >=20 > Would someone be able to comment on weather a patch is indeed needed > on FreeBSD amd64? Which patch ? icebp generates the SIGTRAP on latest 8-stable, verified by the following trivival assembler program: .text .globl main main: .byte 0xf1 xorl %edi,%edi call exit --WyG/i6Mg9for+jdq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwrIXIACgkQC3+MBN1Mb4gUHQCg2scrt9MHBfB4keWean5Dw/al WL4AmwTpWUSSTpl1qZ9jq2J6VXokhrOi =MPTd -----END PGP SIGNATURE----- --WyG/i6Mg9for+jdq--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100630105027.GJ13238>