LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   can't open cdrom! (https://www.linuxquestions.org/questions/linux-software-2/cant-open-cdrom-301877/)

aspartat 03-15-2005 11:18 AM

can't open cdrom!
 
Hallo,
i have installed slackware-10.1 with linux-2.6.11, as far as good! The problem is that if I am in kde (3.3.2), mount a cd and later umount it, I can't open the cdrom!
Also a eject -r does not work.
After giving a eject -r dmesg shows this:

program eject is using a deprecated SCSI ioctl, please convert it to SG_IO

After logging out from KDE, pushing the cdrom-button works like it should and the cdrom opens.
This is realy crazy, so If you have a good hint for me...
Why this does not work in KDE?

regards Thorsten

Matir 03-15-2005 11:32 AM

It almost sounds like something is still holding the lock on the door. Are you certain the umount succeeded?

aspartat 03-15-2005 11:33 AM

yes, a mount shows that the cdrom isn't mounted.

Matir 03-15-2005 12:08 PM

If you have the lsof utility, try "lsof | grep /dev/DEVICE" to see if anything else is working with it.

aspartat 03-16-2005 05:57 AM

You're right,
I found this with lsof

kio_audiocd 4546 corban 12r BLK 22,0 3787 /dev/hdc

if I made a killall -9 kio_audiocd I can open the drive.

But this nerves a little bit, why this process hangs on an unmounted device??

Is there a workaround for this?


thanks in advance Thorsten

Matir 03-16-2005 11:44 AM

Quote:

There's a bug in KDE-3.3.2, where a process "kio_audiocd" locks a drive for a few minutes, also if a Data-CD is mounted, so it's not possible to eject it. In that script this process will be killed after 10 seconds. I hope this bug will be removed in the next version of KDE.
from http://www.fehu.org/linux/cdde.html.

aspartat 03-16-2005 12:10 PM

thank you very much!

Matir 03-16-2005 12:23 PM

Not sure how helpful it is. But at least you know someone else has seen this. Their solution seems to be much like yours. KILL.


All times are GMT -5. The time now is 09:41 PM.