Red Hat Bugzilla – Bug 394691
unable to access ide tape drive
Last modified: 2007-12-20 14:56:24 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):
Steps to Reproduce:
1. use mt -f /dev/nst0 tell
2. use tar -cf /dev/nst0 /home
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
execution of command without error
The output from smolt and dmesg are attached
Created attachment 266201 [details]
the output from smolt
This is the output from smolt.
Created attachment 266211 [details]
output from dmesg
This is the output from dmesg.
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?
DRQ/Stuck err should be sufficient. The other is a performance item but should
go in too
Fixes are in F8 kernels starting with 18.104.22.168-79
kernel-22.214.171.124-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'
I have installed kernel 126.96.36.199-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.
Yay, thanks for testing
kernel-188.8.131.52-85.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.