Date: Fri, 18 Jan 2013 10:15:21 -0600 From: Larry Rosenman <ler@lerctr.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/175411: [PATCH] emulators/virtualbox-ose 4.2.6: popcnt bug Message-ID: <E1TwEbA-0000jj-Vr@borg.lerctr.org> Resent-Message-ID: <201301181620.r0IGK0fA068938@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175411 >Category: ports >Synopsis: [PATCH] emulators/virtualbox-ose 4.2.6: popcnt bug >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Jan 18 16:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Larry Rosenman >Release: FreeBSD 10.0-CURRENT amd64 >Organization: LERCTR Consulting >Environment: System: FreeBSD borg.lerctr.org 10.0-CURRENT FreeBSD 10.0-CURRENT #95 r245402: Mon Jan 14 03:57:48 CST 2013 root@borg.lerctr.org:/usr/obj/usr/src/sys/BORG-DTRACE amd64 >Description: I was seeing random panics (pmap_insert_pt_page: pindex already inserted) in the amd64 pmap code. Andriy Gapon suggested this qemu patch. >How-To-Repeat: run FreeBSD 9 or 10 on VirtualBox 4.2.6 and see random panics. >Fix: Index: Makefile =================================================================== --- Makefile (revision 310105) +++ Makefile (working copy) @@ -3,6 +3,7 @@ PORTNAME= virtualbox-ose DISTVERSION= 4.2.6 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://download.virtualbox.org/virtualbox/${DISTVERSION}/ \ http://tmp.chruetertee.ch/ \ Index: files/patch-recompiler-target-i386-translate =================================================================== --- files/patch-recompiler-target-i386-translate (revision 0) +++ files/patch-recompiler-target-i386-translate (working copy) @@ -0,0 +1,11 @@ +--- src/recompiler/target-i386/translate.c.orig 2013-01-18 09:25:26.860229834 -0600 ++++ src/recompiler/target-i386/translate.c 2013-01-18 09:25:46.510230699 -0600 +@@ -8020,7 +8020,7 @@ + goto illegal_op; + + modrm = ldub_code(s->pc++); +- reg = ((modrm >> 3) & 7); ++ reg = ((modrm >> 3) & 7) | rex_r; + + if (s->prefix & PREFIX_DATA) + ot = OT_WORD; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1TwEbA-0000jj-Vr>