SUMMARY Density SDLT

From: Alexander Ordonez <aordonez_at_ccss.sa.cr>
Date: Fri, 31 Aug 2001 15:13:42 -0600

thanks, John Francini

This work fine!!!!!


Interestingly, there was a service advisory about this that just came by a
couple of days ago in my e-mail. It describes how to edit the DDR table to
support the drive. The relevant instructions are as follows:

The human-readable version of the DDR database resides in the file
/etc/ddr.dbase.

As root, edit the file with a text editor, such as vi or Emacs. First, find
the string (near the beginning) that says:

        scsi_density_table_size = 0x42

and change it to read:

        scsi_density_table_size = 0x49

Locate the actual density table, which is a bit further down in the file.
After the last entry, which should begin "scsi_tape_density[0x41]", add the
following lines:

        scsi_tape_density[0x42] = "density_code_42" 0 0
scsi_tape_density[0x43] = "density_code_43" 0 0
scsi_tape_density[0x44] = "density_code_44" 0 0
scsi_tape_density[0x45] = "density_code_45" 0 0
scsi_tape_density[0x46] = "density_code_46" 0 0
scsi_tape_density[0x47] = "density_code_47" 0 0
        scsi_tape_density[0x48] = "131000_bpi" 131000 0

I've indented them for clarity; don't indent them in the ddr.dbase file.

Now you need to add the actual SCSI Device Data for the SDLT drive to the
table. To do this:

1. Locate the "DEVICE DATA" section of the DDR table.

2. Below that, locate the "TAPES:" section of the device data. Before the
first existing SCSIDEVICE entry (but after the comment block describing the
entry format), add the following entry:


        SCSIDEVICE
      #
       # Matches SuperDLT1
     #
       Type = tape
     Name = "COMPAQ" "SuperDLT1"
     #
       #
       PARAMETERS:
     TypeSubClass = tk
       TagQueueDepth = 0
       MaxTransferSize = 0x0ffffff # (16MB - 1)
        ReadyTimeSeconds = 120 # seconds
        DENSITY:
        #
       DensityNumber = 0,2 # rmt*l, rmt*m
      DensityCode = default
   CompressionCode = 0x0
   Buffered = 0x1
  DENSITY:
        #
       DensityNumber = 1,3 # rmt*h, rmt*a
      DensityCode = default
   CompressionCode = 0x1
        Buffered = 0x1


Again, do not indent the lines in the file; I've indented them for
readability.

Save the file and exit.

Now you need to re-create the ddr.db file (the binary device data
recognition database) using ddr_config(8) as follows:

        # ddr_config -c

ddr_config is described in the Tru64 system admin manual, and is also
documented in a man page.

You should now be able to use the tape drive without seeing any messages on
the console or in the /var/adm/messages file.


_at_lex
------------------------------------------------------------
  Lic. Alexander Ordóñez Arroyo
  Caja Costarricense del Seguro Social
  Soporte Técnico - División de Informática
  Telefono: 295-2004, San José, Costa Rica
  Aordonez_at_ccss.sa.cr Icq# 30173325

------------------------------------------------------------
The true is out there in WWW
Received on Fri Aug 31 2001 - 21:22:48 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT