Subject: kern/1276: MTRETEN operation does not work properly with SCSI tapes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mju@merit.edu>
List: netbsd-bugs
Date: 07/25/1995 10:39:33
>Number: 1276
>Category: kern
>Synopsis: MTRETEN operation does not work properly with SCSI tapes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 25 10:50:01 1995
>Last-Modified:
>Originator: Marc Unangst
>Organization:
Merit Network, Inc.
>Release: 1.0A as of 7/10/95
>Environment:
System: NetBSD saavik.ann-arbor.mi.us 1.0A NetBSD 1.0A (SAAVIK) #3: Wed Jul 19 13:48:01 EDT 1995 root@saavik.ann-arbor.mi.us:/usr/src/sys/arch/i386/compile/SAAVIK i386
Hardware:
aha0 at isa0 port 0x330-0x333 irq 11 drq 5
scsibus0 at aha0
aha0 targ 4 lun 0: <ARCHIVE, Python 25501-XXX, 2.50> SCSI2 1/sequential removable
st0 at scsibus0: drive empty
>Description:
The MTRETEN command does not work properly. Instead of
retensioning the tape, it causes the ioctl call to return an error,
and causes the tape to be unloaded.
>How-To-Repeat:
root@saavik:~# mt -f /dev/nrst0 reten
mt: /dev/nrst0: retension: Input/output error
st0(aha0:4:0): not ready, data = 00 00 00 00 3a 00 00 00 00 00
root@saavik:~#
>Fix:
This might be due to the timeout in the st driver being too
short. The drive takes longer than the st driver thinks it should to
process the command, and as a result a NOT READY error is returned, and
the drive is reset (which causes the tape to be unloaded). If this
is the cause, then the fix is to extend the timeout in the st driver.
>Audit-Trail:
>Unformatted: