*BSD News Article 82606


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!news.mathworks.com!fu-berlin.de!news.gtn.com!klemm.gtn.com!usenet
From: andreas@klemm.gtn.com (Andreas Klemm)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: HP C1533A DAT tape ?
Date: 10 Nov 1996 16:00:20 GMT
Organization: FreeBSD makes fun
Lines: 35
Message-ID: <564u6k$ev@klemm.gtn.com>
References: <stanbDzLuJv.CEo@netcom.com> <Dzrx1z.9xv@bri.hp.com>
    <54rce7$9ta@uriah.heep.sax.de>
NNTP-Posting-Host: klemm.gtn.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <54rce7$9ta@uriah.heep.sax.de>,
	j@uriah.heep.sax.de (J Wunsch) writes:
> Try the `mt comp 1' command.  I've just checked, it's around there at
> least since FreeBSD 2.0.5.  The man page still lies that it were not
> implemented though... but i cannot remember a single feedback whether
> it's actually working now.  It has been implemented blindly after the
> SCSI-2 specs by Julian Elischer.

With my TDC 4222:
root{1007} / mt status
Present Mode:   Density = QIC-154(2GBALDC) Blocksize variable
---------available modes---------
Mode 0:         Density = 0x00         Blocksize variable
Mode 1:         Density = 0x00         Blocksize variable
Mode 2:         Density = QIC-150      Blocksize variable
Mode 3:         Density = QIC-120      Blocksize variable
root{1008} / mt -f /dev/rst0 comp 1
mt: /dev/rst0: comp: Invalid argument
root{1009} / mt -f /dev/rst0.ctl comp 1
mt: /dev/rst0.ctl: comp: Inappropriate ioctl for device
root{1011} / mt -f /dev/nrst0 comp 1
mt: /dev/nrst0: comp: Invalid argument

My TDC 4222 doesn't have jumpers, to enable or disable data
compression. So ... can you guess, why it doesn't accept the command ?

Or is there a magic scsi command, that would show the devices exact
error code ?


-- 
andreas@klemm.gtn.com         /\/\___      Wiechers & Partner Datentechnik GmbH
   Andreas Klemm          ___/\/\/         Support Unix -- andreas.klemm@wup.de
pgp p-key  http://www-swiss.ai.mit.edu/~bal/pks-toplev.html  >>> powered by <<<
ftp://sunsite.unc.edu/pub/Linux/system/Printing/aps-491.tgz  >>>    FreeBSD <<<