From owner-freebsd-stable@FreeBSD.ORG Wed Apr 2 23:06:29 2008 Return-Path: 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 CAFDC106566B; Wed, 2 Apr 2008 23:06:29 +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 865078FC1D; Wed, 2 Apr 2008 23:06:29 +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 m32N615v055983; Wed, 2 Apr 2008 16:06:01 -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 m32N61Rh006276; Wed, 2 Apr 2008 16:06:01 -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 m32N61El006273; Wed, 2 Apr 2008 16:06:01 -0700 (PDT) (envelope-from cwt@networks.cwu.edu) X-Authentication-Warning: n.cwu.edu: cwt owned process doing -bs Date: Wed, 2 Apr 2008 16:06:01 -0700 (PDT) From: Chris Timmons X-X-Sender: cwt@n.cwu.edu To: Ed Maste In-Reply-To: <20080402191739.GA92902@sandvine.com> Message-ID: <20080402155816.S177@n.cwu.edu> References: <20080102034228.M16861@mindcrime.int.bit0.com> <20080401154009.GA56872@sandvine.com> <20080402100216.H177@n.cwu.edu> <20080402191739.GA92902@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 16:06:02 -0700 (PDT) Cc: freebsd-stable@freebsd.org, Mike Andrews 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 23:06:29 -0000 The diff applied cleanly except for the __FBSDID(). With this new revision, I can still run batch scripts as shown below and get the correct output from aaccli. Unfortunately, if you manually invoke aaccli and type in "open aac0", all terminal input is locked. The only way to recover the process is to kill it from another window. While this was going on, I did notice devd was active in top(1) output. On the system with the hack-patch, there is no problem with interactive terminal I/O w/aaccli after "open aac0". You can continue to enter commands interactively and see the expected output. My 7-stable sources are from around 11am PDT today, with just the aac.c patched as you suggested. -c aaccli <<- EOF open aac0 logfile start $LOGFILE enclosure show status logfile end close exit EOF On Wed, 2 Apr 2008, Ed Maste wrote: > Excellent! I've actually committed a better fix to HEAD now (aac.c > revision 1.137). The diffs[1] should apply cleanly to RELENG_7 and > RELENG_6 I believe, and I plan to MFC them in a week or so. If you have > time to try it out on 7 before then I'd like to find out if it solves > the problem (properly) for you. > > Please give aaccli a try with the driver in 7-stable and let me know if > you find any functionality that doesn't work. (6-stable doesn't have > all of the changes yet, so I don't think it'll work there right now.) > > [1] http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/aac/aac.c.diff?r1=1.136;r2=1.137 > > -Ed >