*BSD News Article 19112


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!cnn.nas.nasa.gov!wilbur.nas.nasa.gov!tweten
From: tweten@wilbur.nas.nasa.gov (Dave Tweten)
Subject: Re: Adaptec 1542C and Archive 2525S with NetBSD-0.8
Message-ID: <CB5Ep5.GG1@nas.nasa.gov>
Keywords: adaptec 1542C archive viper 2525
Sender: news@nas.nasa.gov (News Administrator)
Nntp-Posting-Host: wilbur.nas.nasa.gov
Organization: NAS Systems Division, NASA Ames
References: <1993Jul30.214626.29331@iplmail.orl.mmc.com> <CB21Dx.23w@cyb.cojones.com>
Date: Mon, 2 Aug 1993 20:10:16 GMT
Lines: 43

In article <1993Jul30.214626.29331@iplmail.orl.mmc.com> patw@orl.mmc.com (Pat Walker) writes:
>Howdy All,
>  As you might surmise from the Subject line, I'm having some
>difficulty with my Archive tape drive and NetBSD.  I have
>a Maxtor 1240S and an Archive 2525S hooked up to my Adaptec 1542C.
>I've swapped in an Archive 2150S and it works ok.  Anybody
>have any clues?

There are two problems related to the 2525S.  First, Julian's driver
doesn't choose between fixed-length blocks and variable-length blocks
correctly, so if your drive is capable of both (as the Archive is for
QIC-525 tapes) it will not work correctly with fixed-length tapes.
Second, there is a bug in Archive firmware revisions before 007 which
prevents easy detection of the density and fixed/variable block mode for
tapes which are to be read.

I'm fitting my previous patch into Julian's newer driver format (which
he sent to the net a couple of months ago).  When it's ready, a copy
will go to the net as well as to Julian.  His new "quirks" driver
feature has almost made it possible for the driver to work with pre-007
Viper firmware.  Some more work is needed, to

    1.	finish making the 005 firmware work with the driver,

    2.	incorporate the response (not yet received) to a FAX query to
	Conner concerning a read with a positive residual as the first
	operation on the tape (it causes my 2525 to go comatose), and

    3.	fit my changes into Julian's latest driver version (he's
	offered, but hasn't sent me a copy yet).

If you'd like to help test the changes, I'd be happy to send you a
copy, either now if you have firmware rev. 7, or as soon as the quirks
code works, if your firmware is at level 5 (I haven't a clue about 6).
For firmware level 7, the only known problem is drive failure when the
first read of a variable-length block QIC-525 tape has a positive
residual (an attempt is made to read more data than is there).  The
drive "goes away" until reset.
-- 
---------------------------------------------------------------------------
Dave Tweten						tweten@nas.nasa.gov
NASA Ames Research Center, M/S 258-5			     (415) 604-4416
Moffett Field, CA  94035-1000				FAX: (415) 604-4377