Bug 394691 - unable to access ide tape drive
unable to access ide tape drive
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i686 Linux
low Severity high
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-11-21 13:14 EST by Craig Goodyear
Modified: 2007-12-20 14:56 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-20 14:56:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
the output from smolt (5.47 KB, text/plain)
2007-11-21 13:16 EST, Craig Goodyear
no flags Details
output from dmesg (29.11 KB, text/plain)
2007-11-21 13:17 EST, Craig Goodyear
no flags Details

  None (edit)
Description Craig Goodyear 2007-11-21 13:14:21 EST
Description of problem:
Any attempt to use the ide tape drive rewults in the 
error: Input/output error

Version-Release number of selected component (if applicable):
mt-st: 0.9b-4.fc8
tar: 1.17-4-fc8

How reproducible:
every time

Steps to Reproduce:
1. use mt -f /dev/nst0 tell
2. use tar -cf /dev/nst0 /home

Actual results:
1. [root@cm2 dev]# mt -f /dev/nst0 tell
/dev/nst0: Input/output error

2. [root@cm2 craig]# tar -cf /dev/nst0 /home
tar: /dev/nst0: Cannot open: Input/output error
tar: Error is not recoverable: exiting now

Expected results:
execution of command without error

Additional info:
The output from smolt and dmesg are attached
Comment 1 Craig Goodyear 2007-11-21 13:16:28 EST
Created attachment 266201 [details]
the output from smolt

This is the output from smolt.
Comment 2 Craig Goodyear 2007-11-21 13:17:50 EST
Created attachment 266211 [details]
output from dmesg

This is the output from dmesg.
Comment 3 Chuck Ebbert 2007-11-21 15:11:08 EST
Looks like this is needed:
libata: increase 128 KB / cmd limit for ATAPI tape drives

Plus these not-upstream ones:
[PATCH 1/2] libata: workaround DRQ=1 ERR=1 for ATAPI tape drives
[PATCH 2/2] libata: use ATA_HORKAGE_STUCK_ERR for ATAPI tape drives

And maybe more?
Comment 4 Alan Cox 2007-11-21 17:01:12 EST
DRQ/Stuck err should be sufficient. The other is a performance item but should
go in too
Comment 5 Chuck Ebbert 2007-12-05 15:40:54 EST
Fixes are in F8 kernels starting with
Comment 6 Fedora Update System 2007-12-12 15:00:14 EST
kernel- has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update kernel'
Comment 7 Craig Goodyear 2007-12-13 11:11:17 EST
I have installed kernel  The ide tape drive 
now appears to fucntion correctly.  I am able to use the mt
commands to query and position the drive.  Tar now works to 
read from the drive and write to the drive.
Comment 8 Alan Cox 2007-12-13 13:39:09 EST
Yay, thanks for testing
Comment 9 Fedora Update System 2007-12-20 14:56:15 EST
kernel- has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.