From owner-freebsd-scsi@FreeBSD.ORG Thu Jan 20 23:54:45 2011 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB9261065694 for ; Thu, 20 Jan 2011 23:54:45 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id 5E17D8FC2A for ; Thu, 20 Jan 2011 23:54:45 +0000 (UTC) Received: from [192.168.221.2] (remotevpn [192.168.221.2]) by ns1.feral.com (8.14.4/8.14.3) with ESMTP id p0KNP1Df054040 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Thu, 20 Jan 2011 15:25:11 -0800 (PST) (envelope-from mj@feral.com) Message-ID: <4D38C44D.6080703@feral.com> Date: Thu, 20 Jan 2011 15:25:01 -0800 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.6 (ns1.feral.com [192.168.221.1]); Thu, 20 Jan 2011 15:25:11 -0800 (PST) Subject: Re: rescan causes offlined tape to reload 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: Thu, 20 Jan 2011 23:54:45 -0000 My recollection is that when you 'eject' a DLT, unless you operate the handle, or it's part of a changer unit that does it for you, any subsequent Test Unit Ready will reload it. Other than that, there are couple of candidate changes in the XPT layer in the time frame you talk of which may be inducing this behavior. Any way you can get a trace of the SCSI commands sent? On 1/20/2011 2:33 PM, G. Paul Ziemba wrote: > I have a DLT7000 scsi tape. Behavior of "camcontrol rescan all" > seems to have changed between FreeBSD stable of 2009-Nov-17 and > 2011-Jan-11. > > I execute the following sequence of commands: > > # camcontrol eject sa0 > # camcontrol rescan all > > If there is a tape in the drive, the "eject" unloads it. > > On the old system: the rescan command does not affect the state of the tape. > > On the new system: the rescan command causes the tape to load. It seems > incorrect to me. > > Is the new behavior a bug? > > thanks, > > ~!paul