[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: problem with build mcelog
From:       John Baldwin <jhb () freebsd ! org>
Date:       2011-04-27 14:21:43
Message-ID: 201104271021.43315.jhb () freebsd ! org
[Download RAW message or body]

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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic