From owner-freebsd-current@FreeBSD.ORG Mon Nov 30 21:31:56 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C4C3106566C; Mon, 30 Nov 2009 21:31:56 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 0799A8FC18; Mon, 30 Nov 2009 21:31:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KTX00IKDYGTG520@asmtp029.mac.com>; Mon, 30 Nov 2009 13:31:43 -0800 (PST) From: Marcel Moolenaar In-reply-to: <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk> Date: Mon, 30 Nov 2009 13:31:41 -0800 Message-id: <39D7B682-DD22-41E5-9F05-555CC0D11995@mac.com> References: <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk> To: Anton Shterenlikht X-Mailer: Apple Mail (2.1077) Cc: freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-ia64@freebsd.org Subject: Re: port sysutils/bsdstats intermittent mutex error on ia64 HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Nov 2009 21:31:56 -0000 On Nov 30, 2009, at 3:55 AM, Anton Shterenlikht wrote: > I might've reported this before: > > FreeBSD 9.0-CURRENT ia64 > > port bsdstats-5.5 sometimes works fine: > > # /usr/local/etc/periodic/monthly/300.statistics -nodelay > Posting monthly OS statistics to rpt.bsdstats.org > # Anton, Can you install the port with the following patch applied. This gives much better statistics. The vendor will be either "Itanium" or "Itanium 2" and the actual CPU type will be "Merced", "McKinley", "Montecito", etc.. See also: http://bsdstats.org/bt/cpus.html?os=FreeBSD And look for CPU type "Itanium 2". FYI, Index: files/300.statistics =================================================================== RCS file: /home/ncvs/ports/sysutils/bsdstats/files/300.statistics,v retrieving revision 1.42 diff -u -r1.42 300.statistics --- files/300.statistics 18 Sep 2009 21:19:34 -0000 1.42 +++ files/300.statistics 27 Sep 2009 20:15:34 -0000 @@ -411,9 +411,8 @@ [Yy][Ee][Ss]) send_devices echo "Posting monthly device statistics to $checkin_server" - line=$( sysctl -n hw.model ) - VEN=$( echo $line | cut -d ' ' -f 1 ) - DEV=$( uri_escape $( echo $line | cut -d ' ' -f 2- ) ) + VEN=$( sysctl -n hw.family ) + DEV=$( uri_escape $( sysctl -n hw.model ) ) count=$( sysctl -n hw.ncpu ) report_cpu echo "Posting monthly CPU statistics to $checkin_server" -- Marcel Moolenaar xcllnt@mac.com