Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2009 13:31:41 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-current@freebsd.org, freebsd-ports@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: port sysutils/bsdstats intermittent mutex error on ia64 HEAD
Message-ID:  <39D7B682-DD22-41E5-9F05-555CC0D11995@mac.com>
In-Reply-To: <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk>
References:  <20091130115525.GA39370@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D7B682-DD22-41E5-9F05-555CC0D11995>