kernel patch needed for wine?

Kostik Belousov kostikbel at gmail.com
Wed Jun 30 10:50:39 UTC 2010


On Tue, Jun 29, 2010 at 06:54:11PM -0500, Sam Fourman Jr. wrote:
> Hello FreeBSD hackers.
> 
> 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.
> 
> details here:
> http://bugs.winehq.org/show_bug.cgi?id=23323
> 
> in the above thread a wine developer stated the problem is this:
> 
> 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 icebp is
> no longer raising a SIGTRAP since it doesn't set any dr6 bits, so WoW doesn't
> get its exception.
> 
> Linux fixed this with this kernel patch
> https://bugzilla.kernel.org/show_bug.cgi?id=16315
> 
> 
> 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
> 
> http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d
> 
> 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.
> 
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20100630/1e63d5ee/attachment.pgp


More information about the freebsd-hackers mailing list