*BSD News Article 80857


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!caamora!jlm
From: jlm@caamora.caamora.com.au (jlm)
Date: 15 Oct 96 17:24:38 
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: scsi tape recommendations
Message-ID: <333_9610162328@caamora.caamora.com.au>
References: <53o3mo$8p4@uriah.heep.sax.de>
X-FTN-To: j@uriah.heep.sax.de
Organization: Caamora, Clovelly NSW Australia
Lines: 118

j@uriah.heep.sax.de wrote in a message to All:

> ..my tandberg tdc-3820..if i can get it to work reliably in freebsd.

 ju> I think a simple quirk record would have done it for FreeBSD, too.

sounds good, but what is a quirk (record) ?

 ju> The Tandberg drives do need to read a single tape block before a
 ju> MODE SENSE returns useful data.  I could bet if you had done

 ju>    mt fsr 1
 ju>    mt rewind

 ju> right after inserting a cartridge, everything worked fine.  (That's
 ju> the basic effect of that quirk record.)

after i've swaped hardware i will try that and let you/all know what happened.

> ... this leaves me with a freebsd box without a tape drive, does
> anybody have any recommendations. something along the lines of the
> tandberg would be nice, i have a library to maintain so a qic-525
> type that would read and write one or two gig format would be
> ideal. though, i'd be interested to hear from people who have used
> the sony dats (4 gig uncompressed).

 ju> I'm a happy user of the Tandberg TDC4222 drive.  Can read
 ju> everything from QIC-24 (60 MB) up to 2.5 GB, write everything from
 ju> QIC-150 up to 2.5 GB, does also do hardware compression for 2.5 GB
 ju> cartridges. Quite a bit faster than the older drives, even for
 ju> smaller cartridges. 

now that the 1 and 2.5 gig tandbergs have droped in price to about where the
525 mb was when i purchased a little over 18 months ago .. and as expensive as
the sony 2 gig dats.

the speed up is noticable with the 525 as well, while is swaps density and tape
speed it still gives about 10 to 12 percent better througput than an old
tdc-3620 (qic-250).

 ju> Of course, it's a Tandberg, hence it also requires the quirk
 ju> record. 

 .. i'll admit it i like these old grey clunkers and i prefer the reliability
od the quarter inch tape format.

 ju> Damn!, i forgot to move this quirk record into the branch tree for
 ju> 2.1.5.  So, here's the patch.  This will only work if you've got
 ju> ``options NEW_SCSICONF'' in your kernel config file (which later
 ju> became the default).  I've also added what i think is required for
 ju> the TDC3820.

 ju> Let me know whether it works.

will do and thanks.

for anybody else with a tandberg, i've left the patch just in case you need it
as well.

for the rest sorry about the extra bandwith, us old tandberg users need all the
help we can get .. grin

 ju> Index: scsi/scsiconf.c
 ju> ===================================================================
 ju> RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v
 ju> retrieving revision 1.30.4.4
 ju> diff -u -u -r1.30.4.4 scsiconf.c
 ju> --- scsiconf.c   1995/10/10 00:42:02   1.30.4.4
 ju> +++ scsiconf.c   1996/10/12 12:40:30
 ju> @@ -179,6 +179,13 @@
 ju>         {0, 0, QIC_150},            /* minor 8,9,10,11 */
 ju>         {0, 0, QIC_120}            /* minor 12,13,14,15 */
 ju>     };
 ju> +static st_modes mode_tandberg4200 =
 ju> +   {
 ju> +       {0, 0, 0},               /* minor 0,1,2,3 */
 ju> +       {0, ST_Q_FORCE_VAR_MODE, 0},      /* minor 4,5,6,7 */ +    
 ju>   {0, 0, QIC_150},            /* minor 8,9,10,11 */
 ju> +       {0, 0, QIC_120}            /* minor 12,13,14,15 */
 ju> +   };
 ju>  static st_modes mode_archive2525 =
 ju>     {
 ju>         {0, ST_Q_SNS_HLP, 0},         /* minor 0,1,2,3 */
 ju> @@ -233,6 +240,14 @@
 ju>     {
 ju>        T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 3600", "*",
 ju>        "st", SC_ONE_LU, ST_Q_NEEDS_PAGE_0, mode_tandberg3600 +   },
 ju> +   {
 ju> +      T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 38*", "*",
 ju> +      "st", SC_ONE_LU, ST_Q_SNS_HLP|ST_Q_NO_1024,
 ju> mode_tandberg4200 +   },
 ju> +   {
 ju> +      T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 42*", "*",
 ju> +      "st", SC_ONE_LU, ST_Q_SNS_HLP|ST_Q_NO_1024,
 ju> mode_tandberg4200     },
 ju>     {
 ju>        T_SEQUENTIAL, T_REMOV, "ARCHIVE", "VIPER 2525*", "-005", 


 ju> -- 
 ju> cheers, J"org

 ju> joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC:
 ju> JW11-RIPE Never trust an operating system you don't have sources
 ju> for. ;-) 


 ju> ___
 ju>  - Origin: Caamora (FTN GateWay) +61 2 96659249 (13:13/13.0) 

regards ... jonathan

EMail: jlm@caamora.com.au
--
Caamora (InterNet Services) __________________________________________
PO Box 2036
Clovelly West NSW 2031 Australia                   data +61 2 96659249
------------------------------------------------- <jlm@caamora.com.au>