AMD Erratum 383 crashes FreeBSD 9-Stable

Richard Yao ryao at cs.stonybrook.edu
Sat Mar 17 17:10:25 UTC 2012


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 possible.

Yours truly,
Richard Yao

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20120317/f7343092/signature.pgp


More information about the freebsd-stable mailing list