LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-01-2003, 08:31 PM   #1
Tarrasque
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 21

Rep: Reputation: 0
Question How to unock the cd drive???


Hello everybody.
I have a problem.
Sometimes when I use my DVD reader, the tray stays "locked" (the open button is disabled) even after I close all file browser windows and applications and unmount the device.
I have no idea how to solve this
tThe only thing that works is log out from my seession, but obviously is not something I can do every time I want to change cD
Can anybody help?
Thanks!
 
Old 07-01-2003, 08:52 PM   #2
slackerboy
Member
 
Registered: Jul 2002
Location: USA
Distribution: Slackware, OpenSuse, Debian, Linux Mint, Ubuntu, Red Hat EL
Posts: 70

Rep: Reputation: 15
I assume you have the correct driver installed? I am not familiar
with Mandrake but the device locking up sounds like a software
conflict somewhere...

Cheers
 
Old 07-02-2003, 11:17 AM   #3
puzz_1
Member
 
Registered: May 2003
Posts: 49

Rep: Reputation: 15
Happened to me in WinXP dunno what it is, but in my case it happened when the drive couldn't read the CD> I had to reboot and then flip it out of there.
 
Old 07-02-2003, 05:50 PM   #4
Locura
Member
 
Registered: May 2003
Distribution: Ubuntu 6.10 SE, Mac OS 10.4.8
Posts: 370

Rep: Reputation: 30
man eject
 
Old 07-02-2003, 09:33 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
Try disabling supermount.

See man pages supermount for details

What kind of disks does this the happen with?
 
Old 07-04-2003, 06:47 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Have you tried eject -r cdrom from command line? Works in RedHat.
 
Old 07-08-2003, 10:53 AM   #7
Tarrasque
LQ Newbie
 
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 21

Original Poster
Rep: Reputation: 0
Actually I noticed it happens after I use the KDE cd player.
Whenever i finish listening to the cd.
I'll try investigating this a bit more and disabling automount.
 
Old 07-09-2003, 11:28 AM   #8
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
Quote:
Originally posted by Chinaman
Have you tried eject -r cdrom from command line? Works in RedHat.
Works great in Mandrake 9.1 too
 
Old 09-16-2003, 07:03 AM   #9
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Maybe there is an process using the cd drive? (and is closed when your session terminates?)

try fuser -v <mount point> to see what processes are using the mount point.
 
Old 09-19-2003, 03:33 PM   #10
the_anti_pat
LQ Newbie
 
Registered: Jul 2003
Distribution: RedHat 8.0 (Debian soon)
Posts: 21

Rep: Reputation: 15
:S

I've read this threat and picked up a few usefull commands but nothing that solves my specific problem. When I type "eject /mnt/cdrom" my main drive is ejected however when i type "eject /dev/cdom" my secondary drive is ejected!! I'm using Mandrake 9.1. If I just put a data (mp3) disc in it auto-mounts however if i put an audio cd in I get an error saying it's locked.
 
Old 09-20-2003, 11:02 AM   #11
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Re: :S

Quote:
Originally posted by the_anti_pat
When I type "eject /mnt/cdrom" my main drive is ejected however when i type "eject /dev/cdom" my secondary drive is ejected!![/B]
ooh I see. You might want to change /etc/fstab, and your links to device nodes. (the /dev/ folder) I have 2 cd-rom drives aswell, so I'll show you what my configuration works. I hope you find something usefull for you here

* This is a part of my /etc/fstab
Code:
# cd-drives
/dev/cdrom     /mnt/cdrom          auto     ro,noauto,user,exec,owner                      0  0
/dev/cdwriter  /mnt/cdwriter       auto     no,noauto,user,exec,owner                      0  0
* my /dev/cdrom is a link to /dev/hdd
In other words, the secondary drive on secondary ide.
* you might expect my /dev/cdwriter to be a link to /dev/hdc, but instead, it points to /dev/scd0. My IDE cd-writer is also accessable through scsi emulation. (hdc=ide-scsi at the lilo prompt) It's required to use an IDE cd-writer.
 
  


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
Laptop DVD drive has died, will linux boot from an external drive? Stevetgn Linux - Newbie 2 05-14-2005 05:18 PM
Installing SuSE on an external FireWire drive: YaST can't edit partitions on drive kivimaki Linux - Distributions 2 09-13-2004 08:52 PM
boot from floppy drive then insall linux redhat9 from HARD DRIVE Shiraz Ahmed Linux - Software 0 08-23-2004 05:11 AM
slackware 9.1 mounting problems (cd drive, cd writer drive, win partition (ntfs)) mr.gizm0 Slackware 8 05-11-2004 06:23 PM
Cannot Copy Files From Network FAT32/NTFS Drive to My Local Linux Drive michaelh Linux - Networking 3 10-29-2002 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 02:20 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