Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 00:10:34 +0100
From:      Stefan Esser <se@zpr.uni-koeln.de>
To:        Wilko Bulte <wilko@yedi.iaf.nl>
Cc:        mjacob@feral.com, Jos.Backus@nl.origin-it.com, freebsd-scsi@FreeBSD.ORG, Stefan Esser <se@freebsd.org>
Subject:   Re: Tape eject problem
Message-ID:  <19991122001034.A5673@dialup124.zpr.uni-koeln.de>
In-Reply-To: <199911211819.TAA42168@yedi.iaf.nl>; from Wilko Bulte on Sun, Nov 21, 1999 at 07:19:18PM %2B0100
References:  <Pine.BSF.4.05.9911211005570.12052-100000@semuta.feral.com> <199911211819.TAA42168@yedi.iaf.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1999-11-21 19:19 +0100, Wilko Bulte <wilko@yedi.iaf.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991122001034.A5673>