LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   DVD Drive Problem (https://www.linuxquestions.org/questions/slackware-14/dvd-drive-problem-827828/)

Faustphor 08-22-2010 12:56 PM

DVD Drive Problem
 
I have a minor annoyance that I haven't been able to solve.

My DVD drive is not detected unless there is a disk in the drive at boot.

My entry in fstab:
Code:

/dev/sr0      /mnt/cdrom      auto        noauto,owner,ro  0  0
/dev/sr0 (where the drive gets linked to when it is detected) does not get added to /dev

Anyone know what I could do to fix this.

Thanks in advance for any help.

yooy 08-22-2010 01:00 PM

hm.. strange
maybe you should keep one disk inside of it all the time
would it boot from boot cd? what are you trying to achieve?

Faustphor 08-22-2010 01:14 PM

I shouldn't have to keep a disk in the drive just to have it recognized. But I will have to do that unless I find a solution.

The other strange part is. That when the drive is not recognized, I can insert a disk and it sounds as if the drive is reading it but the drive is still not listed /dev/sr0 or in lsscsi.

ronlau9 08-22-2010 02:11 PM

Change the fstab entry like this /dev/cdrom/ /media/cdrom auto ro,noauto,user,exec 00
Hope it will solve you're problem

Faustphor 08-24-2010 12:40 AM

That didn't help. Thanks for trying though.

I have edited udev, recompiled the kernel turning sscsi support on in the kernel rather than as mod, and I'm out of ideas.

I added a line to the udev rules but that was useless because udev doesn't execute the rules unless the drive was already detected.

Faustphor 08-24-2010 01:27 AM

Ok. I have determined that the DVD drive is being seen regardless of it being loaded or not.

Code:

dmesg | grep PIONEER
Output:
Code:

ata2.00: ATAPI: PIONEER DVD-RW  DVRTD08, 1.10, max UDMA/33
But is not added to the device table or linked to sr0

T3slider 08-24-2010 02:49 PM

Does removing /etc/udev/rules.d/70-persistent-cd.rules (followed by a reboot) help at all? That file should be automatically regenerated upon a reboot...if it still doesn't work then something is probably happening before udev gets a hold of it...

Faustphor 09-08-2010 04:58 AM

Sorry for not updating sooner. I have come to the conclusion that it is a hardware problem. Ubuntu 10.04, openSUSE, Arch, and Gentoo all experience the same problem as Slackware. So I will deal with having to keep a disc in the drive.


All times are GMT -5. The time now is 11:12 PM.