Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Oct 2011 04:33:02 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Daniel O'Connor <doconnor@gsoft.com.au>
Cc:        Thomas Zander <thomas.e.zander@googlemail.com>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: Interpreting MCA error output
Message-ID:  <20111018113302.GA14363@icarus.home.lan>
In-Reply-To: <087BDDD7-0B16-4415-8D98-11FA617E03F5@gsoft.com.au>
References:  <CAFU734y3WsVFTpnGoGfbPH4vVBnoz8f=qGvYS4c%2BLya8PFQP_A@mail.gmail.com> <20111001102327.GA37434@icarus.home.lan> <CAFU734xHMugfW%2BZcO93OPqUEhJshYn-k%2B%2B3aGmcDVvGZVQ=s%2BQ@mail.gmail.com> <20111018071941.GA9482@icarus.home.lan> <087BDDD7-0B16-4415-8D98-11FA617E03F5@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 18, 2011 at 06:26:49PM +1030, Daniel O'Connor wrote:
> On 18/10/2011, at 17:49, Jeremy Chadwick wrote:
> >> That would be absolutely helpful! After all, FreeBSD is primarily a
> >> server OS, and where would one have ECC if not on servers. Being able
> >> to determine what's wrong with memory would be certainly very valuable
> >> for many admins.
> > 
> > This has been done, and it was committed a couple days ago as
> > sysutils/mcelog.  There are a couple thing about the port which bother
> > me[1], and there is one warning which can be safely ignored (I'm a
> > strong advocate of -Werror) but I do have a fix for that, but otherwise
> > it's functional.
> 
> Do MCA log events cause anything in devd?
>
> It would be _super_ neat if the mcelog port installed a devd rule which emailed root@ with the human readable version of an MCA exception :)
> 
> I suspect this wouldn't be too difficult to do for a JKH.

Why?  Most MCEs on FreeBSD will panic the machine.  I would need to go
through the MCA code to see what all gets handled elegantly, but I
imagine there isn't much.

Also, isn't devd for device removal/insertions?  This would be using
devd for something it isn't intended for.  I guess I have "moral
objections" to it.  What you're really wanting is Solaris's fmd(1m)
daemon, which I believe is also tied heavily into Solaris's smf(5)
architecture.

http://download.oracle.com/docs/cd/E19963-01/html/821-1462/fmd-1m.html

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, US |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




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