From tedm@dns1.ipinc.net  Thu Feb  4 21:52:48 2010
Return-Path: <tedm@dns1.ipinc.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D08971065670
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Feb 2010 21:52:48 +0000 (UTC)
	(envelope-from tedm@dns1.ipinc.net)
Received: from dns1.ipinc.net (dns1.ipinc.net [65.75.192.10])
	by mx1.freebsd.org (Postfix) with ESMTP id B6D088FC14
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  4 Feb 2010 21:52:48 +0000 (UTC)
Received: from dns1.ipinc.net (localhost [127.0.0.1])
	by dns1.ipinc.net (8.14.3/8.14.3) with ESMTP id o14LJOuB002061
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 4 Feb 2010 13:19:24 -0800 (PST)
	(envelope-from tedm@dns1.ipinc.net)
Received: (from root@localhost)
	by dns1.ipinc.net (8.14.3/8.14.3/Submit) id o14LJOjc002060;
	Thu, 4 Feb 2010 13:19:24 -0800 (PST)
	(envelope-from tedm)
Message-Id: <201002042119.o14LJOjc002060@dns1.ipinc.net>
Date: Thu, 4 Feb 2010 13:19:24 -0800 (PST)
From: Ted Mittelstaedt <tedm@ipinc.net>
Reply-To: Ted Mittelstaedt <tedm@ipinc.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: camcontrol fails to show transfer speed in mly but it used to do so
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         143564
>Category:       kern
>Synopsis:       [mly] camcontrol(8) fails to show transfer speed in mly but it used to do so [regression]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 04 22:00:09 UTC 2010
>Closed-Date:    
>Last-Modified:  Thu Feb 04 23:00:15 UTC 2010
>Originator:     Ted Mittelstaedt
>Release:        FreeBSD 7.2-RELEASE i386
>Organization:
Internet Partners, Inc.
>Environment:
System: FreeBSD dns1.ipinc.net 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	

Under FreeBSD 7.2 with a Mylex controller, we get the following output
from these invocations of camcontrol:

dns1# camcontrol inquiry da0
pass0: <RAID 5 online > Fixed Direct Access SCSI-3 device 
pass0: Serial Number 0000RAID 5  online              E97FC747
pass0: 0KB/s transfers 
dns1# 
dns1# camcontrol inquiry 0:0
pass0: <RAID 5 online > Fixed Direct Access SCSI-3 device 
pass0: Serial Number 0000RAID 5  online              E97FC747
pass0: 0KB/s transfers 
dns1# 
dns1# 

Under FreeBSD 6.2 on the same machine, we got:

dns1# camcontrol inquiry 0:0
pass0: <RAID 5 online > Fixed Direct Access SCSI-3 device
pass0: Serial Number 0000RAID 5  online              E97FC747
pass0: 135.168MB/s transfers
dns1#

Note that the transfers speed on the later version of FreeBSD shows 0,
while the earlier version shows 135.168MB/s

Here is the dmesg output from boot:

Feb  4 04:48:58 dns1 kernel: mly0: <Mylex AcceleRAID 170> mem 0xee000000-0xefffffff irq 10 at device 14.0 on pci0
Feb  4 04:48:58 dns1 kernel: mly0: [GIANT-LOCKED]
Feb  4 04:48:58 dns1 kernel: mly0: [ITHREAD]
Feb  4 04:48:58 dns1 kernel: mly0: AcceleRAID 170  , 1 channel, firmware 7.02-0-00 (20021213), 32MB RAM

>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:
