From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 27 15:01:04 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D951065675 for ; Wed, 27 Apr 2011 15:01:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2B8BE8FC14 for ; Wed, 27 Apr 2011 15:01:04 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id C2F5946B42; Wed, 27 Apr 2011 11:01:03 -0400 (EDT) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id E06348A02A; Wed, 27 Apr 2011 11:01:02 -0400 (EDT) From: John Baldwin To: Vladimir Laskov Date: Wed, 27 Apr 2011 10:21:43 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110325; KDE/4.5.5; amd64; ; ) References: <4D553027.5040606@gmail.com> <201104261143.00644.jhb@freebsd.org> <4DB7C893.9050903@gmail.com> In-Reply-To: <4DB7C893.9050903@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104271021.43315.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 27 Apr 2011 11:01:03 -0400 (EDT) Cc: freebsd-hackers@freebsd.org, Sergey Kandaurov Subject: Re: problem with build mcelog X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 15:01:04 -0000 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 > > #include > > #include > > +#ifdef __i386__ > > +/* Conflicts with 'enum cputype' in. */ > > +#undef CPU_P4 > > +#endif > > #include > > #include > > #include > > > 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