From owner-freebsd-stable@FreeBSD.ORG Sat Mar 17 17:10:25 2012 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2FE73106564A for ; Sat, 17 Mar 2012 17:10:25 +0000 (UTC) (envelope-from ryao@cs.stonybrook.edu) Received: from edge1.cs.stonybrook.edu (edge1.cs.stonybrook.edu [130.245.9.210]) by mx1.freebsd.org (Postfix) with ESMTP id C32B28FC16 for ; Sat, 17 Mar 2012 17:10:24 +0000 (UTC) Received: from HUBCAS1.cs.stonybrook.edu (130.245.9.206) by edge1.cs.stonybrook.edu (130.245.9.210) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sat, 17 Mar 2012 13:10:22 -0400 Received: from [192.168.1.2] (72.89.250.133) by hubcas1.cs.stonybrook.edu (130.245.9.212) with Microsoft SMTP Server (TLS) id 14.1.323.3; Sat, 17 Mar 2012 13:10:23 -0400 Message-ID: <4F64C50F.70409@cs.stonybrook.edu> Date: Sat, 17 Mar 2012 13:08:31 -0400 From: Richard Yao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120301 Thunderbird/10.0.1 MIME-Version: 1.0 To: X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig08290EE89807C37AAEB642FC" X-Originating-IP: [72.89.250.133] Cc: Subject: AMD Erratum 383 crashes FreeBSD 9-Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2012 17:10:25 -0000 --------------enig08290EE89807C37AAEB642FC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Dear FreeBSD Developers: I used the ZFS Guru LiveCD to install FreeBSD 9 in KVM on a host system with an AMD Thuban processor (K10h). I then proceeded to compile perl and the VM crashed. Linux's dmesg gave me the following hint as to the cause: [ 3568.234654] KVM: Guest triggered AMD Erratum 383 I also tried installing Gentoo Prefix, a userland package manager like NetBSD pkgsrc, and the VM also crashed with the same message when compiling the first component. AMD has documented this issue, with a workaround for hypervisors and a statement saying that they won't fix it:= "If system software performs uncommon methods to change the page size of an active page table that is valid, the CPU core may, under a highly specific and detailed set of conditions, form duplicate TLB entries for a single linear address. The CPU core will machine check if this page is then accessed prior to it being invalidated from the TLB." http://support.amd.com/us/Embedded_TechDocs/41322.pdf Has anyone done anything to workaround this issue? I have a Gentoo Hardened VM running on this machine which has no problem compiling software, so I am sure that some sort of page table workaround is possibl= e. Yours truly, Richard Yao --------------enig08290EE89807C37AAEB642FC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBAgAGBQJPZMUTAAoJELFAT5FmjZuEdgQQAKvwbPP9lkHVpXCZdNivywKa yLckCyREkicFhJsSUs4PsLYrVHmiDbMfsY46KYCXAvc0zE+HPGs95KblDeATpzD/ tVAuTxiTrj2IzRnOVGeBlLcPSNktxDW+h95ZpVvs27Eog9BiYPXArbGnQ7tue6uL 3aNSHgWeOHnstE1B3Vtl1VMmjackh1omiGvkRlMxjE1Lk64qI1MTra2Oliv60z5n XcJmfpP3li2pi2p8G9EXB0vvQ+yj9Sz5hpIdhuktHCA336nPrF1O9Z3MdSgDBeRC f4tSqwC0yGB5zjenMumDmMAL442x1CahNQr2wmUNP5ogGfrkMXeS0qGHh3jtsh4V 4MrA36FXX+XJouj6TK00Ymioy1LtV4p1EU1HlzxrMD6H/SglmxBwyhZ5ys9AI25k lq49fsjuGuyMa+ebrSVYi5u1HNMGUYVcCX6n/DAL984R/JDXYdnf6pdQgp5kokOV 98Y0UGKU8Ct7CzIrmIhJAIOVjfOUpA9PYCKVJ/d5//SIbrIlPVjbFDuHPgrZJa36 QlIYM8t2Fj2T1Nn1TIEkhmpBDMgUrkGlgKxK0Y6SmEm5TRwGpDXVLFd8t5i71ZM/ R6/htad8aWiMG+eMxJkJN76l0wgXtM8sQbDpT+fViqAbhxHrWyLJUKuWCOR/zLLI iEgSjnbN2uV9yIAlbtwE =Yncx -----END PGP SIGNATURE----- --------------enig08290EE89807C37AAEB642FC--