Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.ececs.uc.edu!news.kei.com!newsfeed.internetmci.com!news-in2.uu.net!EU.net!main.Germany.EU.net!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: scsi tape recommendations Date: 12 Oct 1996 12:42:00 GMT Organization: Private BSD site, Dresden Lines: 85 Message-ID: <53o3mo$8p4@uriah.heep.sax.de> References: <29f_9610110039@caamora.caamora.com.au> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E To: jlm@caamora.caamora.com.au (jonathan l michaels) [Cc of this article sent by mail.] jlm@caamora.caamora.com.au (jonathan l michaels) wrote: > i'm not a quiter but my tandberg tdc-3820 has gotten the better of > me, it is a qic-525 scsi-2 streamer .. works very well with os/2 and > dos apps like arcsolo and sytos plus but i'll be damned if i can get > it to work reliably in freebsd. I think a simple quirk record would have done it for FreeBSD, too. The Tandberg drives do need to read a single tape block before a MODE SENSE returns useful data. I could bet if you had done mt fsr 1 mt rewind right after inserting a cartridge, everything worked fine. (That's the basic effect of that quirk record.) > ... 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). I'm a happy user of the Tandberg TDC4222 drive. Can read everything from QIC-24 (60 MB) up to 2.5 GB, write everything from QIC-150 up to 2.5 GB, does also do hardware compression for 2.5 GB cartridges. Quite a bit faster than the older drives, even for smaller cartridges. Of course, it's a Tandberg, hence it also requires the quirk record. Damn!, i forgot to move this quirk record into the branch tree for 2.1.5. So, here's the patch. This will only work if you've got ``options NEW_SCSICONF'' in your kernel config file (which later became the default). I've also added what i think is required for the TDC3820. Let me know whether it works. Index: scsi/scsiconf.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v retrieving revision 1.30.4.4 diff -u -u -r1.30.4.4 scsiconf.c --- scsiconf.c 1995/10/10 00:42:02 1.30.4.4 +++ scsiconf.c 1996/10/12 12:40:30 @@ -179,6 +179,13 @@ {0, 0, QIC_150}, /* minor 8,9,10,11 */ {0, 0, QIC_120} /* minor 12,13,14,15 */ }; +static st_modes mode_tandberg4200 = + { + {0, 0, 0}, /* minor 0,1,2,3 */ + {0, ST_Q_FORCE_VAR_MODE, 0}, /* minor 4,5,6,7 */ + {0, 0, QIC_150}, /* minor 8,9,10,11 */ + {0, 0, QIC_120} /* minor 12,13,14,15 */ + }; static st_modes mode_archive2525 = { {0, ST_Q_SNS_HLP, 0}, /* minor 0,1,2,3 */ @@ -233,6 +240,14 @@ { T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 3600", "*", "st", SC_ONE_LU, ST_Q_NEEDS_PAGE_0, mode_tandberg3600 + }, + { + T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 38*", "*", + "st", SC_ONE_LU, ST_Q_SNS_HLP|ST_Q_NO_1024, mode_tandberg4200 + }, + { + T_SEQUENTIAL, T_REMOV, "TANDBERG", " TDC 42*", "*", + "st", SC_ONE_LU, ST_Q_SNS_HLP|ST_Q_NO_1024, mode_tandberg4200 }, { T_SEQUENTIAL, T_REMOV, "ARCHIVE", "VIPER 2525*", "-005", -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)