[SLE] Help, cdrom not working with 9.3, is it a bug ?
Hello, I've a system with 3 SCSI CD or DVD units : - sr0 : /dev/dvd - sr1 : /dev/cdrecorder (dvd recorder) - sr2 : /dev/cdrom The three units worked well with SuSE 9.2 and earlier. I made a fresh install of SuSE 9.3 the three units are created with the same names, but /dev/cdrom is not working and during boot I get error merrages like : cdrom: open failed I made a lot of digging and discovered that udev (?) creates names for the cd and dvd units and that these names are stored in the folder /dev/cdrom which conflicts with the sr2 symbolic link !!! I didn't find how to change onr of these two conflicting names. Had someone the same problem and/or the answer, or have I to report a bug ? Thanks in advance. Michel PS: I temporarily got cdrom to work by destroying the cdrom folder and recreating the link, I get error messages since udev is not able to record the names created but it works.
PS: I temporarily got cdrom to work by destroying the cdrom folder and recreating the link, I get error messages since udev is not able to record the names created but it works.
Hi Michel After having problems with the cdrom. I noticed too that a /dev/cdrom folder had been created instead of a link. I don't know why. I assigned all my apps. to use /dev/dvd instead (since I only have one device). I think that it must be a bug. Eddie
eddieleprince wrote:
PS: I temporarily got cdrom to work by destroying the cdrom folder and recreating the link, I get error messages since udev is not able to record the names created but it works.
Hi Michel
After having problems with the cdrom. I noticed too that a /dev/cdrom folder had been created instead of a link. I don't know why. I assigned all my apps. to use /dev/dvd instead (since I only have one device). I think that it must be a bug.
Eddie
This whole cdrom story sems to be buggy, on one machine if i ejected the tray it would jump right back in again. Really annoying trying to beat the speed of the tray going in and out. On another machine i can only eject using the eject command, manual like does not work. Seems something fishy to me.
The Saturday 2005-05-14 at 14:49 +0200, Catimimi wrote:
I made a lot of digging and discovered that udev (?) creates names for the cd and dvd units and that these names are stored in the folder /dev/cdrom which conflicts with the sr2 symbolic link !!!
Yes, I reported that here a few days back.
I didn't find how to change onr of these two conflicting names.
Here: "/etc/udev/rules.d/20-cdrom.rules". # cdrom links generated by YaST2 # BUS="ide", ID="1.0", SYSFS{removable}="1", SYMLINK="dvdrecorder dvdram dvd" BUS="ide", ID="1.1", SYSFS{removable}="1", SYMLINK="cdrecorder cdrom" There are set the symlinks it will apply on boot. I changed those definitions for my system.
PS: I temporarily got cdrom to work by destroying the cdrom folder and recreating the link, I get error messages since udev is not able to record the names created but it works.
I don't know about the folder, that's new to me. -- Cheers, Carlos Robinson
Carlos E. R. a écrit :
The Saturday 2005-05-14 at 14:49 +0200, Catimimi wrote:
I made a lot of digging and discovered that udev (?) creates names for the cd and dvd units and that these names are stored in the folder /dev/cdrom which conflicts with the sr2 symbolic link !!!
Yes, I reported that here a few days back.
I didn't find how to change onr of these two conflicting names.
Here: "/etc/udev/rules.d/20-cdrom.rules".
# cdrom links generated by YaST2 # BUS="ide", ID="1.0", SYSFS{removable}="1", SYMLINK="dvdrecorder dvdram dvd" BUS="ide", ID="1.1", SYSFS{removable}="1", SYMLINK="cdrecorder cdrom"
There are set the symlinks it will apply on boot. I changed those definitions for my system.
I did so too, in order not to use cdrom, BUT at boot udev (?) always need the folder cdrom, and aat boot yast (?) changes the permissions of thaat folder (as if it were a link !) and udev is not able to write in it !!!
PS: I temporarily got cdrom to work by destroying the cdrom folder and recreating the link, I get error messages since udev is not able to record the names created but it works.
I don't know about the folder, that's new to me.
It is there only with 9.3 - Have a look in /dev Thanks for reply, I requested installation assistance and hope a reply. Michel.
The Tuesday 2005-05-17 at 05:09 +0200, Catimimi wrote:
I don't know about the folder, that's new to me.
It is there only with 9.3 - Have a look in /dev
No, I have 9.3 but no directory '/dev/cdrom'. My '/dev/cdrom' is a symlink to hdd, as told in '/etc/udev/rules.d/20-cdrom.rules'. It is recreated on every boot. There is, however, a subdirectory in '/dev/cd'. It contains two subdirectories, 'by-id' and 'by-path'. Both contains symlinks to my cdrom and dvd devices: by-id: CR-48X8TE_1J20NH0596 -> ../../hdd HL-DT-ST_DVDRAM_GSA-4160B_K3448VG1350 -> ../../hdc IDE_DVD-ROM_16X -> ../../hdd (replaced) by-path: pci-0000:00:1f.1-ide-1:0 -> ../../hdc pci-0000:00:1f.1-ide-1:1 -> ../../hdd I think yours has the name confused for some strange reason. All symlinks above are dated at boot time today, except IDE_DVD-ROM_16X, which is a dvd reader I plugged in only for two days. It seems udev forgets to remove devices that no longer exists. -- Cheers, Carlos Robinson
On Tuesday 17 May 2005 10:34 am, Carlos E. R. wrote:
The Tuesday 2005-05-17 at 05:09 +0200, Catimimi wrote:
I don't know about the folder, that's new to me.
It is there only with 9.3 - Have a look in /dev
No, I have 9.3 but no directory '/dev/cdrom'. My '/dev/cdrom' is a symlink to hdd, as told in '/etc/udev/rules.d/20-cdrom.rules'. It is recreated on every boot.
There is, however, a subdirectory in '/dev/cd'. It contains two subdirectories, 'by-id' and 'by-path'. Both contains symlinks to my cdrom and dvd devices:
by-id:
CR-48X8TE_1J20NH0596 -> ../../hdd HL-DT-ST_DVDRAM_GSA-4160B_K3448VG1350 -> ../../hdc IDE_DVD-ROM_16X -> ../../hdd (replaced)
by-path:
pci-0000:00:1f.1-ide-1:0 -> ../../hdc pci-0000:00:1f.1-ide-1:1 -> ../../hdd
I think yours has the name confused for some strange reason.
Interesting. I have two machines here... One has only IDE devices and is set up (correctly?) like you show above. The other has a SCSI DVD reader and an IDE DVD writer. I have both a /dev/cd directory and a /dev/cdrom directory. The contents of the cdrom directory are: drw------- 3 bmarsh root 4096 2005-05-10 19:07 . drwxr-xr-x 36 root root 118784 2005-05-17 17:30 .. drwxr-xr-x 2 root root 4096 2005-05-07 12:51 by-path lrwxrwxrwx 1 root root 8 2005-05-10 19:07 sr0 -> /dev/sr0 Doesn't look too right to me. The /dev/cd directory looks ok.
Bruce Marshall a écrit :
On Tuesday 17 May 2005 10:34 am, Carlos E. R. wrote:
The Tuesday 2005-05-17 at 05:09 +0200, Catimimi wrote:
I don't know about the folder, that's new to me.
It is there only with 9.3 - Have a look in /dev
No, I have 9.3 but no directory '/dev/cdrom'. My '/dev/cdrom' is a symlink to hdd, as told in '/etc/udev/rules.d/20-cdrom.rules'. It is recreated on every boot.
There is, however, a subdirectory in '/dev/cd'. It contains two subdirectories, 'by-id' and 'by-path'. Both contains symlinks to my cdrom and dvd devices:
by-id:
CR-48X8TE_1J20NH0596 -> ../../hdd HL-DT-ST_DVDRAM_GSA-4160B_K3448VG1350 -> ../../hdc IDE_DVD-ROM_16X -> ../../hdd (replaced)
by-path:
pci-0000:00:1f.1-ide-1:0 -> ../../hdc pci-0000:00:1f.1-ide-1:1 -> ../../hdd
I think yours has the name confused for some strange reason.
Interesting. I have two machines here... One has only IDE devices and is set up (correctly?) like you show above.
The other has a SCSI DVD reader and an IDE DVD writer.
I have both a /dev/cd directory and a /dev/cdrom directory. The contents of the cdrom directory are:
drw------- 3 bmarsh root 4096 2005-05-10 19:07 . drwxr-xr-x 36 root root 118784 2005-05-17 17:30 .. drwxr-xr-x 2 root root 4096 2005-05-07 12:51 by-path lrwxrwxrwx 1 root root 8 2005-05-10 19:07 sr0 -> /dev/sr0
Doesn't look too right to me.
The /dev/cd directory looks ok.
Hello, Fine, I'm not alone, I've two SCSI boxes and I didn't see the difference. The bug should be in the SCSI modules, but where ? In my /dev/cdrom/by-path folder, I've the same thing more /dev/sr1 and /dev/sr2 ihis last one is conflicting with the folder /dev/cdrom. I made a request for installation support but with no hope. Thanks. Michel.
participants (5)
-
Bruce Marshall
-
Carlos E. R.
-
Catimimi
-
eddieleprince
-
Marek Pawinski