*BSD News Article 64369


Return to BSD News archive

Newsgroups: comp.periphs.scsi,comp.unix.bsd.netbsd.misc,comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!blackbush.xlink.net!ka.sub.net!flatlin!bad
From: bad@flatlin.ka.sub.org (Christoph Badura)
Subject: Re: Q: variable block > 0, TDC-3600
Date: Tue, 26 Mar 1996 14:17:02 GMT
Message-ID: <Dovp0E.C45@flatlin.ka.sub.org>
References: <4j6oet$fau@midway.evtech.com>
Organization: Guru Systems/Funware Department
Lines: 42
Xref: euryale.cc.adfa.oz.au comp.periphs.scsi:49241 comp.unix.bsd.netbsd.misc:2580 comp.unix.bsd.freebsd.misc:16075

  [cc'ed courtsey copy to author]

In <4j6oet$fau@midway.evtech.com> travis@evtech.com (Travis Hassloch x231) writes:
>But recently, I narrowed down our problems to what I think is the issue;
>when we made our tar tapes several months ago, our TDC-3600 drive was
>being handled as a normal SCSI tape device.  Just recently, our NetBSD
>kernel has a "quirk" entry for the TDC-3600, which appears to do some
>special things for DC-6525 tapes.  The code reads something like:

>                {0, 0, 0},                              /* minor 0-3 */
>                {ST_Q_FORCE_BLKSIZE, 0, QIC_525},       /* minor 4-7 */
>                {0, 0, QIC_150},                        /* minor 8-11 */
>                {0, 0, QIC_120}                         /* minor 12-15 */
>        }}},

>We are not able to recover any data, even with "dd".

>Does ANYONE have ANY idea how the aforementioned special handling could
>prevent us from reading old tapes?

QIC-525 drives use 1024 byte blocks on the medium (all previous QIC
formats used 512 bytes).  There is special compatibility code in the
Tandberg firmware to allow the drive to accept requests for 512 byte
blocks.

Since you neither give the exact error message that you get nor the
paramters to dd that you used I can't give you specific help.  I can
only assume that you have used dd bsize=1k and it failed.

Anyway, if all else fails, you could just disable the quirk entry for
that drive and see if that fixes your problem.

>I think the TDC-3600 is a variable blocking QIC device.

You can write fixed and variable blocks.  How that is handled by the
drive, I don't remember.  It's been a while since I read the firmware
manual.
-- 
Christoph Badura	bad@flatlin.ka.sub.org

You don't need to quote my .signature.  Everyone has seen it by now.
Besides, it doesn't add anything to the current thread.