Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 1996 17:56:20 +1030 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        uhclem@nemesis.lonestar.org (Frank Durda IV)
Cc:        chuck@fang.cs.sunyit.edu, hackers@FreeBSD.org
Subject:   Re: A few NITS about SCSI Tapes
Message-ID:  <199601070726.RAA19955@genesis.atrad.adelaide.edu.au>
In-Reply-To: <m0tYeLO-000CC2C@nemesis.lonestar.org> from "Frank Durda IV" at Jan 6, 96 01:31:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Frank Durda IV stands accused of saying:
> 
> [0]1) Using an ExaByte 8200 on a 2.1 system with an  Adaptec 1522A and
> [0]a 1542CF SCSI Card -
> [0]	
> [0]The dump application exits with the error 
> [0]		"st1: bad request, must be between 0 and 0"
> 
> Oh I am *SO* glad to see this!  So I am not the only one who has seen
> this message!  I got this with dump also, and it would magically go away
> if I issued a "mt rewind" TWICE and then re-ran the dump (same tape).
> This was on a WangDAT 4MM tape system with a 1542C controller.
> The 1542C had the latest ROM code and this was under 2.1.0.

Last time I saw these symptoms they were a result of the way that SCSI
tapes return the Check Condition bit set in otherwise OK responses to 
commands after exceptional conditions (usually media change).  So the
first time you tried to access a drive after you'd inserted a new tape,
you'd get an error.

This is a 'feature' of the SCSI tape spec, and should be handled at the 
application level.

> I'd prefer the status light.  Perhaps a "non-locking" dev is the answer?
> That is what I provided for the Matsushita CD-ROM drives.

I'd be inclined to unlock on rewind; it makes little or no sense to be
able to eject a partially-wound tape.  This would give automatic unlock
on close of the rewind device (the default).

> Frank Durda IV <uhclem@nemesis.lonestar.org>|"The Knights who say "LETNi"

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] "Who does BSD?" "We do Chucky, we do."                               [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601070726.RAA19955>