LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   optical drives don't show up unless boot with media - then they disappear (https://www.linuxquestions.org/questions/debian-26/optical-drives-dont-show-up-unless-boot-with-media-then-they-disappear-824925/)

donnied 08-08-2010 10:20 AM

optical drives don't show up unless boot with media - then they disappear
 
I have two optical drives (not SATA) that previously showed up as /dev/hda and /dev/hdb. No longer. I see no mention of them in fstab and catting all the /dev/dvd /dev/cd... /dev/sr.. turns up nothing.
If I place a disk with info in the drive nothing appears anywhere I can see (not in dmesg).

K3b tells me no devices found.
wodim tells me Detected CD-R drive: /dev/sr1
wodim: Cannot do inquiry for CD/DVD-Recorder.
Errno: 5 (Input/output error), test unit ready scsi sendcmd: fatal error
CDB: 00 00 00 00 00 00
cmd finished after 0.000s timeout 40s

(These are not SATA drives.)

I noticed rebooting will show drives if there is media in there. However, that disappears after a while as well.
Then inserting and reinserting cdroms gives no messages in dmesg.

donnied 08-19-2010 05:53 PM

By disabling hal, the CDs seem to not disappear.
Code:

hal-disable-polling --device /dev/sr1
This seems more of a workaround than a solution though.



I had seen add noapic to the boot line in grub. That didn't help.

donnied 09-06-2010 05:59 PM

I recompiled with a newer kernel (2.6.35.4) and a clean .cfg from another install and things work fine now.


All times are GMT -5. The time now is 06:15 PM.