Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 2000 17:15:34 -0700 (PDT)
From:      defouwj@purdue.edu
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/19938: IDE tape drive (ast0) timeout too quick
Message-ID:  <20000715001534.26EEB37C64C@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




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