Bug 527799
| Summary: | Cannot insert CD/DVD into carrier tray | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joseph Sacco <jsacco> |
| Component: | udev | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 12 | CC: | harald |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | powerpc | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-04-13 16:21:52 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: | |||
|
Description
Joseph Sacco
2009-10-07 18:23:53 UTC
The problem persists in fc12. -Joseph I am available to run whatever tests are required to resolve this problem. -Joseph A workaround for this problem:
As root run:
sysctl -w dev.cdrom.autoclose=0
See bug number 543959
-Joseph
do you have anaconda installed? $ rpm -q anaconda No... Should I? -Joseph No, but it would be one source of the symptom see also bug 453095 see also bug 527781 you might also try: udev-145-15.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/udev-145-15.fc12 I pulled down and installed
udev-145-15.fc12
libudev-145-15.fc12
libgudev1-145-15.fc12
and rebooted that machine. Updating udev and friends did not resolve the problem. Unless dev.cdrom.autoclose is set to 0, the tray closes as soon as it is opened.
Note also that auto-mount fails to occur when media with a mountable file system in placed in the tray and the tray is closed. The media can be mounted manually using the "mount" command.
I did notice an oddity. The file
/etc/udev/rules.d/70-persistent-cd.rules
has two entries for the same device
# PIONEER_DVD-RW_DVR-111D (pci-0.00020000:ata-3-ide-0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0.00020000:ata-3-ide-0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0.00020000:ata-3-ide-0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0.00020000:ata-3-ide-0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0.00020000:ata-3-ide-0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# PIONEER_DVD-RW_DVR-111D (pci-0001:10:17.0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0001:10:17.0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0001:10:17.0", SYMLINK+="cdrw1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0001:10:17.0", SYMLINK+="dvd1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0001:10:17.0", SYMLINK+="dvdrw1", ENV{GENERATED}="1"
This system has only one PIONEER_DVD-RW_DVR-111D.
I looked at an fc9 installation I had archived and saw only the first entry.
Deleting the second entry, killing off and restarting the udev daemon doesn't seem to help.
When the system is rebooted, the file is regenerated with two entries for the single device.
-Joseph
ok, one thing to try:
comment out line 7 in /lib/udev/rules.d/60-persistent-storage.rules, which will look like this:
# forward scsi device event to corresponding block device
# ACTION=="change", SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST=="block", ATTR{block/*/uevent}="change"
Harald,
The change to 60-persistent-storage.rules did not resolve the problem. The CD/DVD tray still closes immediately after opening.
I worked around this problem by setting
dev.cdrom.autoclose=0
in /etc/sysctl.conf.
-Joseph
*** This bug has been marked as a duplicate of bug 453095 *** |