Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2011 10:21:43 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Vladimir Laskov <samflanker@gmail.com>
Cc:        freebsd-hackers@freebsd.org, Sergey Kandaurov <pluknet@gmail.com>
Subject:   Re: problem with build mcelog
Message-ID:  <201104271021.43315.jhb@freebsd.org>
In-Reply-To: <4DB7C893.9050903@gmail.com>
References:  <4D553027.5040606@gmail.com> <201104261143.00644.jhb@freebsd.org> <4DB7C893.9050903@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, April 27, 2011 3:41:07 am Vladimir Laskov wrote:
> On 04/26/2011 07:43 PM, John Baldwin wrote:
> > --- //depot/projects/mcelog/mcelog.c	2010-08-25 11:41:19.000000000 0000
> > +++ /home/jhb/work/p4/mcelog/mcelog.c	2010-08-25 11:41:19.000000000 0000
> > @@ -29,6 +29,10 @@
> >   #include<sys/sysctl.h>
> >   #include<machine/cpufunc.h>
> >   #include<machine/cputypes.h>
> > +#ifdef __i386__
> > +/* Conflicts with 'enum cputype' in<mcelog.h>. */
> > +#undef CPU_P4
> > +#endif
> >   #include<machine/specialreg.h>
> >   #include<machine/mca.h>
> >   #include<err.h>
> >
> thanks, it work
> 
> my questions:
> 
>   - how to work mcelog without mcelogdevice ?
>   - Is it possible to use mcelog in daemon mode in FreeBSD?

mcelog uses the hw.mca sysctls, not a device in /dev in FreeBSD.  The daemon 
mode is not currently supported.

-- 
John Baldwin



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