kernel MCA messages

Matthew D. Fuller fullermd at over-yonder.net
Wed Aug 25 04:05:13 UTC 2010


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 at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.


More information about the freebsd-stable mailing list