[5136] in linux-scsi channel archive
mt-st-0.5 and scsi tape drives
daemon@ATHENA.MIT.EDU (Adrian Lawrence)
Sat Nov 14 18:37:29 1998
To: linux-scsi@vger.rutgers.edu
Date: Sat, 14 Nov 1998 20:54:51 +0000 (GMT)
Cc: Kai.Makisara@metla.fi
From: Adrian Lawrence <adrian.lawrence@computing-services.oxford.ac.uk>
There seems to be a problem with mt-st-0.5, and positioning commands:-
Here is mt-st 0.4 in action:
# mt -v
mt-st v. 0.4
# mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
# mt -f /dev/nst0 fsf 1
# mt -f /dev/nst0 tell
At block 74721.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
And now the same sequence in mt-st 0.5:-
# mt -v
mt-st v. 0.5
# mt rewind; mt -f /dev/nst0 status
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 512 bytes. Density code 0x0 (default).
Soft error count since last status=0
General status bits on (41010000):
BOT ONLINE IM_REP_EN
# mt -f /dev/nst0 fsf 1;mt -f /dev/nst0 tell
At block 0.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The only positioning command in mt v. 0.5 that seems to work is eod.
Is this a known problem, or is there something odd about my system/tape?
The latter seems unlikely, but get the same behaviour under both 2.0.35
and 2.0.36-pre22. Using AIC7xxx driver version: 5.1.4/3.2.4 with AHA 2940UW.
And
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: AIWA Model: TD-20001 Rev: 0159
Type: Sequential-Access ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: IBM Model: DDRS-34560W Rev: S97B
Type: Direct-Access ANSI SCSI revision: 02
mt-st v. 0.4 does all I need, so I can stay with that for now.
ael
--
Adrian Lawrence.
adrian.lawrence@oucs.ox.ac.uk. or adrian.lawrence@comlab.ox.ac.uk
MicroProcessor Unit | Computing Laboratory,
13, Banbury Road, | Wolfson Building,
Oxford. OX2 6NN. | Parks Road, Oxford.
UK. | OX1 3QD. UK.
Voice: (+44)-1865-273274, Fax: (+44)-1865-273275
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu