From owner-freebsd-scsi Sun Nov 21 15:11:10 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from dialup124.zpr.uni-koeln.de (1-115.K.dial.o-tel-o.net [212.144.1.115]) by hub.freebsd.org (Postfix) with ESMTP id 8132A158DE; Sun, 21 Nov 1999 15:10:55 -0800 (PST) (envelope-from se@zpr.uni-koeln.de) Received: by dialup124.zpr.uni-koeln.de (Postfix, from userid 200) id 242D0D16; Mon, 22 Nov 1999 00:10:34 +0100 (CET) Date: Mon, 22 Nov 1999 00:10:34 +0100 From: Stefan Esser To: Wilko Bulte Cc: mjacob@feral.com, Jos.Backus@nl.origin-it.com, freebsd-scsi@FreeBSD.ORG, Stefan Esser Subject: Re: Tape eject problem Message-ID: <19991122001034.A5673@dialup124.zpr.uni-koeln.de> Reply-To: se@freebsd.org References: <199911211819.TAA42168@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199911211819.TAA42168@yedi.iaf.nl>; from Wilko Bulte on Sun, Nov 21, 1999 at 07:19:18PM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 1999-11-21 19:19 +0100, Wilko Bulte wrote: > As Matthew Jacob wrote ... > > FWIW: similar thing here on a TZ87 DLT. After the rewind completes the > mt command just sits there, apparantly waiting for something that never > occurs to it ;-) Had the same problem with my DLT7000 (in an EXB18D tape library). The patch following should fix it (already submitted) : Index: /sys/cam/scsi/scsi_sa.c =================================================================== RCS file: /usr/cvs/src/sys/cam/scsi/scsi_sa.c,v retrieving revision 1.38 diff -u -2 -r1.38 scsi_sa.c --- scsi_sa.c 1999/11/17 17:11:21 1.38 +++ scsi_sa.c 1999/11/21 20:25:15 @@ -1037,7 +1037,7 @@ */ + saprevent(periph, PR_ALLOW); softc->flags &= ~(SA_FLAG_TAPE_LOCKED| SA_FLAG_TAPE_FROZEN|SA_FLAG_TAPE_MOUNTED); - saprevent(periph, PR_ALLOW); if (error == 0) error = saloadunload(periph, FALSE); Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message