From owner-freebsd-hardware@FreeBSD.ORG Wed Mar 2 00:39:27 2005 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14B5716A4CE for ; Wed, 2 Mar 2005 00:39:27 +0000 (GMT) Received: from 301south.net (14.piel1.xdsl.nauticom.net [209.195.172.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86C6743D2D for ; Wed, 2 Mar 2005 00:39:26 +0000 (GMT) (envelope-from brandon@301south.net) Received: by 301south.net (Postfix, from userid 500) id D2B701019F; Tue, 1 Mar 2005 19:39:25 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by 301south.net (Postfix) with ESMTP id C100C10172 for ; Tue, 1 Mar 2005 19:39:25 -0500 (EST) Date: Tue, 1 Mar 2005 19:39:25 -0500 (EST) From: Brandon Kuczenski To: freebsd-hardware@freebsd.org Message-ID: <20050301193820.L45223@ocean.301south.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Tape Drive -- Broken? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2005 00:39:27 -0000 I recently acquired an old IDE QIC/Travan tape drive (for free) and I'm trying to get it to work on FreeBSD 4.10-RELEASE. I don't know for sure whether the unit is any good, but I would like to rule out operator error before I throw it away. Here's what happens: at boot time, the tape drive is detected as device ast0: /kernel: ast0: TAPE at ata1-slave PIO4 When I insert a brand-new 4/8GB tape and run 'mt -f /dev/ast0 status' as root I get the following output: Mode Density Blocksize bpi Compression Current: 0x01:X3.22-1983 512 bytes 800 none ---------available modes--------- 0: default variable 0 none 1: default variable 0 none 2: default variable 0 none 3: default variable 0 none --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 but I get the following message in /var/log/messages: /kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 error=0x00 Similarly, if I run 'mt -f /dev/ast0 rewind', I get no output to the terminal but the following in the logs: /kernel: ast0: TEST_UNIT_READY - HARDWARE ERROR asc=0xf0 ascq=0x36 error=0x00 /kernel: ast0: REZERO - HARDWARE ERROR asc=0xf0 ascq=0x36 error=0x00 After either of these commands, if I run 'mt -f /dev/ast0 errstat' the terminal displays: mt: /dev/ast0: Inappropriate ioctl for device So, does this suggest the drive is fried, or am I doing something wrong? Google search shows that 'inappropriate' message popping up occasionally for all manner of devices on both Linux and BSD, but usually the hits are in the form of mailing list posts with few, if any, responses, and nothing that seems relevant to my situation. Any ideas? Thanks in advance, -Brandon