1753468 Members
4567 Online
108794 Solutions
New Discussion юеВ

dvd/cd to work on rhel 5

 
Peter Young
Occasional Advisor

dvd/cd to work on rhel 5

The dvd device on xw8400 workstation running Redhat Enterprise Linux version 5 does not work.

The links in /dev are borken.

Any idea how to fix it ?

/dev/dvd
/dve/sr0
/dev/scd0
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: dvd/cd to work on rhel 5

What is the ouput of:

dmesg | egrep "CD|DVD"

What do you mean by "broken"? The files are missing? ├В┬┐They are all sym links to a non existeng file?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: dvd/cd to work on rhel 5

Shalom,

Check the physical connections. Make sure the device has power and no conflict with other ide devices.

rm or rmsf the devices and restart the system.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Peter Young
Occasional Advisor

Re: dvd/cd to work on rhel 5


dmesg says the hardware is sr0 but there are no links to this in /dev
everything points to scd0

I have just tested it again and it works OK and no links are broken.

Can someone explin how it works when the phsical device seems to to be sr0 ?


I was comparing it to a sun x4150 where I have installed rehel5 and automount fails and there is a broken link /dev/dvd -> /dev/sr0


[wpyung@camel /]$ dmesg | egrep "CD|DVD"
Vendor: HL-DT-ST Model: DVD-RAM GSA-H60L Rev: R90A
Type: CD-ROM ANSI SCSI revision: 05
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0


[wpyung@camel /]$ cd /dev
[wpyung@camel dev]$ ls -l cd*
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdrom -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdrom-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdrw -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdwriter -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 cdwriter-sr0 -> scd0
[wpyung@camel dev]$ ls -l dvd*
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvd -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvdrw -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvd-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvdwriter -> scd0
lrwxrwxrwx 1 root root 4 Apr 28 12:46 dvdwriter-sr0 -> scd0
[wpyung@camel dev]$ ls -l scd*
brw-rw---- 1 root disk 11, 0 Apr 28 12:46 scd0
[wpyung@camel dev]$ ls -l sr*
ls: sr*: No such file or directory
[wpyung@camel dev]$ ls -l media*
ls: media*: No such file or directory

[wpyung@camel scsi]$ more scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST3500630AS Rev: 3.CH
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: ATA Model: ST3500630AS Rev: 3.CH
Type: Direct-Access ANSI SCSI revision: 05
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: HL-DT-ST Model: DVD-RAM GSA-H60L Rev: R90A
Type: CD-ROM ANSI SCSI revision: 05
Steven E. Protter
Exalted Contributor

Re: dvd/cd to work on rhel 5

Shalom,

Hardware appears to be there.

Perhaps try a test write with cdrecord ?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: dvd/cd to work on rhel 5

Try mounting the scd0 device and if it works, recreate the symbolic links.

mount -o ro /dev/scd0 /media

I saw in another forum that the /dev/scd0 device special file do works even when dmesg report sr0.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?