Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 161335 - mt tell says no such device
Summary: mt tell says no such device
Status: CLOSED DUPLICATE of bug 161156
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2005-06-22 15:00 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2005-06-23 18:38:11 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Bastien Nocera 2005-06-22 15:00:04 UTC
"mt tell" says no such device with kernel-2.6.9-5.0.5.EL.
Patch below:

--- st.c 2005-04-13 10:45:00.240790000 +0100
+++ 2005-04-13 13:44:41.356696328 +0100
@@ -3126,8 +3126,9 @@
* access to the device is prohibited.
retval = scsi_nonblockable_ioctl(STp->device, cmd_in, p, file);
- if (!scsi_block_when_processing_errors(STp->device) || !retval)
+ if (!scsi_block_when_processing_errors(STp->device) || retval != -ENODEV)
goto out;
+ retval = 0;
cmd_type = _IOC_TYPE(cmd_in);
cmd_nr = _IOC_NR(cmd_in);

Comment 1 Jason Baron 2005-06-23 18:38:11 UTC

*** This bug has been marked as a duplicate of 161156 ***

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