From owner-freebsd-stable@FreeBSD.ORG  Wed Apr  2 17:46:42 2008
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6008F1065672;
	Wed,  2 Apr 2008 17:46:42 +0000 (UTC)
	(envelope-from cwt@networks.cwu.edu)
Received: from nsc0.cwu.edu (nsc0.cwu.edu [198.104.69.44])
	by mx1.freebsd.org (Postfix) with ESMTP id 33A548FC21;
	Wed,  2 Apr 2008 17:46:42 +0000 (UTC)
	(envelope-from cwt@networks.cwu.edu)
Received: from n.cwu.edu (n.cwu.edu [198.104.69.57])
	by nsc0.cwu.edu (8.14.1/8.14.1) with ESMTP id m32HGHxi019024;
	Wed, 2 Apr 2008 10:16:17 -0700 (PDT)
	(envelope-from cwt@networks.cwu.edu)
Received: from n.cwu.edu (localhost [127.0.0.1])
	by n.cwu.edu (8.13.3/8.13.3) with ESMTP id m32HGHYu002188;
	Wed, 2 Apr 2008 10:16:17 -0700 (PDT)
	(envelope-from cwt@networks.cwu.edu)
Received: from localhost (cwt@localhost)
	by n.cwu.edu (8.13.3/8.13.1/Submit) with ESMTP id m32HGH8t002185;
	Wed, 2 Apr 2008 10:16:17 -0700 (PDT)
	(envelope-from cwt@networks.cwu.edu)
X-Authentication-Warning: n.cwu.edu: cwt owned process doing -bs
Date: Wed, 2 Apr 2008 10:16:17 -0700 (PDT)
From: Chris Timmons <cwt@networks.cwu.edu>
X-X-Sender: cwt@n.cwu.edu
To: Ed Maste <emaste@freebsd.org>
In-Reply-To: <20080401154009.GA56872@sandvine.com>
Message-ID: <20080402100216.H177@n.cwu.edu>
References: <20080102034228.M16861@mindcrime.int.bit0.com>
	<20080401154009.GA56872@sandvine.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-3.0
	(nsc0.cwu.edu [198.104.69.44]);
	Wed, 02 Apr 2008 10:16:17 -0700 (PDT)
Cc: freebsd-stable@freebsd.org, Mike Andrews <mandrews@bit0.com>
Subject: Re: aac tool regressions on 7.0-RC1
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Apr 2008 17:46:42 -0000


Ed,

Your work-around works on 7-stable as of this morning.

I have quite a few 2200S equipped systems that I am transitioning from 6.X 
to 7-stable and aaccli is necessary to be able to insert/remove drives and 
initialize them into storage arrays.

sysutils/arcconf says it needs aacraid-drivers from Adaptec's website to 
be fully functional; I don't see any FreeBSD drivers at Adaptec for the 
2200S (perhaps they are available for a newer product but will work for 
this older adapter?)

If aaccli is the only way to control the 2200S, is there some hope that a 
fix of some sort could ultimately be committed?

Thanks for your effort.

Regards,
-Chris

On Tue, 1 Apr 2008, Ed Maste wrote:

> I suspect Adaptec has a firmware bug relating to the RequestAdapterInfo
> and RequestSupplementAdapterInfo commands.  The driver family support
> brought in the latter, while the former has always been there.  It
> appears that RequestAdapterInfo returns all zeros if it's called after
> RequestSupplementAdapterInfo or something.
>
> The hack patch below forces reasonable values into the aac_revision
> struct if it's zeroed, and it restores aaccli usage for me.  If you
> have time I'd be interested in finding out if you can continue using
> aaccli with this patch added.
>
> -Ed