Bug 84843 - mt does not know density code for SDLT-320
mt does not know density code for SDLT-320
Product: Red Hat Linux
Classification: Retired
Component: mt-st (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ngo Than
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2003-02-21 18:09 EST by Jason Tibbitts
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-22 15:00:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jason Tibbitts 2003-02-21 18:09:54 EST
Wow, this is almost the same bug I reported a year ago, except this time it's a
slightly different tape drive.

I have a Quantum SDLT-320 drive.  mt does not know the density code for the
drive in 160GB naitive mode:

> mt -f /dev/nst1 stat
SCSI 2 tape drive:
File number=0, block number=0, partition=0.
Tape block size 0 bytes. Density code 0x49 (no translation).
Soft error count since last status=0
General status bits on (41010000):

I downloaded mt-st-0.7-8.src.rpm from Rawhide and rebuilt it on this machine; it
doesn't know the code either.

The following patch does the trick:

--- mt.c.orig   Fri Feb 21 17:01:05 2003
+++ mt.c        Fri Feb 21 17:01:16 2003
@@ -221,6 +221,7 @@
     {0x45, "QIC-3095-MC (TR-4)"},
     {0x47, "TR-5"},
     {0x48, "Quantum SDLT220"},
+    {0x49, "Quantum SDLT320"},
     {0x80, "DLT 15GB uncomp. or Ecrix"},
     {0x81, "DLT 15GB compressed"},
     {0x82, "DLT 20GB uncompressed"},
Comment 1 Ngo Than 2003-02-22 15:00:55 EST
mt-st-0.7-9 has this fix. Thank you for the fix.

Note You need to log in before you can comment on or make changes to this bug.