Summary: DLT on Solaris 1.x or 2.x

Date: Thu Sep 01 1994 - 06:32:16 CDT

>we got a Digital Linear Tape, DTL. reports to be 20GB and 2-3MB/Sec. good if
>true. has anyone configured one to these tape drives on Solaris 1.x or 2.x?
>if so, how so?
>if so, how did it do??
>we've connected it to an RS/6000 on a scsi-1 card and are impressed with the
>transfer speed.
got several excellent replies, three are summarized below. i got a reply that
BoxHill's unit emulated an 8200 so no chages are required. we're rolling the
unit around to all our platforms. two down, 10 to go.
got a lot of quereies on what the device is, most of those answered via e-mail
thanks to:
Peter Van Epp
Larry D. Kelley
Graham Carpenter
        Since I don't read Sun-managers Ian forwarded this to me. Below is the
st_conf.c (for 4.1.X) that you need to make the DLT be something other than
a slug on a Sun, that one I have tested on our Auspex, works fine. With ddd
(a quicker dd clone) I can achieve 1.1 megabytes per second to tape on the
DLT. There is also a config file for Solaris but I haven't tried that one.
        Note that for the 7 tape library version (which is what I have) the
"DLT2000" needs to become "DLT2700", I expect the 5 tape library would be
Peter Van Epp / Operations and Technical Support
Simon Fraser University, Burnaby, B.C. Canada
In article <>, (Manmohan
Sankhla) writes:
>Has anyone used the DLT drive on a Sun Sparc ? Does the SunOS 4.1.3 st driver
>handle the drive correctly ? What is the correct st_drivetype entry I need to
>add to st_conf.c to get the kernel to correctly recognize the drive ?
>I tried some experiments, and was able to access the drive and do some I/O
>but at a PAINFULLY slow rate. I always got the following message on the
>console on the first access.
> vmunix: st0: Generic Drive, Vendor=<DEC >
> vmunix: Unknown type- assuming 0.25 inch cartridge
> vmunix: Variable record length I/O
>The drive really whined and moaned during writes. I assume I did not have
>my kernel built with the correct st_drivetype entry.
>If so, what is the correct entry and is there anything else I need to do ?
>Any help would be appreciated. Please send me email or post to this group.
> Manmohan
This is for SunOS 4.1.3:
In st_conf.c, add:
        /* DEC 1/2" Cartridge */
        "DEC DLT2000", 15, "DEC DLT2000", ST_TYPE_REEL, 16384,
        ( ST_REEL | ST_VARIABLE | ST_BSF | ST_BSR ),
        400, 400,
        { 0x80, 0x81, 0x19, 0x18 },
        { 0, 0, 0, 0 },
Verify that st_drivetype in stdef.h looks like
struct st_drivetype {
        char *name;
        char length;
        char vid[24];
        char type;
        short bsize;
        int option;
        int max_rretries;
        int max_wretries;
        u_char densities[NDENSITIES];
        u_char speeds[NSPEEDS];
For Solaris 2.3, add the following in /kernel/drv/st.conf before the first
occurrence of "name=":
tape-config-list = "DEC DLT2000", "(nickname)", "magic-data";
magic-data = 1, 0x33, 16384, 0x21d, 4, 0x80, 0x81, 0x19, 0x18, 3;
Hope this helps,
Ralf-Peter Rohbeck
Digital Equipment OEM Storage Application Engineering Germany
Bahnhofstrasse 27, Unterfoehring Voice: (++49) 89-9591-3240
Smail: P.O.B. 810247, 81902 Muenchen, Germany Fax: (++49) 89-9591-1267
#include <disclaimer.h>
For Solaris 2.x
In /kernel/drv/st.conf add the following:
tape-config-list =
        "DEC DLT2000", "DLT 2200 tape drive", "dlt-tape",
        "DEC DLT2700", "DLT 2700 tape drive", "dlt-tape";
dlt-tape = 1,0x36,1024,0x1639,4,0x80,0x80,0x81,0x81,3;
halt the system, hook up the drive and boot with -r
I was able to write at the rated speed (with compressable data) from a
ss 10/512. I did not measure read speed.
Larry D. Kelley - ARH206 | Internet:
LSC Inc. | AT&T: 01-612-482-2357
4201 Lexington Ave No. | Fax: 01-612-482-2403
Arden Hills, MN 55126 |
We are running one (the 7 tape stacker) on an Auspex which basically
runs SunOS 4.1.3 as its operating system.
We added the following patch to the kernel and it runs fine. I haven't
yet seen a loadable kernel module to support the drive.
The patch allows you to treat the drive like a large exabyte.....

*** /sys/scsi/targets/st_conf.c.orig Wed Jun 8 09:17:25 1994
--- /sys/scsi/targets/st_conf.c Wed Jul 27 14:54:39 1994
*** 188,195 ****
--- 188,204 ----
        500, 500,
        { 0x01, 0x02, 0x06, 0x06},
        { 0, 0, 0, 0 }
+ },
+ /* DEC 1/2" Cartridge */
+ {
+ "DEC DLT2700", 15, "DEC DLT2700", ST_TYPE_REEL, 16384,
+ 400, 400,
+ { 0x80, 0x81, 0x19, 0x18 },
+ { 0, 0, 0, 0 }
  int st_ndrivetypes = (sizeof (st_drivetypes)/sizeof
  #endif /* NST > 0 */
Graham Carpenter
University of Surrey, Guildford, Surrey, UK, GU2 5XH
John Jenkinson
BP Exploration (Alaska)

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:08 CDT