From owner-freebsd-stable@FreeBSD.ORG Sat Mar 17 19:40:59 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 A2470106564A; Sat, 17 Mar 2012 19:40:59 +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 4A76A8FC14; Sat, 17 Mar 2012 19:40:59 +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 15:40:53 -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 15:40:55 -0400 Message-ID: <4F64E856.3040303@cs.stonybrook.edu> Date: Sat, 17 Mar 2012 15:39:02 -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: References: <4F64C50F.70409@cs.stonybrook.edu> <4F64C57F.6040403@cs.stonybrook.edu> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8B8515371D323AED15CCA1CB" X-Originating-IP: [72.89.250.133] Cc: Alan Cox , freebsd-stable@freebsd.org Subject: Re: 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 19:40:59 -0000 --------------enig8B8515371D323AED15CCA1CB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/17/12 15:21, Alan Cox wrote: > When the FreeBSD kernel detects that it is running on an affected > processor, it automatically enables the recommended workaround. Howeve= r, > because you are running within a virtual machine, the automatic detecti= on > may not be working. Alternatively, you may be using a newer processor > revision that still suffers from the bug, but the kernel doesn't enable= the > workaround for. Can you tell us how the FreeBSD guest sees the underly= ing > processor, e.g., the first few lines of dmesg from the guest? >=20 > Alan >=20 I am currently passing "-cpu Opteron_G3,+3dnowext,+3dnow,+3dnowprefetch,+cmp_legacy" to KVM at libvirtd's suggestion. I assume this is why the workaround is not being triggered. # dmesg Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.= FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #0: Sun Jan 15 22:48:55 UTC 2012 root@zfsguru:/usr/obj/usr/src/sys/OFED amd64 module_register: module pci/mps already exists! Module pci/mps failed to register: 17 CPU: AMD Opteron 23xx (Gen 3 Class Opteron) (3210.85-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0xf61 Family =3D f Model =3D 6 Ste= pping =3D 1 Features=3D0x783fbfd Features2=3D0x80802001 AMD Features=3D0xe0100800 AMD Features2=3D0x1e7 --------------enig8B8515371D323AED15CCA1CB 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/ iQIcBAEBAgAGBQJPZOhbAAoJELFAT5FmjZuED6kQAIqNna6RCnUgZE3/SZ/Hxsfq a0TxJhdmlyKWT8ilHaQhTMCMgVYTCxG8zEaYm7D+jHYXz4Na3pkScG4SHA4fSDRf US+zB/0JAGPnJ1IZKRsd+D53SNtz942EAs4AeLl5L4tKeG4Fuans7mU568wSvtTj 6v8qtc4EtSgMEVUvCYwWRXpyk/HmhqJDM+FLNBXYB7V2rxs8cvb2+9kS5s4LrAcq KHJsyoLeAIg+yKbO+fBKp8LQlY3u2SLOhMNR8EevxgF4+TuOUa/lkeceQN+j6bND H7XiK+YQ4gdZezkZwXastjp631k9aoDucOXEAkEK9XfKEKEqE2DzkveN4Ir5BFyo veKNHac6UINeeYK0qFmYBvU6Gy2srvHsgtfJWWaFkUqYFon5j6KOnT7bcxnhLBoY Pcs0DLEcDx55Ptt9x+OjBl5iDN1MKR7CEclTfiVSAX8fRv2vv4bgp/hJeBSj4FK3 Zs3GV1ezxBqYxD7Sf8Xo0/tTJmpxInSb5Mhvj/SOjY2MN0o7whwxmf3n10XZp3YD zo7cezy50GrvwANOxwPRt/2dk08eCDRS+1JZhTS6km0eS/h3dxR2011CWQ7YRTFj KDK5gHTeUCLULU62gl6V30oL6S6JCm0PGlGh58CN2V8+YCY/O4NE5Y+qAfjMGOBD ptQg4WNFyElUCAxnLLLC =mLFN -----END PGP SIGNATURE----- --------------enig8B8515371D323AED15CCA1CB--