From owner-freebsd-stable@FreeBSD.ORG Wed Aug 25 11:47:57 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 5704310656AC for ; Wed, 25 Aug 2010 11:47:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 263028FC16 for ; Wed, 25 Aug 2010 11:47:57 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id ABBDE46B03; Wed, 25 Aug 2010 07:47:56 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4C4218A04E; Wed, 25 Aug 2010 07:47:54 -0400 (EDT) From: John Baldwin To: "Matthew D. Fuller" Date: Wed, 25 Aug 2010 07:40:46 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) References: <4C71CC62.6060803@langille.org> <201008241106.43878.jhb@freebsd.org> <20100825040509.GJ49588@over-yonder.net> In-Reply-To: <20100825040509.GJ49588@over-yonder.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201008250740.46733.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Wed, 25 Aug 2010 07:47:54 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx 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 11:47:57 -0000 On Wednesday, August 25, 2010 12:05:09 am Matthew D. Fuller wrote: > 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. Yeah, that needs a __FreeBSD_version wrapper. > - Add a FREEBSD definition to the Makefile (or remember it manually). I just do 'gmake FREEBSD=yes'. > - 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...). Bah, I must have missed that. You certainly don't want LOCAL_HACK. -- John Baldwin