From owner-freebsd-scsi@FreeBSD.ORG Tue Feb 28 17:09:49 2006 Return-Path: X-Original-To: freebsd-scsi@freebsd.org Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A3ADD16A420; Tue, 28 Feb 2006 17:09:49 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2512043D53; Tue, 28 Feb 2006 17:09:49 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [10.10.3.185] ([69.15.205.254]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k1SH9dX8056077; Tue, 28 Feb 2006 10:09:41 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <440483CC.5080800@samsco.org> Date: Tue, 28 Feb 2006 10:09:32 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20060206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Kenneth D. Merry" References: <20060227201644.GR64548@cicely12.cicely.de> <20060227202254.GA1016@nargothrond.kdm.org> <20060227204326.GS64548@cicely12.cicely.de> <20060228161004.GA9002@nargothrond.kdm.org> <20060228162647.GZ64548@cicely12.cicely.de> <20060228165521.GA9261@nargothrond.kdm.org> In-Reply-To: <20060228165521.GA9261@nargothrond.kdm.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=3.8 tests=none autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on pooker.samsco.org Cc: Bernd Walter , freebsd-scsi@freebsd.org, ticso@cicely.de Subject: Re: Automatic unit start broken? X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 17:09:49 -0000 Kenneth D. Merry wrote: > >>>What happens when you: >>> >>>camcontrol stop da7 >>>camcontrol tur da7 -v >>>camcontrol start da7 -v >> >>[52]raven# camcontrol stop da7 >>Unit stopped successfully >>[53]raven# camcontrol tur da7 -v >>Unit is not ready >>(pass8:esp1:0:10:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 >>(pass8:esp1:0:10:0): CAM Status: CCB request is in progress >>Exit 1 > > > Okay, that's wrong. The CCB status is never set properly, even though the > command was completed. > > It looks like the driver may be broken. It should set the CAM status to > CAM_SCSI_STATUS_ERROR in this case, but there is no place in the driver > (that I can see) where it ever sets that status. > > >>[54]raven# camcontrol start da7 -v >>Unit started successfully > > > Ken Oops, that's my fault. Not sure when I'll be able to look it, though. Scott