Bug 161335 - mt tell says no such device
Summary: mt tell says no such device
Keywords:
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
medium
medium
Target Milestone: ---
: ---
Assignee: Kernel Maintainer List
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2005-06-23 18:38:11 UTC
Target Upstream Version:
Embargoed:


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
+++ st.c.new 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.