LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 10: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, 10:32 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
It almost sounds like something is still holding the lock on the door. Are you certain the umount succeeded?
 
Old 03-15-2005, 10: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, 11:08 AM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you have the lsof utility, try "lsof | grep /dev/DEVICE" to see if anything else is working with it.
 
Old 03-16-2005, 04: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, 10:44 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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, 11:10 AM   #7
aspartat
LQ Newbie
 
Registered: Dec 2004
Posts: 29

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

Rep: Reputation: 128Reputation: 128
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



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 08:04 AM
open close cdrom maxut Linux - Software 1 03-02-2004 02:20 AM
How can i open a cdrom in command? wood Linux - General 2 09-03-2003 10:09 PM
Can't open CDROM drive HuggyBear Linux - Newbie 15 07-05-2003 08:56 AM
cdrom doesn't open?????? i_is_cat Linux - Software 4 06-14-2003 06:47 AM

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

All times are GMT -5. The time now is 03:53 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
Open Source Consulting | Domain Registration