From owner-freebsd-bugs Fri Jul 14 17:20: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9508437C68E for ; Fri, 14 Jul 2000 17:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA49753; Fri, 14 Jul 2000 17:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 26EEB37C64C; Fri, 14 Jul 2000 17:15:34 -0700 (PDT) Message-Id: <20000715001534.26EEB37C64C@hub.freebsd.org> Date: Fri, 14 Jul 2000 17:15:34 -0700 (PDT) From: defouwj@purdue.edu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/19938: IDE tape drive (ast0) timeout too quick Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19938 >Category: kern >Synopsis: IDE tape drive (ast0) timeout too quick >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 14 17:20:03 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Jeff DeFouw >Release: 4.0 >Organization: ThinkHost >Environment: FreeBSD socrates.thinkhost.com 4.0-STABLE FreeBSD 4.0-STABLE #2: Tue Jun 6 04:06:26 GMT 2000 jeff@socrates.thinkhost.com:/usr/src/sys/compile/socrates i386 >Description: Operations on the tape drive (ast0) time out after a very short period (25-30 seconds) even though the tape device is performing the operation properly. For example, from past about 10MB on the 10GB(20GB) tape mt rewind will report "Input/output error". The I/O error then causes the tape to be rewound no matter what it was supposed to do. During this time the device returns "Device busy". This happens on any command except reading and writing to the current position, which can make it difficult to use the tape drive. Kernel messages: ast0: TEST_UNIT_READY command timeout - resetting ata1: resetting devices .. ata1-slave: timeout waiting for command=ef s=11 e=04 This fails: mt -f /dev/nrast0 setspos 60000 But this works: mt -f /dev/nrast0 setspos 20000 mt -f /dev/nrast0 setspos 40000 mt -f /dev/nrast0 setspos 60000 And then will fail if you do: mt -f /dev/nrast0 rewind Auto-rewinds by /dev/rast0 will also run into this problem. >How-To-Repeat: Fastest way: mt -f /dev/nrast0 setspos 60000 Otherwise, write large enough amount of data (30MB) to tape and then rewind or use the auto-rewind device instead. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message