From owner-freebsd-stable Mon Sep 30 15: 5:54 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04FBE37B401 for ; Mon, 30 Sep 2002 15:05:53 -0700 (PDT) Received: from devil.tebokkel.com (ptb.xs4all.nl [80.126.6.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D9F943E77 for ; Mon, 30 Sep 2002 15:05:51 -0700 (PDT) (envelope-from paul@tebokkel.com) Received: from devil.tebokkel.com (localhost [127.0.0.1]) by devil.tebokkel.com (8.12.6/8.12.6) with ESMTP id g8UM5n5v015802 for ; Tue, 1 Oct 2002 00:05:49 +0200 (CEST) (envelope-from paul@devil.tebokkel.com) Received: (from paul@localhost) by devil.tebokkel.com (8.12.6/8.12.6/Submit) id g8UM5niL015801 for freebsd-stable@freebsd.org; Tue, 1 Oct 2002 00:05:49 +0200 (CEST) (envelope-from paul) Date: Tue, 1 Oct 2002 00:05:48 +0200 From: Paul te Bokkel To: freebsd-stable@freebsd.org Subject: Onstream DI30 on 4.7 RC: unable to erase Message-ID: <20020930220548.GA365@tebokkel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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