Subject: Re: atapi front-end for tape driver
To: Chris Pinnock <cjep@fawlty.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 05/10/2001 20:57:54
On Mon, May 07, 2001 at 02:49:55PM +0100, Chris Pinnock wrote:
> On Fri, May 04, 2001 at 09:01:37PM -0400, Thor Lancelot Simon wrote:
> > Those testing this should be aware that certain ATAPI tape drives, though
> > they will probably match with this driver, do *not* implement the standard
> > tape drive command set and will almost certainly not work.  The most obvious
> > example is the OnStream drive; there may be others.
> 
> Hi, Can anyone recommend a tape drive that might work? A friend
> lent me an ATAPI tape drive for testing the atapibus driver,
> but unfortunately it turned out to be an OnStream. :<
> 
> At least, I can confirm that the OnStream DI-30 will *not* work.
> 
> tubbs# dump -0 -f /dev/st0 /
>   DUMP: Date of this level 0 dump: Mon May  7 14:38:40 2001
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /dev/rwd0a (/) to /dev/st0
>   DUMP: Label: none
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 54231 tape blocks on 1.39 tape(s).
>   DUMP: Cannot open output "/dev/st0".
> 
> tubbs# dmesg | grep st0
> st0 at atapibus0 drive 1: <OnStream DI-30, , 1.00> type 1 sequential removable
> st0: drive empty
> st0: 32-bit data port
> st0: drive supports PIO mode 4, DMA mode 2
> st0(pciide0:1:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
> st0: transfer error, downgrading to PIO mode 4
> st0(pciide0:1:1): using PIO mode 4
> st0(pciide0:1:1): invalid return code from adapter: 3
> st0: error 5 in st_load (op 1)

And what happens if you try again, now that it has downgraded ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--