From owner-freebsd-current@freebsd.org Sun May 1 14:36:26 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DFAB0B28E17 for ; Sun, 1 May 2016 14:36:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D97E1DF9 for ; Sun, 1 May 2016 14:36:26 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::69ad:b58b:2f50:b3b8] (unknown [IPv6:2001:7b8:3a7:0:69ad:b58b:2f50:b3b8]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 3B2C829CAE; Sun, 1 May 2016 16:36:14 +0200 (CEST) Subject: Re: MCA unrecoverable machine check exception on APU2 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_D7B852F5-78AF-47FC-88B0-1B6D582965C0"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 (ebbf3ef) From: Dimitry Andric In-Reply-To: <20160501123510.GC90606@mutt-hardenedbsd> Date: Sun, 1 May 2016 16:36:09 +0200 Cc: freebsd-current@freebsd.org Message-Id: <35666049-0CDF-4174-81B0-09483B0C8B7E@FreeBSD.org> References: <20160501123510.GC90606@mutt-hardenedbsd> To: Shawn Webb X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2016 14:36:27 -0000 --Apple-Mail=_D7B852F5-78AF-47FC-88B0-1B6D582965C0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 01 May 2016, at 14:35, Shawn Webb wrote: >=20 > I'm getting this panic. I'm not sure if it's a problem with the OS or > the hardware as this is a bit too low-level for me. Here's the dmesg > output along with the stack trace: >=20 > MCA: Bank 0, Status 0xb400000000000135 > MCA: Global Cap 0x0000000000000106, Status 0x0000000000000004 > MCA: Vendor "AuthenticAMD", ID 0x730f01, APIC ID 3 > MCA: CPU 3 UNCOR DCACHE L1 DRD error > MCA: Address 0x44e9830 > panic: Unrecoverable machine check exception > cpuid =3D 3 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame = 0xfffffe00f53cb390 > vpanic() at vpanic+0x182/frame 0xfffffe00f53cb410 > panic() at panic+0x43/frame 0xfffffe00f53cb470 > mca_intr() at mca_intr+0x6b/frame 0xfffffe00f53cb490 > trap() at trap+0xa8/frame 0xfffffe00f53cb6a0 > calltrap() at calltrap+0x8/frame 0xfffffe00f53cb6a0 > --- trap 0x1c, rip =3D 0xffffffff80b6ffe1, rsp =3D 0xfffffe00f53cb770, = rbp =3D 0xfffffe00f53cb7f0 --- > callout_process() at callout_process+0x131/frame 0xfffffe00f53cb7f0 > handleevents() at handleevents+0x16d/frame 0xfffffe00f53cb830 > timercb() at timercb+0x227/frame 0xfffffe00f53cb880 > lapic_handle_timer() at lapic_handle_timer+0x9f/frame = 0xfffffe00f53cb8c0 > Xtimerint() at Xtimerint+0x8c/frame 0xfffffe00f53cb8c0 > --- interrupt, rip =3D 0xffffffff80b85a39, rsp =3D 0xfffffe00f53cb990, = rbp =3D 0xfffffe00f53cba70 --- > sched_idletd() at sched_idletd+0x439/frame 0xfffffe00f53cba70 > fork_exit() at fork_exit+0x84/frame 0xfffffe00f53cbab0 > fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00f53cbab0 > --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- > KDB: enter: panic > [ thread pid 11 tid 100006 ] > Stopped at kdb_enter+0x3b: movq $0,kdb_why > db> >=20 > This is running HardenedBSD 11-CURRENT/amd64 on the PC-Engines APU2. = Is > this worth filing a bug report upstream with FreeBSD or is this a > hardware bug? Hi Shawn, This particular part seems to indicate a hardware problem: MCA: Vendor "AuthenticAMD", ID 0x730f01, APIC ID 3 MCA: CPU 3 UNCOR DCACHE L1 DRD error MCA: Address 0x44e9830 panic: Unrecoverable machine check exception I'm not a MCE expert, but it looks like core 3 got an uncorrectable L1 data cache error. -Dimitry --Apple-Mail=_D7B852F5-78AF-47FC-88B0-1B6D582965C0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlcmFF0ACgkQsF6jCi4glqM5pACbBpZkxIwhSM286nAsmQIVXKrV biQAnjv+bkL21U+7Q8CtmH3GBhzfhmym =t/ko -----END PGP SIGNATURE----- --Apple-Mail=_D7B852F5-78AF-47FC-88B0-1B6D582965C0--