Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 161156 - 'mt tell' fails - backported kernel bug likely
'mt tell' fails - backported kernel bug likely
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Doug Ledford
Brian Brock
: Regression
: 161335 (view as bug list)
Depends On:
Blocks: 156322
  Show dependency treegraph
Reported: 2005-06-20 17:02 EDT by Mindy Preston
Modified: 2007-11-30 17:07 EST (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2005-514
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 09:34:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fix for faulty return value (555 bytes, patch)
2005-07-11 17:30 EDT, Doug Ledford
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:514 qe-ready SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 2 2005-10-05 00:00:00 EDT

  None (edit)
Description Mindy Preston 2005-06-20 17:02:13 EDT
Description of problem:

A SCSI tape drive can be read from and written to, but the command 'mt tell'
fails with 'no such device', even when the correct device is specified.  'mt
tell' succeeded with the same machine and tape drive under a 2.4 kernel and
earlier Red Hat release.  I believe this is a kernel issue that was backported
into 2.6.9 because it is mentioned on kerneltrap.org (
http://kerneltrap.org/node/4351 ).

Version-Release number of selected component (if applicable):


How reproducible:

'mt -f <scsi device> tell'

Steps to Reproduce:
1. attach a SCSI drive to the system
2. "dmesg | grep Attached" to get the proper device
3. confirm read/write from that device succeed, as well as other mt commands
4. "mt tell"
Actual results:

/dev/st0: No such device

Expected results:

The block # the tape is currently on

Additional info:
Comment 1 Jason Baron 2005-06-23 14:38:15 EDT
*** Bug 161335 has been marked as a duplicate of this bug. ***
Comment 4 Doug Ledford 2005-07-11 17:30:36 EDT
Created attachment 116629 [details]
Fix for faulty return value

This should be all that's needed to solve the problem.	I don't have a tape
drive in my test system, so any testing of this would be appreciated.
Comment 5 Mindy Preston 2005-07-11 18:00:12 EDT
I have since moved the tape drive to a different machine, since the user needed
access to some data saved on DLTs.  Unfortunately, I won't be able to test this
for you in the near future.
Comment 6 Doug Ledford 2005-07-20 23:26:49 EDT
Patch committed to the U2 CVS tree, changing state to modified.
Comment 10 Red Hat Bugzilla 2005-10-05 09:34:10 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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