port sysutils/bsdstats intermittent mutex error on ia64 HEAD

Marcel Moolenaar xcllnt at mac.com
Mon Nov 30 21:31:56 UTC 2009


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 at mac.com





More information about the freebsd-ports mailing list