Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2007 08:55:20 +0200
From:      Ed Schouten <ed@fxq.nl>
To:        Suleiman Souhlal <ssouhlal@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: [PATCH] Machine Check Architecture on amd64
Message-ID:  <20070626065520.GQ27942@hoeg.nl>
In-Reply-To: <46806B3E.2060701@FreeBSD.org>
References:  <46806B3E.2060701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--pDMuYlNcjisHFiH4
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Suleiman Souhlal <ssouhlal@FreeBSD.org> wrote:
>  Hi,
>=20
>  I have a simple patch for amd64 that uses the Machine Check=20
>  Architecture/Exceptions on most recent x86 CPUs to detect memory errors:
>=20
>  http://people.freebsd.org/~ssouhlal/testing/mce-20070621.diff
>=20
>  It will report uncorrected and corrected errors (the latter, only if sys=
ctl=20
>  machdep.mce.log_corrected=3D1).
>  You can ask the kernel to panic if it gets an uncorrected error by setti=
ng=20
>  machdep.mce.panic_on_uc=3D1.
>  All this can be disabled by setting the machdep.mce.enable tunable to 0.=
 I'm=20
>  still not sure if I want this enabled by default, as I don't have any In=
tel=20
>  machines to test this on, but I have tested it on Opteron (both correcte=
d=20
>  and uncorrected errors).
>=20
>  I would appreciate it if someone would try this, especially if you have=
=20
>  Intel machines with bad RAM.
>=20
>  Comments are welcome.

|	/*
|	 * Uncorrected MCEs will generate a #MC, while corrected
|	 * don't, so we have to periodically poll for them.
|	 */

What about adding an option to only print uncorrected MCE's? That's the
most interesting data and we can get that without using a kthread,
right?

Nice work! :-)

--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--pDMuYlNcjisHFiH4
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGgLhY52SDGA2eCwURAh74AJ9s3HAH9RQJX3FI3eacfjiwdXCw8QCePqaD
VTMzInO7WHRiA3uPHRyMchY=
=GHGK
-----END PGP SIGNATURE-----

--pDMuYlNcjisHFiH4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070626065520.GQ27942>