Bug 603051

Summary: /dev/changer symlink not created
Product: Red Hat Enterprise Linux 6 Reporter: Harald Hoyer <harald>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED CURRENTRELEASE QA Contact: Alex Sersen <asersen>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: asersen, azelinka, harald, jonathan, ohudlick, pknirsch, wd
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: udev-147-2.19.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 600983 Environment:
Last Closed: 2010-11-10 21:50:28 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:
Bug Depends On: 600983    
Bug Blocks:    

Description Harald Hoyer 2010-06-11 12:41:34 UTC
+++ This bug was initially created as a clone of Bug #600983 +++

Description of problem:

I have several systems with SCSI Medium Changers (auto-loaders, tape libraries) attached. Up to and including Fedora 12 udev would create a "/dev/changer" symbolic link pointing to the specific /dev/sg* device.  After updating these systems to Fedora 13, these links are missing on all systems. 

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

udev-151-9.fc13.i686, udev-151-9.fc13.x86_64

How reproducible:

always

Steps to Reproduce:
1. Boot a system with a SCSI Medium Changer attached
2. Check that the console log contains output similar to this:
...
ch0: type #1 (mt): 0x0+1 [medium transport]
ch0: type #2 (st): 0x1+7 [storage]
ch0: type #3 (ie): 0x0+0 [import/export]
ch0: type #4 (dt): 0xf0+1 [data transfer]
ch0: dt 0xf0: READ ELEMENT STATUS failed
ch0: INITIALIZE ELEMENT STATUS, may take some time ...
ch0: ... finished
ch 10:0:4:0: Attached scsi changer ch0
ch 10:0:4:0: Attached scsi generic sg6 type 8
...
3. Check if the /dev/changer link is there:
# ls -l /dev/chang*
ls: cannot access /dev/chang*: No such file or directory

  
Actual results:

Link is missing.

Expected results:

Normally, /lib/udev/rules.d/40-redhat.rules would detect that a SCSI type 8 device is there and create symlinks (in the example above, "/dev/changer" and "/dev/changer-sg6").

Additional info:

--- Additional comment from harald on 2010-06-10 10:01:49 EDT ---

Does it work if you change SUBSYSTEM=="scsi_device" to SUBSYSTEM=="scsi_generic" in /lib/udev/rules.d/40-redhat.rules ?

--- Additional comment from wd on 2010-06-10 15:42:54 EDT ---

Indeed - using SUBSYSTEM=="scsi_generic" works fine for me. Thanks a lot!

Comment 1 RHEL Program Management 2010-06-11 12:53:03 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Harald Hoyer 2010-06-29 10:39:47 UTC
udev-147-2.19.el6

Comment 6 releng-rhel@redhat.com 2010-11-10 21:50:28 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.