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-unsubscr...@freebsd.org"