From owner-freebsd-stable@FreeBSD.ORG Tue Oct 18 13:01:50 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8B351065674 for ; Tue, 18 Oct 2011 13:01:50 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 3A03F8FC15 for ; Tue, 18 Oct 2011 13:01:49 +0000 (UTC) Received: from ur.dons.net.au (ppp118-210-246-98.lns20.adl6.internode.on.net [118.210.246.98]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p9ID1cMd074681 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 18 Oct 2011 23:31:44 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: <20111018113302.GA14363@icarus.home.lan> Date: Tue, 18 Oct 2011 23:31:37 +1030 Content-Transfer-Encoding: quoted-printable Message-Id: <59140016-4530-4343-9C30-CA9B16E9EEBD@gsoft.com.au> References: <20111001102327.GA37434@icarus.home.lan> <20111018071941.GA9482@icarus.home.lan> <087BDDD7-0B16-4415-8D98-11FA617E03F5@gsoft.com.au> <20111018113302.GA14363@icarus.home.lan> To: Jeremy Chadwick X-Mailer: Apple Mail (2.1244.3) X-Spam-Score: 2.162 (**) BAYES_00,KHOP_DYNAMIC,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: Thomas Zander , freebsd-stable Subject: Re: Interpreting MCA error output 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: Tue, 18 Oct 2011 13:01:50 -0000 On 18/10/2011, at 22:03, Jeremy Chadwick wrote: >> 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 = :) >>=20 >> I suspect this wouldn't be too difficult to do for a JKH. >=20 > 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. If you see an MCA in your log file it didn't panic your machine, I think = they're not uncommon. > 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. I always thought devd was a fairly general event notification thing. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C