*BSD News Article 47385


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!zombie.ncsc.mil!news.mathworks.com!gatech!howland.reston.ans.net!tank.news.pipex.net!pipex!swrinde!emory!news-feed-1.peachnet.edu!ukma!usenet
From: stevem@mscf.uky.edu (Steve McNatton)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: tape drive woes
Date: 25 Jul 1995 14:47:46 -0400
Organization: University of Kentucky, Dept. of Math Sciences
Lines: 47
Message-ID: <3v3e8i$smg@t4.mscf.uky.edu>
NNTP-Posting-Host: t4.mscf.uky.edu


I'm having fits getting a HP35470A tape drive to do anything at all under
2.0.  Anyone have any clues?

I'm sure the guy is being recognized.
> Jul 24 22:58:21 fluffy kernel: tg1 at eaha0 target 2
> Jul 24 22:58:21 fluffy kernel: st0 at tg1 unit 0: HP HP35470A rev 1009 
> 	(SCSI-2) DAT cassette tape

Here's a small script I'm using ( taken in part from a earlier post 
on this group) .

#!/bin/sh
PATH=/bin:/sbin:/usr/bin:/usr/sbin
TAPE=/dev/nrst0

/bin/mt -f $TAPE rewind
/sbin/dump uBf 4000000 $TAPE / || exit 1
exit 0

Here's the output I get.

(mt commant)
st0: not ready: not ready, init command required
mt: /dev/nrst0: Input/output error

(dump command)
  DUMP: Date of this level 0 dump: Tue Jul 25 14:32:50 1995
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0a (/) to /dev/nrst0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 3915 tape blocks on 0.00 tape(s).
st0: not ready: not ready, init command required
  DUMP: Cannot open output "/dev/nrst0".

Any ideas?

Okay, I'm sure I need to "init" something, but what?

Thanks,
- steve
-- 
--- Stephen W. McNatton                       email:  stevem@ms.uky.edu
--- University of Kentucky                            stevem@inslab.uky.edu
---                                           office: (606)257-2342 or 257-3641
---                                           home:   (606)263-1106