Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 07:40:46 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: kernel MCA messages
Message-ID:  <201008250740.46733.jhb@freebsd.org>
In-Reply-To: <20100825040509.GJ49588@over-yonder.net>
References:  <4C71CC62.6060803@langille.org> <201008241106.43878.jhb@freebsd.org> <20100825040509.GJ49588@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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