From owner-freebsd-stable@FreeBSD.ORG Wed Aug 25 04:05:13 2010 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 4229D10656A4; Wed, 25 Aug 2010 04:05:13 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id 17D3E8FC17; Wed, 25 Aug 2010 04:05:12 +0000 (UTC) Received: from draco.over-yonder.net (c-75-64-226-141.hsd1.ms.comcast.net [75.64.226.141]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id 90ACA37B462; Tue, 24 Aug 2010 23:05:10 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id C277A61C57; Tue, 24 Aug 2010 23:05:09 -0500 (CDT) Date: Tue, 24 Aug 2010 23:05:09 -0500 From: "Matthew D. Fuller" To: John Baldwin Message-ID: <20100825040509.GJ49588@over-yonder.net> References: <4C71CC62.6060803@langille.org> <201008230820.35260.jhb@freebsd.org> <20100823213540.GD49588@over-yonder.net> <201008241106.43878.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201008241106.43878.jhb@freebsd.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.20-fullermd.4 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: freebsd-stable@freebsd.org Subject: Re: kernel MCA messages 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: Wed, 25 Aug 2010 04:05:13 -0000 On Tue, Aug 24, 2010 at 11:06:43AM -0400 I heard the voice of John Baldwin, and lo! it spake thus: > > It is actually public at perforce.freebsd.org. :) However, it is > tedious to download the files. Oh, I'd apparently blocked out of my mind that you could clicky-clicky files one at a time from there. Probably for the best; I'd be real annoyed by the end of that ;) > You can find a patch at www.freebsd.org/~jhb/mcelog/. You will also > need to download the memstream.c file from there as well and put > that in the extracted mcelog tarball. Thanks! For anyone following along at home, I needed to make a few changes to get it compiling here: - I'm on a nice recent -CURRENT, so I had to #if 0 out the getline() definition. - Add a FREEBSD definition to the Makefile (or remember it manually). - Comment out the kread_symbol() of X_SNAPDATE in mcelog.c. I don't see X_SNAPDATE defined anywhere in my /usr/include, and the var doesn't seem to ever actually be read for anything anyway (unless I'm supposed to -DLOCAL_HACK...). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.