eject: unable to find or open device for: `cdrom'

Mikkel L. Ellertson mikkel at infinity-ltd.com
Sun Aug 31 22:17:59 UTC 2008


Paul Smith wrote:
> On Sun, Aug 31, 2008 at 9:37 PM, Mikkel L. Ellertson
>> Does "ls /dev/cdrom*" produce anything?
>>
>> You may also want to take a look at
>> /etc/udev/rules.d/70-persistent-cd.rules - this is where the
>> symlinks are created.
> 
> Results:
> 
> # ls /dev/cdrom*
> ls: cannot access /dev/cdrom*: No such file or directory
> #
> 
No symlinks were created - not good!

> and
> 
> # more /etc/udev/rules.d/70-persistent-cd.rules
> # This file was automatically generated by the /lib/udev/write_cd_rules
> # program, probably run by the cd-aliases-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line
> # and set the $GENERATED variable.
> 
> # DVD_RW_ND-3520A (pci-0000:04:06.0-scsi-0:0:1:0)
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
> SYMLINK+="cdrom", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
> SYMLINK+="cdrw", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
> SYMLINK+="dvd", ENV{GENERATED}="1"
> ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:04:06.0-scsi-0:0:1:0",
> SYMLINK+="dvdrw", ENV{GENERATED}="1"
> #
> 
Does lspci show 00:04:06 as a SCSI or IDE controller? (The
controller the drive is on.) For a drastic fix, you could create a
backup of the file, delete everything from # DVD to the end of the
file, and reboot. It should create the proper entries. But I am not
100% sure - that is why you make a backup. :)

You can also try renaming the file, and see if a new one is created.
I believe it will be, but it is hard to follow the logic between the
different batch files and 75-cd-alias~rator.rules

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080831/bf9179c7/attachment-0001.sig>


More information about the fedora-list mailing list