Bug 394691

Summary: unable to access ide tape drive
Product: [Fedora] Fedora Reporter: Craig Goodyear <goodyca48>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8CC: alan
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: 2.6.23.9-85.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-12-20 19:56:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
the output from smolt
none
output from dmesg none

Description Craig Goodyear 2007-11-21 18:14:21 UTC
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):
Kernel: 2.6.23.1-49.fc8
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
or 
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 18:16:28 UTC
Created attachment 266201 [details]
the output from smolt

This is the output from smolt.

Comment 2 Craig Goodyear 2007-11-21 18:17:50 UTC
Created attachment 266211 [details]
output from dmesg

This is the output from dmesg.

Comment 3 Chuck Ebbert 2007-11-21 20:11:08 UTC
Looks like this is needed:
f8d8e5799b75cf7ad530d2bf2a42229bf7360526
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 22:01:12 UTC
DRQ/Stuck err should be sufficient. The other is a performance item but should
go in too


Comment 5 Chuck Ebbert 2007-12-05 20:40:54 UTC
Fixes are in F8 kernels starting with 2.6.23.9-79

Comment 6 Fedora Update System 2007-12-12 20:00:14 UTC
kernel-2.6.23.9-85.fc8 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 16:11:17 UTC
I have installed kernel 2.6.23.9-85.fc8.  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 18:39:09 UTC
Yay, thanks for testing


Comment 9 Fedora Update System 2007-12-20 19:56:15 UTC
kernel-2.6.23.9-85.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.