LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2005, 11:18 AM   #1
aspartat
LQ Newbie
 
Registered: Dec 2004
Posts: 29

Rep: Reputation: 15
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
 
Old 03-15-2005, 11:32 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
It almost sounds like something is still holding the lock on the door. Are you certain the umount succeeded?
 
Old 03-15-2005, 11:33 AM   #3
aspartat
LQ Newbie
 
Registered: Dec 2004
Posts: 29

Original Poster
Rep: Reputation: 15
yes, a mount shows that the cdrom isn't mounted.
 
Old 03-15-2005, 12:08 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
If you have the lsof utility, try "lsof | grep /dev/DEVICE" to see if anything else is working with it.
 
Old 03-16-2005, 05:57 AM   #5
aspartat
LQ Newbie
 
Registered: Dec 2004
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 03-16-2005, 11:44 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
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.
 
Old 03-16-2005, 12:10 PM   #7
aspartat
LQ Newbie
 
Registered: Dec 2004
Posts: 29

Original Poster
Rep: Reputation: 15
thank you very much!
 
Old 03-16-2005, 12:23 PM   #8
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 126Reputation: 126
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cdrom will not open... jsheffie Solaris / OpenSolaris 7 11-21-2005 09:04 AM
open close cdrom maxut Linux - Software 1 03-02-2004 03:20 AM
How can i open a cdrom in command? wood Linux - General 2 09-03-2003 11:09 PM
Can't open CDROM drive HuggyBear Linux - Newbie 15 07-05-2003 09:56 AM
cdrom doesn't open?????? i_is_cat Linux - Software 4 06-14-2003 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration