Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: CDROM Tray is Lock - Can't open when empty

  1. #1
    Join Date
    May 2008
    Beans
    22
    Distro
    Ubuntu 11.04 Natty Narwhal

    CDROM Tray is Lock - Can't open when empty

    Hi guys,

    I've looked in the forum but haven't find the answer to this specific question so here it goes.

    Once I've used the CD once to let say, watch a DVD or burn something and I unmount/eject it (by right clicking on the CD on the desktop) and close the tray it won't reopen. I tried to push the CD eject button, nothing.. Right-click & Eject in Nautilus get the message : Enable to mount media. There is probably no media in the drive.

    Even these shell command don't work :

    Code:
    $ sudo eject cdrom 
    $ sudo eject -t cdrom 
    $ sudo eject /dev/cdrom 
    $ sudo eject -t /dev/cdrom 
    $ sudo eject cdrom0 
    $ sudo eject -t cdrom0 
    $ sudo eject /media/cdrom 
    $ sudo eject /media/cdrom0
    $ umount cdrom
    umount: cdrom is not mounted (according to mtab)
    $ umount /dev/cdrom
    umount: /dev/cdrom is not mounted (according to mtab)
    Well, you get the picture.
    To open the drive, I have to put something (a staple) in the little hole to physically unlock the drive. Then I can put a CD and open/close the drive with the eject command. I can do wathever I want (watch a DVD, burn something, etc) and use the eject/unmount command. But I after that I wan't to put a new media I have to put the staple back in the hole. A reboot will also fix the problem, but I don't like this Windows like fix.
    As you can imagine this is VERY annoying.

    I'm using Hardy, the drive works find in Windows so I know it's the the drive itself.

    Any ideas?

    Thanks a lot.
    Last edited by Scoubidou; December 28th, 2008 at 02:28 PM. Reason: Add info

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: CDROM Tray is Lock - Can't open when empty

    Quote Originally Posted by Scoubidou View Post
    .........
    To open the drive, I have to put something (a staple) in the little hole to physically unlock the drive. Then I can put a CD and open/close the drive with the eject command. I can do wathever I want (watch a DVD, burn something, etc) and use the eject/unmount command. But I after that I wan't to put a new media I have to put the staple back in the hole. A reboot will also fix the problem, but I don't like this Windows like fix.
    As you can imagine this is VERY annoying.

    I'm using Hardy, the drive works find in Windows so I know it's the the drive itself.

    Any ideas?

    Thanks a lot.
    Is the drive set to be a Slave without a Master device on the IDE cable?
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Jan 2008
    Beans
    4,757

    Re: CDROM Tray is Lock - Can't open when empty

    Does your CD drive open when you press the mechanical eject?

    What type of CD-Rom drive are you using?

    Regards
    Iain

  4. #4
    Join Date
    May 2008
    Beans
    22
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: CDROM Tray is Lock - Can't open when empty

    tinivole : No, as stated in my first post, the Eject (mechanical) button doesn't work in Ubuntu but does in Windows.
    The button will also work after a fresh reboot. (Now uptime 11days)
    As for the brand, I believe it's a "standard oem" dvd-rom no real brand..

    dcstar : I haven't checked that but I really doubt it is set to slave. I'll have a look later.. I guess if it is, I have to set it to master, right? It's the only IDE drive as my HDs are SATA.

    What's next?

  5. #5
    Join Date
    Oct 2008
    Location
    Brisbane, Australia
    Beans
    139
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: CDROM Tray is Lock - Can't open when empty

    Check it shows in /dev if it does, then you can manually add it to /etc/fstab

    It should look something like:
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    Ubuntu Forums Beginners Team
    Compiz Problems? Click here
    You can do anything you set your mind to when you have vision, determination, and and endless supply of expendable labor.

  6. #6
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: CDROM Tray is Lock - Can't open when empty

    There should be a small hole in the faceplate of the CD-rom drive, unfold a paperclip and insert it in the hole and push until the drive pops open. Put a cd in the drive and wait for it to be recognized, use either the eject command or the button on the drive to eject the disk.

    I had the same thing happen to me, and that is the way I got the drive to work again.

    Jim

  7. #7
    Join Date
    May 2008
    Beans
    22
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: CDROM Tray is Lock - Can't open when empty

    Cariboo : As I said in my first post, it works with a staple/paper clip/toothpick but I have to do that EVERY time there's NO CD/DVD inside. I don't think that's normal.

    Vantrax : I already have that line in /etc/fstab

    Is there a command to reactivate the mechanical Eject button?

  8. #8
    Join Date
    Oct 2007
    Beans
    8

    Re: CDROM Tray is Lock - Can't open when empty

    This is a frustrating problem. I think it only happens with certain hardware. My system is an hp laptop. I believe the culprit is brasero...
    it seems to unmount the drive after ejecting the disk and when the drive isn't mounted it can't be opened. The solution is to just open a shell and
    mount the drive.

    mount /dev/cdrom

    should do the trick then

    eject -v

    Also if you notice it is happening with brasero give gnomebaker a try instead.

  9. #9
    Join Date
    Sep 2006
    Location
    Pune
    Beans
    319
    Distro
    Ubuntu Development Release

    Re: CDROM Tray is Lock - Can't open when empty

    try these commands:
    Code:
    eject -rv
    eject -sv
    Can you also post the output of these commands.
    Anubhav Rakshit

  10. #10
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: CDROM Tray is Lock - Can't open when empty

    thank you 0mcg0,

    your two commands did the trick!
    Even though the first one gave me "mount: No medium found", then I executed the 2nd one and it worked (while it hadn't worked before).

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •