Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2002 00:05:48 +0200
From:      Paul te Bokkel <paul@tebokkel.com>
To:        freebsd-stable@freebsd.org
Subject:   Onstream DI30 on 4.7 RC: unable to erase
Message-ID:  <20020930220548.GA365@tebokkel.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm having troubles getting my Onstream DI30 (not Fast or +) to work
on 4.7 RC (err.. from 28th).

Doing a 'mt -f /dev/ast0' (or nast0) keeps getting me an 'mt:
/dev/nast0: erase: Input/output error' (and sometimes an 'Device
busy').

I've tried to strace it, but it breaks on the ioctl to atapi-tape.c.
Setting hw.ata.atapi_dma to 1 didn't matter. On 4.6.2 it was worse,
since there I got a complete lock-up (something with a EINPROGRESS).
That's solved on 4.7, but I would like to erase a tape...

I've managed to do a tar to it, and it seems it can be read.

boot -v output:
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: mask=03 ostat0=50 ostat2=01
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=00 stat1=01
ata1-slave: ATA 04 00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting WDMA2 on Intel chip
ast0: <OnStream DI-30/1.09> tape drive at ata1 as master
ast0: 1048KB/s, transfer limit 1 blk, 2048KB buffer, WDMA2
ast0: Medium: OnStream ADR (15Gyte), lock, eject, ecc, 32kb

It's single master on slave ATA.

Whenever I try to erase, the following appears in syslog:
ast0: ERASE - ILLEGAL REQUEST asc=0x20 ascq=0x00 error=0x04


Since my box hardly has any important data on it (yet), I'm willing to give
the right person shell-access to fix this for inclusion in 4.7
(assuming hardware is not available / working OK for the programmer in
question (sos@freebsd.org?)).

More details available on request - ofcourse.


Regards,


Paul - not as experienced with FreeBSD as he would like (but getting
there ;)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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