From: markd@csqx.cs.rhbnc.ac.uk (Mark Damerell)
Newsgroups: comp.sys.hp
Subject: DAT drive on 835, help please
Date: 22 Jul 92 12:15:36 GMT
Reply-To: markd@csqx.cs.rhbnc.ac.uk (Mark Damerell)
Organization: Dept of Comp Sci, Royal Holloway & Bedford New College Uni London

We have: a H-P 9000/835, HP-UX 8.0, a SCSI card, and no adequate backup
device. We also have a SCSI DAT cartridge drive (H-P model C1520A) and I
wanted to attach it to the 835. Granted that the C1520A is not on the list
of officially-supported devices, but I dont see the point of having a SCSI
standard if conforming devices cannot communicate.


The drive belongs to another machine; on that machine it does work. So I
did the following:

shutdown, switch off, attach drive to SCSI bus, switch on, (CPU last),
rebuild kernel by:

SAM --> view/modify kernel --> tape drivers --> 
This offered the choice of a 79xx driver (tape1) I said NO
                        or a SCSI driver (tape2) I said YES

perform task --> exit task --> rebuild kernel --> exit SAM & reboot, then
do   insf -e   then reboot again.

Then SAM --> peripherals --> tapes --> view 

finds the new SCSI tape at address 4.3.3.0 with driver tape2 as well as the
previous old cartridge drive at 4.5.3 with driver disc1. Selecting the SCSI
drive and doing "view dev files" finds several entries in /dev/rmt and in
dev/mt .

Now I want to backup files onto this drive, so I did:

sam --> backups --> backup interactively

If I enter  /dev/rmt/0m  into the space for the backup device, I get an error:

"this device file has no physical device associated with it." If I move the
cursor into the space for the backup device and type the HELP key, I get:

examining device at 4.0.0
                    4.3.3.0
                    4.5.3

and the only choice the Help will offer is /dev/rct/c1d0s2 at address 4.5.3
(again: this is the old cartridge drive, and not large enough for a full
backup). 4.0.0 is the disk drive and 4.3.3.0 the DAT drive that I want to 
backup on.

Backing up by using  /etc/fbackup also failed.

/etc/fbackup -f /dev/rmt/0m -i /

This ran for some time, printing various messages as if it were assembling
a backup file then failed with:

fbackup: could not open output file  /dev/rmt/0m

I believe the SCSI card in the 835 is OK because we connected an optical 
disk drive & it worked. There is only 2 metres of visible cable + maybe 1
more of internal length in the SCSI devices. 
The manual (Installing peripherals Vol.1) is unhelpful. Please does anybody
know what is wrong? I ran some simple commands to try to see what is wrong:


hp (1): ioscan -f
Class       LU  H/W Path Driver                        H/W Status        S/W Status
===================================================================================
processor    -  0        processor                     ok(0x0)           ok
cio          -  4        cio_ca0                       ok(0x1000)        ok
hpib         -  4.0      cio_ca0.hpib0                 ok(0x2)           ok
disk         0  4.0.0    cio_ca0.hpib0.disc1           ok(0x214)         ok
tty          0  4.1      cio_ca0.mux0                  ok(0x7)           ok
scsi         -  4.3      cio_ca0.scsi2                 ok(0xc)           ok
target       -  4.3.3    cio_ca0.scsi2.target          ok(0x1800202)     ok
tape_drive   0  4.3.3.0  cio_ca0.scsi2.target.tape2    ok(0x1800202)     ok
lan          0  4.4      cio_ca0.lan0                  ok(0x6)           ok
hpib         -  4.5      cio_ca0.hpib0                 ok(0x2)           ok
disk         1  4.5.3    cio_ca0.hpib0.disc1           ok(0x270)         ok
graphics     -  8        graph0                        ok(0x4800)        ok
display      0  8.0      graph0.display0               ok(0xb)           ok
graphics     -  9        graph0_cs                     ok(0x4900)        ok
memory       -  12       memory                        ok(0x800)         ok
hp (2): cd /dev/mt
/dev/mt
hp (3): lssf *
tape2 lu 0 bpi 6250 at&t address 4.3.3.0 0h
tape2 lu 0 bpi 6250 no_rewind at&t address 4.3.3.0 0hn
tape2 lu 0 bpi 800 at&t address 4.3.3.0 0l
tape2 lu 0 bpi 800 no_rewind at&t address 4.3.3.0 0ln
tape2 lu 0 bpi 1600 at&t address 4.3.3.0 0m
tape2 lu 0 bpi 1600 no_rewind at&t address 4.3.3.0 0mn
hp (4): cd /dev/rmt
/dev/rmt
hp (5): lssf *
tape2 lu 0 bpi 6250 at&t address 4.3.3.0 0h
tape2 lu 0 bpi 6250 at&t compressed address 4.3.3.0 0hc
tape2 lu 0 bpi 6250 no_rewind at&t address 4.3.3.0 0hn
tape2 lu 0 bpi 800 at&t address 4.3.3.0 0l
tape2 lu 0 bpi 800 no_rewind at&t address 4.3.3.0 0ln
tape2 lu 0 bpi 1600 at&t address 4.3.3.0 0m
tape2 lu 0 bpi 1600 no_rewind at&t address 4.3.3.0 0mn
hp (6): lsdev
    Character     Block       Driver          Class
       -1          -1         processor       processor
       -1          -1         memory          memory
       -1          -1         bus_converter   bc
       50          -1         lan0            lan
       -1          -1         target          target
       -1          -1         scsi2           scsi
        1          -1         mux0            tty
       -1          -1         graph0_cs       graphics
       -1          -1         graph0          graphics
        5           5         tape1           tape_drive
       15          -1         display0        display
       14          -1         display0        display
       24          -1         display0        display
       25          -1         display0        display
        7           8         disc1           disk
       -1          -1         cio_ca0         cio
       -1          -1         hpib0           hpib
       21          -1         instr0          instr
        5           5         tape2           tape_drive
       60          -1         nm              pseudo
       56          -1         ni              pseudo
       46          -1         netdiag1        pseudo
       48          -1         mirconfig       pseudo
       31          -1         sy              pseudo
       -1          13         sw1             pseudo
        8           3         sw              pseudo
       17          -1         pty1            pseudo
       16          -1         pty0            pseudo
        3          -1         mm              pseudo
       41          -1         meas_drivr      pseudo
       27          -1         dmem            pseudo
       28          -1         diag0           pseudo
       69          -1         devconfig       pseudo
        0          -1         cn              pseudo