SUMMARY: Help with HP 35470A DAT on Sparcstation 1+, 4.1.3, please

From: Bob Clements (
Date: Thu Oct 28 1993 - 09:07:37 CDT

Following up on my article <> from

My original request (excerpted):

  I could use some help getting my new HP 35470A DAT to run on
  my Sparcstation 1+, under 4.1.3.

    [The drive's manual says:]
    Switches 3 to 8 are used to specify drive connectivity and
    functionality according to host or customer requirements. The
    default setting is all switches _on_. Contact your HP
    distributor or dealer for further details.

  The symptoms are "no tape loaded or drive offline" from "mt",
  and something similar from "dump". But the error message is
  preceded by the correct text info from the SCSI identification
  strings. And probe-scsi sees it OK.

[end of excerpts]

The short form answer:

Turn OFF dip switch positions 6, 7 and 8, leave 3-5 ON. Then
do the fairly obvious edits to the /sys/scsi/targets configuration
files and rebuild the kernel.

It now works just fine.

Many thanks to correspondents in Germany, South Carolina and New York
for the help.

Longer form answers follow:

DIP Switches:

    The switches are reportedly not simply "this switch does this
    function", but are rather a field of six bits encoding 64
    different sets of functions.

    The pattern 345678 = on on on off off off works for the SunOS
    device driver.

    The pattern 345678 = on on on off off on is similar, but adds
    Media Recognition System support, which you need kernel support
    for, and which I haven't tried (and don't fully understand).

    I don't have a whole list of the 64 possible settings, and I
    guess I don't need it.

Kernel configuration edits for SunOS 4.1.3:

in stdef.h, after:
  #define ST_TYPE_EXB8500 0x29 /* Exabyte */
  #define ST_TYPE_HP1 0x2a /* HP 4mm DAT */

in st_conf.h, after:
  /* Fujitsu 1/2" cartridge */
        "Fujitsu 1/2\" Cartridge", 2, "\076\000", ST_TYPE_FUJI, 1024,
        300, 300,
        { 0x00, 0x00, 0x00, 0x00},
        { 0, 0, 0, 0 }

  /* HP 4mm Helical Scan Tape */
        "HP 4mm DAT", 2, "HP", ST_TYPE_HP1, 10240,
        6000, 6000,
        { 0x00, 0x00, 0x00, 0x00},
        { 0, 0, 0, 0 }
and rebuild the kernel.

Bob Clements, K1BC,

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